Failed to publish package: API Response Error: Key for file doesn't match MD5 hash


#1

Hi,

I have created an expo project and added image file (.png) in assets/icons folder, which I use as loading icon, app icon and in a few other places in the app.

While publishing the app, expo gives me an error

Failed to publish package: API Response Error: Key for file ‘/path/image_file_name.png’ doesn’t match MD5 hash.

P.S. I have copied this image file from another project, and have not renamed or edited it.

As I am new to Expo, I do not understand where I went wrong!
Any help at the earliest will be appreciated.

Thanks,
Chitra


#2

Hi-

I’m not sure why this is happening. Can you try publishing again and seeing if you get the same error? I just want to tell if its intermittent or not.

Also, if you have your project on github, could you share it? It might help if I could see all the code for the project.

Charlie