ionic3 build error: failed to read PNG signature: file does not start with PNG signature
在ionic3安卓开发中遇到了无法打包生成apk文件的问题。
报错如下 error: failed to read PNG signature: file does not start with PNG signature
经排查发现是权限问题:
macos:
进入platforms文件夹执行:sudo chmod -R 777 android
window:
icacls "C:\path\to\your\file\platforms\android" /grant everyone:F
本文来自博客园,作者:吴知木,转载请注明原文链接:https://www.cnblogs.com/zh1q1/p/18247756