您的位置:首页 > 移动开发 > Android开发

Android-ndk-r8e wordlist 第二个参数不是数值参数

2013-04-25 12:44 489 查看
近期在google官网上下载了最新的NDK-R8,发现在执行ndk-build时候,发现以下错误:
NDK/build/gmsl/__gmsl:512: non-numeric second argument to ‘wordlist’ function
如果中文系统的话,就是以下提示:
NDK/build/gmsl/__gmsl:512: *** “wordlist”函数的第二个参数不是数值参数: ”。 停止。

找到__gmsl文件,用记事本打开,搜索“int_encode = $(__gmsl_tr1)$(wordlist 1, $1,$(__gmsl_input_int))”

I changed the file __gmsl, the second wordlist argument(line 512),
and it's running my jni example without errors:

int_encode = $(__gmsl_tr1)$(wordlist 1, $1,$(__gmsl_input_int))

to:

int_encode = $(__gmsl_tr1)$(wordlist 1,$(words $1),$
(__gmsl_input_int))
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐