InflateException: Binary XML file line #1: Error inflating class caused by OutOfMemoryError

Check your drawable/background_main i.e. the background image of your root layout – the VM runs out of memory when decoding the bitmap. Make the image dimensions smaller.

Leave a Comment