Elad Benda Elad Benda - 3 months ago 15
Android Question

non-numeric second argument to 'wordlist'

I'm building a c project in Eclipse-android and get the following error:

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.




how can I fix this?


This is a known problem due to the r8d NDK not picking up properly the android:minSdkVersion property from the AndroidManifest.xml.

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))