Android Studio3.3打包报错AAPT2 process unexpectedly exit. Error output:

时间:2020-05-12 17:20:18   收藏:0   阅读:211

在签名打包时报错AAPT2 process unexpectedly exit.  之前打包没问题 以为是新更换的资源文件重复(同名不同后缀名的情况) 检查了没有

 然后在build文件中添加

buildTypes {
  release {
    aaptOptions.cruncherEnabled = false
    aaptOptions.useNewCruncher = false
  }
}

错误解决

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!