Android BUILD Error: Your uploaded image is not a valid .png file

I am getting this error when trying to build on the Android app: Your uploaded image is not a valid .png file. Upload your image as a .png and try again

In the Error Log, it fails here:

/Users/ec2-user/app-builder/STAGING/client/packages/app-standalone/platformBuilds/app_366941_android/app/src/main/res/mipmap-mdpi/ic_launcher.png: error: failed to read PNG signature: file does not start with PNG signature.

I initially thought it was the images used in my app, which contain transparencies, but I removed those, and that’s still not the issue.

How do I determine which image it is, because I am not using any called ic-launcher.png

UPDATE: Still no luck. I combed through to see what it may be. I have read every thread on this forum.

I truly have no clue what image is causing this because I have nothing called ic-launcher.png as far as I know.


Are the images in your Android build configurations valid? Valid as in all required images exist, they’re the correct dimensions, and .png files?

I had downloaded them from an Android file generator site. I think there were problems with the .pngs, because I regenerated them all in Photoshop, and that seemed to do the trick.

1 Like