问题描述
我正在Eclipse-android中构建一个c项目,并收到以下错误:
I'm building a c project in Eclipse-android and get the following error:
这是ndk构建错误(与我的代码无关)
This is a ndk build error (independent to my code)
/Users/eladb/MyWorkspace/android-ndk-r8e/build/gmsl/__gmsl:512: *** non-numeric second argument to 'wordlist' function: ''. Stop.
尝试
android-ndk-r8b
android-ndk-r8e
我该如何解决?
推荐答案
由于r8d NDK
无法从AndroidManifest.xml
正确拾取android:minSdkVersion
属性,因此这是一个已知问题.
This is a known problem due to the r8d NDK
not picking up properly the android:minSdkVersion
property from the AndroidManifest.xml
.
要解决该问题,请将文件/android-ndk-r8d/build/gmsl/__ gmsl的第512行更改为:
To work around that issue change the line 512 of the file /android-ndk-r8d/build/gmsl/__gmsl to:
int_encode = $(__gmsl_tr1)$(wordlist 1,$(words $1),$(__gmsl_input_int))
这篇关于'wordlist'的非数字第二个参数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!