On emulator it shows "Unfortunately Fragment has stopped".

0 Shashank Madhav · July 25, 2015
Checked in Background it shows following
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.fragmentation.fragment/com.fragmentation.fragment.MainActivity}: android.view.InflateException: Binary XML file line #2: Error inflating class <unknown>

Post a Reply

Replies

Oldest  Newest  Rating
0 Miguel Rodríguez · July 25, 2015
Try changing the background picture you used to one with lower resolution. 
0 Shashank Madhav · July 29, 2015
Thanks, actually I guess the issue was because of dimensions of picture. I reduced them and it worked.
  • 1

Java / Android Development

107,315 followers
About

Very popular language used to create desktop applications, website applets, and Android apps.

Links
Moderators
Bucky Roberts Administrator