目录
1、Failed to read PNG signature: file does not start with PNG signature
2、Lint found fatal errors while assembling a release target.
3、No key with alias xxx found in keystore xxx
1、Failed to read PNG signature: file does not start with PNG signature
① 解决方法一:
在app/build.gradle文件中加以下代码,以关闭Android Studio的PNG合法性检查。
aaptOptions.cruncherEnabled = false
aaptOptions.useNewCruncher = false
② 解决方法二:
只需要将图片复制出来,然后右键使用画图编辑,保存为PNG格适即可。
③ 解决方法三:
该图片的后缀为.png,重命名该图片的后缀为.jpg。