Android studio :Generate Signed APK: Errors while building APK. You can find the errors in the ‘Messages’ view.

打开项目文件夹,选择app->build.gradle

右键单击用记事本打开,在android里面添加两行代码
aaptOptions.cruncherEnabled = false;
aaptOptions.useNewCruncher = false
重新生成apk


版权声明:本文为Qiansiying原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。