Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by rockers
, 1 year ago
Unable to instantiate activity ComponentInfo{com.example.alarmclocktext/com.example.alarmclocktext.Dialog}: java.lang.ClassCastException: com.example.alarmclocktext.Dialog cannot be cast to android.app.Activity
via Stack Overflow by dtrodriguez
, 2 years ago
Unable to instantiate activity ComponentInfo{com.example.prtmanager/com.example.prtmanager.MainActivity}: java.lang.ClassCastException: com.example.prtmanager.MainActivity cannot be cast to android.app.Activity
via Stack Overflow by Matclick
, 2 years ago
Unable to instantiate activity ComponentInfo{com.otticafotobenzi/com.otticafotobenzi.rss.RssService}: java.lang.ClassCastException: com.otticafotobenzi.rss.RssService cannot be cast to android.app.Activity
via Stack Overflow by Naughtlok
, 2 years ago
Unable to instantiate activity ComponentInfo{com.example.hashtagged/com.example.hashtagged.Fragment_1}: java.lang.ClassCastException: com.example.hashtagged.Fragment_1 cannot be cast to android.app.Activity
via Stack Overflow by Mihir
, 2 years ago
Unable to instantiate activity ComponentInfo{com.example.actionbartab/com.example.actionbartab.FragMent1}: java.lang.ClassCastException: com.example.actionbartab.FragMent1 cannot be cast to android.app.Activity
via Stack Overflow by Aspicas
, 2 years ago
Unable to instantiate activity ComponentInfo{com.example.listprueba/com.example.listprueba.MainActivity}: java.lang.ClassCastException: com.example.listprueba.MainActivity cannot be cast to android.app.Activity
java.lang.ClassCastException: com.example.alarmclocktext.Dialog cannot be cast to android.app.Activity	at android.app.Instrumentation.newActivity(Instrumentation.java:1061)	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2101)	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2233)	at android.app.ActivityThread.access$800(ActivityThread.java:135)	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)	at android.os.Handler.dispatchMessage(Handler.java:102)	at android.os.Looper.loop(Looper.java:136)	at android.app.ActivityThread.main(ActivityThread.java:5001)	at java.lang.reflect.Method.invokeNative(Native Method)	at java.lang.reflect.Method.invoke(Method.java:515)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)	at dalvik.system.NativeStart.main(Native Method)