Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to instantiate activity component info #8

Open
desinabl opened this issue Jun 9, 2014 · 4 comments
Open

Unable to instantiate activity component info #8

desinabl opened this issue Jun 9, 2014 · 4 comments

Comments

@desinabl
Copy link

desinabl commented Jun 9, 2014

Hey guys!, can you please help me with this error? i was unable to solve it and i tried and searched a lot!


06-09 15:53:14.722: E/AndroidRuntime(3493): FATAL EXCEPTION: main
06-09 15:53:14.722: E/AndroidRuntime(3493): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.nerdability.android/com.nerdability.android.ArticleListActivity}: java.lang.ClassNotFoundException: com.nerdability.android.ArticleListActivity
06-09 15:53:14.722: E/AndroidRuntime(3493):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1993)
06-09 15:53:14.722: E/AndroidRuntime(3493):     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2104)
06-09 15:53:14.722: E/AndroidRuntime(3493):     at android.app.ActivityThread.access$600(ActivityThread.java:132)
06-09 15:53:14.722: E/AndroidRuntime(3493):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1157)
06-09 15:53:14.722: E/AndroidRuntime(3493):     at android.os.Handler.dispatchMessage(Handler.java:99)
06-09 15:53:14.722: E/AndroidRuntime(3493):     at android.os.Looper.loop(Looper.java:137)
06-09 15:53:14.722: E/AndroidRuntime(3493):     at android.app.ActivityThread.main(ActivityThread.java:4575)
06-09 15:53:14.722: E/AndroidRuntime(3493):     at java.lang.reflect.Method.invokeNative(Native Method)
06-09 15:53:14.722: E/AndroidRuntime(3493):     at java.lang.reflect.Method.invoke(Method.java:511)
06-09 15:53:14.722: E/AndroidRuntime(3493):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
06-09 15:53:14.722: E/AndroidRuntime(3493):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556)
06-09 15:53:14.722: E/AndroidRuntime(3493):     at dalvik.system.NativeStart.main(Native Method)
06-09 15:53:14.722: E/AndroidRuntime(3493): Caused by: java.lang.ClassNotFoundException: com.nerdability.android.ArticleListActivity
06-09 15:53:14.722: E/AndroidRuntime(3493):     at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)
06-09 15:53:14.722: E/AndroidRuntime(3493):     at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
06-09 15:53:14.722: E/AndroidRuntime(3493):     at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
06-09 15:53:14.722: E/AndroidRuntime(3493):     at android.app.Instrumentation.newActivity(Instrumentation.java:1023)
06-09 15:53:14.722: E/AndroidRuntime(3493):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1984)
06-09 15:53:14.722: E/AndroidRuntime(3493):     ... 11 more
@desinabl
Copy link
Author

can anybody help me please?

@edholland
Copy link

This seems to be related to not exporting the android support v4 lib with the package

@desinabl
Copy link
Author

so what I've to do?

@edholland
Copy link

put the jar into your project, ensure that its in your classpath and check thats its being exported when you build the package

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants