ndk 编译出错:__gmsl:512: *** non-numeric second arg…
来源:互联网 发布:stringbuffer数组 编辑:程序博客网 时间:2024/05/16 05:31
ndk 编译出错:__gmsl:512: *** non-numeric second arg…
编译jni
从windows环境下降工程文件拷贝到Ubuntu
ndk-build 的时候报错了、
Invalid attribute name:
package
/home/ss/android-ndk-r8c/build/gmsl/__gmsl:512: *** non-numeric second argument to `wordlist’ function: ”. Stop.
网上搜索导致的原因是,AndroidManifest.xml 格式导致的,要安装dos2unix 可是我的ubuntu是10.04,已经不支持该命令了,原因是被tofrodos取代了,所以
sudo apt-get install tofrodos
dpkg -L tofrodos
可以看到如下信息
/.
/usr
/usr/bin
/usr/bin/fromdos
/usr/share
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/fromdos.1.gz
/usr/share/doc
/usr/share/doc/tofrodos
/usr/share/doc/tofrodos/NEWS.Debian.gz
/usr/share/doc/tofrodos/tofrodos.html
/usr/share/doc/tofrodos/copyright
/usr/share/doc/tofrodos/changelog.Debian.gz
/usr/share/doc/tofrodos/readme.txt.gz
/usr/bin/todos
/usr/share/man/man1/todos.1.gz
进入包含AndroidManifest.xml的文件夹
fromdos -d AndroidManifest.xml ——>命令参数可以-help查看
再次ndk-build 看看是不是将问题解决了!
声明:OSCHINA 博客文章版权属于作者,受法律保护。未经作者同意不得转载。
- ndk 编译出错:__gmsl:512: *** non-numeric second arg…
- 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
- 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问题
- __gmsl:512: *** non-numeric second argument to `wordlist' function: ''
- Ubuntu下ndk-build编译C++出错:non-numeric second argument to `wordlist' function: '
- Ubuntu下ndk-build编译C++出错:non-numeric second argument to `wordlist' function: '
- Ubuntu下ndk-build编译C++出错:non-numeric second argument to `wordlist' function: '
- build/gmsl/__gmsl:512: *** non-numeric second argument to `wordlist' function: ''. Stop.
- NDK编译时出现错误"non-numeric second argument to 'wordlist' function"
- NDK问题:non-numeric second argument to `wordlist' function:
- jni编译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
- Ubuntu下ndk-build编译/build/gmsl/__gmsl文件的第512 error
- Android ExecutorService
- Leetcode平台上的Median of Two Sorted Arrays题目用Java堆算法实现
- Golden words of English
- iOS运行时与method swizzling
- Java Socket实战之二 多线程通信
- ndk 编译出错:__gmsl:512: *** non-numeric second arg…
- 2014年河南省程序设计竞赛总结
- 数据库sql练习题目
- css清除浮动大全
- 睿速QQ营销——网上销售领航者!!
- DB 13, 10, '$' ,int 21h详解
- 七种常用算法的c++ 实现
- Luncene查询
- PHP5.4中删除的安全函数