Invalid attribute name: package non-numeric second argument to `wordlist' function: ''. Stop.

来源:互联网 发布:阚清子欣荣格格和知画 编辑:程序博客网 时间:2024/05/22 14:41

在ubuntu上ndk编译时遇到以下错误:

Invalid attribute name: package non-numeric second argument to `wordlist' function: ''.  Stop.

原因:项目是从Windows 制过来的, 所以

The AndroidManifest.xml file had Windows carriage control (\r\n) which was messing up the ndk-gdb script.

解决:用vim打开AndroidManifest.xml,在命令模式下输入"set filetype=unix",保存退出即可

原创粉丝点击