Reputation: 26971
Okay so i just started getting this error.
01-03 15:31:51.610: E/AndroidRuntime(14203): at java.lang.reflect.Method.invoke(Method.java:491)
01-03 15:31:51.610: E/AndroidRuntime(14203): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
01-03 15:31:51.610: E/AndroidRuntime(14203): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
01-03 15:31:51.610: E/AndroidRuntime(14203): at dalvik.system.NativeStart.main(Native Method)
01-03 15:31:51.610: E/AndroidRuntime(14203): Caused by: java.lang.ClassNotFoundException: com.fttech.MenuActivity in loader dalvik.system.PathClassLoader[/data/app/com.fttech.app-1.apk]
01-03 15:31:51.610: E/AndroidRuntime(14203): at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:251)
01-03 15:31:51.610: E/AndroidRuntime(14203): at java.lang.ClassLoader.loadClass(ClassLoader.java:540)
01-03 15:31:51.610: E/AndroidRuntime(14203): at java.lang.ClassLoader.loadClass(ClassLoader.java:500)
01-03 15:31:51.610: E/AndroidRuntime(14203): at android.app.Instrumentation.newActivity(Instrumentation.java:1022)
01-03 15:31:51.610: E/AndroidRuntime(14203): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1663)
I have it declared in my manifest!
<application android:icon="@drawable/ic_launcher" android:label="@string/app_name">
<activity android:name=".MenuActivity"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
Anyone know what this comes from?
EDIT:
Also i noticed it saying..
01-03 15:31:51.610: E/AndroidRuntime(14203): Caused by: java.lang.ClassNotFoundException: com.fttech.MenuActivity in loader dalvik.system.PathClassLoader[/data/app/com.fttech.app-1.apk]
Where it should be app_1.apk not apk-1.apk
Anyone have this problem?
Upvotes: 0
Views: 341
Reputation: 9978
Try putting the complete path to the Activity (With the package), clean the project and refresh the workspace.
Maybe you changed the launch activity or you changes the name and some garbage stayed.
Upvotes: 2