java.lang.RuntimeException: Unable to start activity ComponentInfo

1

I do not understand why these errors came out I saw in google that it was because I had a code above setContentView() but I removed all the code from that java file and I just left the design and still did not close the application.

Remove the design and so if the application runs.

My Logcat:

    
asked by Elenasys 09.02.2018 в 19:19
source

1 answer

1

You try to load a resource as an image that is not really an image.

In your layout you are loading a button that in turn tries to load an image, but the problem is that this resource called "goo" that is inside the folder /drawable is not really an image.

    
answered by 09.02.2018 / 19:47
source