Skip to content Skip to sidebar Skip to footer

Unable To Start Activity Componentinfo{activity}: Android.view.inflateexception: Binary Xml File Line #12: Error Inflating Class Fragment

I am developing an application which uses google map APIs. In my application i want to show google map and set marker on my current location by getting my device latitude and longi

Solution 1:

EDIT: A user has pointed that this bug is happening also in 7.0 devices, so keep in mind that you may change android:maxSdkVersion="22" to an appropiate Sdk version.

The problem is only happening in 5.1.1 devices with custom roms like Resurrection Remix. I don't know the reason, but you can solve it adding this to your manifest, as seen in https://stackoverflow.com/a/39696819/4208583.

<uses-permissionandroid:name="android.permission.WRITE_EXTERNAL_STORAGE"android:maxSdkVersion="22" /><uses-permissionandroid:name="android.permission.READ_EXTERNAL_STORAGE"android:maxSdkVersion="22" />

Solution 2:

Post a Comment for "Unable To Start Activity Componentinfo{activity}: Android.view.inflateexception: Binary Xml File Line #12: Error Inflating Class Fragment"