Unable To Start Activity Componentinfo Android.view.inflateexception: Binary Xml File Line #6: Error Inflating Class Fragment Using Listfragment
I am new in Android and trying to make simple App .Im trying to display array list under Fragments . This list keep updated as it is driven by XML data from website . SInce array l
Solution 1:
Caused by: java.lang.ClassNotFoundException:
Didn't find class "com.paad.myearthquake.EarthquakeListFragment" ...
The package name in your code is com.example.myearthquake
while a class in com.paad.myearthquake
is attempted to be loaded.
Make sure the XML and code agree on the package names. In here:
<fragment android:name="com.paad.myearthquake.EarthquakeListFragment"
and here:
package com.example.myearthquake;
Post a Comment for "Unable To Start Activity Componentinfo Android.view.inflateexception: Binary Xml File Line #6: Error Inflating Class Fragment Using Listfragment"