Splash/Icon Trouble

I’m able to build the apk and the app works just fine BUT when I try to change the splash screen and app icon the app wont build with the following error:

error: failed to read PNG signature: file does not start with PNG signature.
https://expo.io/builds/3c6f9f30-8abd-403d-a772-4fcb11441aec

It works fine with expo’s default images but if I as much as add a stroke to the default images this error happens. I’ve searched google for this signature thing but I couldn’t find anything.

my app.json:
{
“name”: “hidden”,
“displayName”: "hidden ",
“expo”: {
“name”: “hidden”,
“slug”: “hidden”,
“privacy”: “public”,
“sdkVersion”: “32.0.0”,
“platforms”: [
“ios”,
“android”
],
“version”: “1.0.0”,
“orientation”: “portrait”,
“icon”: “./assets/icon.png”,
“splash”: {
“image”: “./assets/splash.png”,
“resizeMode”: “cover”,
“backgroundColor”: “#ffffff
},
“updates”: {
“fallbackToCacheTimeout”: 0
},
“assetBundlePatterns”: [
“assets/*”
],
“ios”: {
“supportsTablet”: true
},
“android”: {
“package”: “hidden”
}
}
}

All other posts related to this issue didn’t help me. Is this fixable somehow?

edit: I was able to make it work by using urls to the images instead of the local ones, yet the default expo splash screen still appears for a second before giving way to my splash screen. Any way to change this?

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.