错误提示如下:
AAPT out(1684124565) : No Delegate set : lost message:Done
...
AAPT err(1684124565): libpng error: Not a PNG file
...
AAPT err(1278358581): D:\AndroidWork\AndroidStudio***\app\src\main\res\drawable-hdpi\background.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
Error:Execution failed for task ':app:mergeDebugResources'.
Crunching Cruncher start.png failed, see logs
StackOverflow上说是文件路径太长,移动了也没有成功
StackOverflow类似问题
有什么好的解决办法吗?
Check if there is anything wrong with this picture first
'appsrcmainresdrawable-hdpibackground.png'
But I remember this error should be warning level...it will not cause build failed
If that doesn’t work, try upgrading the build tools to the latest version
A major pitfall of Android is the conflict of referenced packages.
I also encountered similar problems