android - Unable to instantiate componentinfo with SlidingMenu Library and SlidingFragmentActivity -
i developing appliation in android slidingmenu library. i've imported project eclipse , i've linked library project papertask. mainactivity extend slidingfragmentactivity extend fragmentactivity. i've added class android manifest when launch app, debugger show exception:
java.lang.runtimeexception: unable instantiate activity componentinfo{com.paper.papertask/com.paper.papertask.activities.mainpaperactivity}: java.lang.classnotfoundexception: didn't find class "com.paper.papertask.activities.mainpaperactivity" on path: /data/app/com.paper.papertask-2.apk
the android manifest is:
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.paper.papertask" android:versioncode="1" android:versionname="1.0" > <uses-sdk android:minsdkversion="14" android:targetsdkversion="17" /> <application android:allowbackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@style/apptheme" > <activity android:name="com.paper.papertask.activities.mainpaperactivity" android:label="@string/app_name" > <intent-filter> <action android:name="android.intent.action.main" /> <category android:name="android.intent.category.launcher" /> </intent-filter> </activity> </application> </manifest>
the routes of class correct, reason not found class.
can 1 know why doesn't find class? thanks!
Comments
Post a Comment