android - Error showing at onCreate() while using AppCompactActivity -


i updated sdk 22(android 5.1.1). used appcompactactivity instead of activity. here logcat output.

04-23 13:51:40.524: e/androidruntime(3150): java.lang.noclassdeffounderror: android.support.v7.app.appcompatdelegateimplv11 04-23 13:51:40.524: e/androidruntime(3150):     @ android.support.v7.app.appcompatdelegate.create(appcompatdelegate.java:77) 04-23 13:51:40.524: e/androidruntime(3150):     @ android.support.v7.app.appcompatactivity.getdelegate(appcompatactivity.java:414) 04-23 13:51:40.524: e/androidruntime(3150):     @ android.support.v7.app.appcompatactivity.oncreate(appcompatactivity.java:57) 04-23 13:51:40.524: e/androidruntime(3150):     @ com.emapps.easystudy.startactivity.oncreate(startactivity.java:61) 04-23 13:51:40.524: e/androidruntime(3150):     @ android.app.activity.performcreate(activity.java:5451) 04-23 13:51:40.524: e/androidruntime(3150):     @ android.app.instrumentation.callactivityoncreate(instrumentation.java:1093) 04-23 13:51:40.524: e/androidruntime(3150):     @ android.app.activitythread.performlaunchactivity(activitythread.java:2377) 04-23 13:51:40.524: e/androidruntime(3150):     @ android.app.activitythread.handlelaunchactivity(activitythread.java:2471) 04-23 13:51:40.524: e/androidruntime(3150):     @ android.app.activitythread.access$900(activitythread.java:175) 04-23 13:51:40.524: e/androidruntime(3150):     @ android.app.activitythread$h.handlemessage(activitythread.java:1308) 04-23 13:51:40.524: e/androidruntime(3150):     @ android.os.handler.dispatchmessage(handler.java:102) 04-23 13:51:40.524: e/androidruntime(3150):     @ android.os.looper.loop(looper.java:146) 04-23 13:51:40.524: e/androidruntime(3150):     @ android.app.activitythread.main(activitythread.java:5602) 04-23 13:51:40.524: e/androidruntime(3150):     @ java.lang.reflect.method.invokenative(native method) 04-23 13:51:40.524: e/androidruntime(3150):     @ java.lang.reflect.method.invoke(method.java:515) 04-23 13:51:40.524: e/androidruntime(3150):     @ com.android.internal.os.zygoteinit$methodandargscaller.run(zygoteinit.java:1283) 04-23 13:51:40.524: e/androidruntime(3150):     @ com.android.internal.os.zygoteinit.main(zygoteinit.java:1099) 04-23 13:51:40.524: e/androidruntime(3150):     @ dalvik.system.nativestart.main(native method) 

i tried this:

a) restarted eclipse.

b) deleted .jar files under libs/ folder. (if have android-support-v4.jar or other lib files)

c) also, checked @ chris banes's stack overflow post

d) clean build


Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -