java - NoClassDefFOundError on Android after Manifest changes -
my android app working fine tried reload onto device , error:
05-21 11:03:13.217: w/dalvikvm(18699): threadid=1: thread exiting uncaught exception (group=0x4133b930) 05-21 11:03:13.227: e/androidruntime(18699): fatal exception: main 05-21 11:03:13.227: e/androidruntime(18699): java.lang.noclassdeffounderror: com.rns.us.iepareporting.swipeenterresults 05-21 11:03:13.227: e/androidruntime(18699): @ com.rns.us.iepareporting.mainactivity$1.onclick(mainactivity.java:21) 05-21 11:03:13.227: e/androidruntime(18699): @ android.view.view.performclick(view.java:4204) 05-21 11:03:13.227: e/androidruntime(18699): @ android.view.view$performclick.run(view.java:17355) 05-21 11:03:13.227: e/androidruntime(18699): @ android.os.handler.handlecallback(handler.java:725) 05-21 11:03:13.227: e/androidruntime(18699): @ android.os.handler.dispatchmessage(handler.java:92) 05-21 11:03:13.227: e/androidruntime(18699): @ android.os.looper.loop(looper.java:137) 05-21 11:03:13.227: e/androidruntime(18699): @ android.app.activitythread.main(activitythread.java:5195) 05-21 11:03:13.227: e/androidruntime(18699): @ java.lang.reflect.method.invokenative(native method) 05-21 11:03:13.227: e/androidruntime(18699): @ java.lang.reflect.method.invoke(method.java:511) 05-21 11:03:13.227: e/androidruntime(18699): @ com.android.internal.os.zygoteinit$methodandargscaller.run(zygoteinit.java:795) 05-21 11:03:13.227: e/androidruntime(18699): @ com.android.internal.os.zygoteinit.main(zygoteinit.java:562) 05-21 11:03:13.227: e/androidruntime(18699): @ dalvik.system.nativestart.main(native method)
i had made changes manifest file, removed references activities no longer using in app.
here androidmanifest.xml file:
<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.rns.us.iepareporting" android:versioncode="1" android:versionname="1.0" > <uses-sdk android:minsdkversion="14" android:targetsdkversion="17" /> <uses-permission android:name="android.permission.internet"></uses-permission> <application android:allowbackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@style/apptheme" > <activity android:name="com.rns.us.iepareporting.mainactivity" android:label="@string/title_activity_main" > <intent-filter> <action android:name="android.intent.action.main" /> <category android:name="android.intent.category.launcher" /> </intent-filter> </activity> <activity android:name="com.rns.us.iepareporting.swipeenterresults" android:label="@string/strswipeview" android:parentactivityname="com.rns.us.iepareporting.mainactivity"> </activity> <activity android:name="com.rns.us.iepareporting.enterdailyresults" android:label="@string/strdailyresultswells14_15" android:parentactivityname="com.rns.us.iepareporting.mainactivity"> </activity> <activity android:name="com.rns.us.iepareporting.reviewresults" android:label="@string/strreview" android:parentactivityname="com.rns.us.iepareporting.enterdailyresults"> </activity> </application> </manifest>
my guess in activity use launch swipeenterresults activity, there typo in intent.
try opening file, , searching "iepareporting". remove "iepa" when find it. (ie. change "reporting")
if not, typo somewhere else. try searching entire project "iepareporting".
Comments
Post a Comment