解决android打包时候出现的 error: failed to read PNG signature: file does not start with PNG signature

解决android打包时候出现的 error: failed to read PNG signature: file does not start with PNG signature

  • 关于
    • 解决办法

关于

E:\PersonalSVN\Blog\app\src\main\res\drawable-xxhdpi\splash_image.png: AAPT: error: failed to read PNG signature: file does not start with PNG signature.
这个是打包时候出现的错误,我认为大概意思是图片类型是png的但是签名时候类型判断不出来。

解决办法

只需要将图片复制出来,然后右键使用画图编辑,保存为PNG格适即可。
解决android打包时候出现的 error: failed to read PNG signature: file does not start with PNG signature_第1张图片
ok,重新打包,问题解决。

你可能感兴趣的:(常见问题专区)