__gmsl:512: *** non-numeric second argument to `wordlist' function: ''
来源:互联网 发布:java教程网 编辑:程序博客网 时间:2024/05/22 13:38
~/Cocos2dxSimpleGame/Cocos2dxSimpleGame/android/build_native.sh
make: Entering directory `/home/yc/Cocos2dxSimpleGame/Cocos2dxSimpleGame/android'
/home/yc/android-ndk-r8d/build/gmsl/__gmsl:512: *** non-numeric second argument to `wordlist' function: ''. Stop.
错误原因是因为AndroidManifest.xml文件中没有定义minSdkVersion,添加:
<uses-sdk android:minSdkVersion="8"
android:targetSdkVersion="16"
android:maxSdkVersion="16" />
make: Entering directory `/home/yc/Cocos2dxSimpleGame/Cocos2dxSimpleGame/android'
/home/yc/android-ndk-r8d/build/gmsl/__gmsl:512: *** non-numeric second argument to `wordlist' function: ''. Stop.
错误原因是因为AndroidManifest.xml文件中没有定义minSdkVersion,添加:
<uses-sdk android:minSdkVersion="8"
android:targetSdkVersion="16"
android:maxSdkVersion="16" />
解决问题
再次遇到这个问题,这次定义minSdkVersion也无法解决,搜索下,找到如下方法:
这个问题可能是Windows和Linux之间的文本文件的字符编码的问题导致的,执行以下命令:
dos2unix AndroidManifest.xml
这样就解决了。
参考:http://www.cnblogs.com/frydsh/archive/2013/05/11/3073349.html
- __gmsl:512: *** non-numeric second argument to `wordlist' function: ''
- android-ndk-r8e/build/gmsl/__gmsl:512: *** non-numeric second argument to `wordlist' function: ''.
- android-ndk-r8e/build/gmsl/__gmsl:512: *** non-numeric second argument to `wordlist' function: ''.
- /android-ndk/build/gmsl/__gmsl:512: *** non-numeric second argument to `wordlist' function: ''. Stop
- build/gmsl/__gmsl:512: *** non-numeric second argument to `wordlist' function: ''. Stop.
- android-ndk-r8d/build/gmsl/__gmsl:512: *** non-numeric second argument to `wordlist' function: ''.
- android-ndk-r8e/build/gmsl/__gmsl:512: *** non-numeric second argument to `wordlist' function问题
- non-numeric second argument to `wordlist' function: '
- non-numeric second argument to `wordlist' function
- non-numeric second argument to `wordlist' function
- *** non-numeric second argument to `wordlist' function: ''. Stop.
- *** non-numeric second argument to `wordlist' function: ''. Stop错误解决办法
- jni工程出现 non-numeric second argument to `wordlist' function
- jni编译non-numeric second argument to `wordlist' function错误
- NDK问题:non-numeric second argument to `wordlist' function:
- *** non-numeric second argument to `wordlist' function: ''. Stop错误解决办法
- Ubuntu下ndk-build编译C++出错:non-numeric second argument to `wordlist' function: '
- Ubuntu下ndk-build编译C++出错:non-numeric second argument to `wordlist' function: '
- 5 reasons why I won't steal your idea
- centos6.2下配置nfs
- 写个python 脚本实现文件的递归拷贝
- Milking Cows
- 【Git配置技巧】01. 配置文件git config介绍
- __gmsl:512: *** non-numeric second argument to `wordlist' function: ''
- SecureCRT7.0的安装与注册
- openvpn安装配置
- Android开发性能优化简介
- 关于数据挖掘推荐系统实现
- jsp response对象
- error: 'glGenFramebuffersOES' was not declared in this scope
- 关注firefox os
- 结构型模式:Bridge(桥接)