android打包遇到中文alias怎么办
16lz
2021-01-26
android用build.xml打包时,公司给的keystore,alias竟然是中文。配置ant.properties时,机器死活识别不了。
用iconv将ant.properties文件转换成gbk编码
iconv -f utf-8 -t gbk ant.properties
failed。
原来ant的properties文件只能识别ascii编码的文件,只能将utf-8转换成ascii的方式,而android提供了这个工具native2ascii
native2ascii ant.properties
即可
更多相关文章
- 【android studio】超实用技巧
- 基于ubuntu16.04多用户编译android N(android 7.1)系统提示ninja
- Android问题之res/raw和assets文件大小限制
- Android的init过程:初始化语言(init.rc)解析
- Android(安卓)Studio打包签名全过程
- UBI文件系统
- Android(安卓)NFS 文件系统
- 使用drawable资源
- android读取原始的xml文件