'wordlist'的非数字第二个参数 [英] non-numeric second argument to 'wordlist'

查看:129
本文介绍了'wordlist'的非数字第二个参数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在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'的非数字第二个参数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆