在签名打包时报错AAPT2 process unexpectedly exit. 之前打包没问题 以为是新更换的资源文件重复(同名不同后缀名的情况) 检查了没有
然后在build文件中添加
buildTypes { release { aaptOptions.cruncherEnabled = false aaptOptions.useNewCruncher = false } }
错误解决
在签名打包时报错AAPT2 process unexpectedly exit. 之前打包没问题 以为是新更换的资源文件重复(同名不同后缀名的情况) 检查了没有
然后在build文件中添加
buildTypes { release { aaptOptions.cruncherEnabled = false aaptOptions.useNewCruncher = false } }
错误解决
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。