in your activity_main lay out You use Image this images Size is very big which not loads in memory So it crashes and outofmemory exception.
Please check your image Size.
2
solved Out of memory on a byte allocation setContentView [closed]
in your activity_main lay out You use Image this images Size is very big which not loads in memory So it crashes and outofmemory exception.
Please check your image Size.
2
solved Out of memory on a byte allocation setContentView [closed]