Hi.

Please follow the below instructions.

1.Please delete the bin and gen folder

2.Clean the build and refresh





On Thu, May 16, 2013 at 5:45 PM, DennisG <[email protected]> wrote:

> I just updated SDK tools and ADT to the latest v22 and now I can't run any
> of my applications. The exception is the same: main activity class is not
> found
>
> 05-16 12:12:33.137: D/AndroidRuntime(11138): Shutting down VM
> 05-16 12:12:33.137: W/dalvikvm(11138): threadid=1: thread exiting with
> uncaught exception (group=0x40a13300)
> 05-16 12:12:33.157: E/AndroidRuntime(11138): FATAL EXCEPTION: main
> 05-16 12:12:33.157: E/AndroidRuntime(11138): java.lang.RuntimeException:
> Unable to instantiate activity
> ComponentInfo{au.com.classbreak.peshake/au.com.classbreak.peshake.MainActivity}:
> java.lang.ClassNotFoundException: au.com.classbreak.peshake.MainActivity
> 05-16 12:12:33.157: E/AndroidRuntime(11138): at
> android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1983)
> 05-16 12:12:33.157: E/AndroidRuntime(11138): at
> android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084)
> 05-16 12:12:33.157: E/AndroidRuntime(11138): at
> android.app.ActivityThread.access$600(ActivityThread.java:130)
> 05-16 12:12:33.157: E/AndroidRuntime(11138): at
> android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195)
> 05-16 12:12:33.157: E/AndroidRuntime(11138): at
> android.os.Handler.dispatchMessage(Handler.java:99)
> 05-16 12:12:33.157: E/AndroidRuntime(11138): at
> android.os.Looper.loop(Looper.java:137)
> 05-16 12:12:33.157: E/AndroidRuntime(11138): at
> android.app.ActivityThread.main(ActivityThread.java:4745)
> 05-16 12:12:33.157: E/AndroidRuntime(11138): at
> java.lang.reflect.Method.invokeNative(Native Method)
> 05-16 12:12:33.157: E/AndroidRuntime(11138): at
> java.lang.reflect.Method.invoke(Method.java:511)
> 05-16 12:12:33.157: E/AndroidRuntime(11138): at
> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
> 05-16 12:12:33.157: E/AndroidRuntime(11138): at
> com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
> 05-16 12:12:33.157: E/AndroidRuntime(11138): at
> dalvik.system.NativeStart.main(Native Method)
> 05-16 12:12:33.157: E/AndroidRuntime(11138): Caused by:
> java.lang.ClassNotFoundException: au.com.classbreak.peshake.MainActivity
> 05-16 12:12:33.157: E/AndroidRuntime(11138): at
> dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)
> 05-16 12:12:33.157: E/AndroidRuntime(11138): at
> java.lang.ClassLoader.loadClass(ClassLoader.java:501)
> 05-16 12:12:33.157: E/AndroidRuntime(11138): at
> java.lang.ClassLoader.loadClass(ClassLoader.java:461)
> 05-16 12:12:33.157: E/AndroidRuntime(11138): at
> android.app.Instrumentation.newActivity(Instrumentation.java:1053)
> 05-16 12:12:33.157: E/AndroidRuntime(11138): at
> android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1974)
> 05-16 12:12:33.157: E/AndroidRuntime(11138): ... 11 more
>
> Coluld anyone help me to resolve this?
>
> --
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Warm Regards,
*Mukesh Kumar*,
Android Consultant/Freelancer,
India,Hyderabad.

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to