Whenever I have to put a PNG in my Android Studio File it says 'Unfortunately App has stopped'. Why is this? I'm using Mac.
Asked
Active
Viewed 23 times
1 Answers
1
You should check the image's size. It may be too big and could cause an OutOfMemory error.
When you add an image to your project, it also helps adding it in several sizes (hdpi, ldpi, mdpi, xhdpi, xxhdpi, xxxhdpi) for your application to use the best one for your device.
Hope it helps!

P. Vera
- 315
- 4
- 11
-
-
You mean in the virtual machine? It could be that the virtual machine you're using is not the same device as your phisical one. I got one app working on some devices but not another ones, idk. – P. Vera Feb 13 '19 at 11:51