Android Studio Error: org.gradle.process.internal.ExecException

后端 未结 3 472
一整个雨季
一整个雨季 2020-12-17 22:23

I am new to android development and have hit my first error and can\'t seem to get around it. I have downloaded and installed android studio and java on my mac and a made a

3条回答
  •  伪装坚强ぢ
    2020-12-17 23:06

    Well I figured out the problem..

    Once I changed the .png back to a its original .jpeg extension my app ran fine. I guess AS is picky when changing the extension to the image files. Odd though when I changed it to .png and then viewed its info, it said it was indeed a portable network graphic so that is why I was confused. If someone could shed some light on what is going on here that would be great. I think the image file was a .jpeg all along that is why it was giving me "Not a PNG".

    Cheers

提交回复
热议问题