NoClassDefFoundError: android.support.v7.app.ActionBarActivity -
i keep getting java.lang.noclassdeffounderror: android.support.v7.app.actionbaractivitydelegate
error last 2 days , going hate android, it keeps going this. hopeless. adding goseamless api
, error after superoncreate
method on line of code
super.oncreate(savedinstancestate); setcontentview(r.layout.activity_splash_screen);
it gives error below while trying set contentview
. if dont add , app builds without problem.
this stack trace
07-27 15:10:18.130 814-814/com.fourspan.ekmobi i/system.out﹕ debugger has settled (1365) 07-27 15:10:18.180 814-814/com.fourspan.ekmobi v/hwpolicyfactory﹕ : success allimpl object , return.... 07-27 15:10:18.210 814-814/com.fourspan.ekmobi v/hwwidgetfactory﹕ : successes allimpl object , return.... 07-27 15:10:19.450 814-814/com.fourspan.ekmobi d/dalvikvm﹕ threadid=1: still suspended after undo (sc=1 dc=1) 07-27 15:10:31.590 814-814/com.fourspan.ekmobi e/dalvikvm﹕ not find class 'android.support.v7.app.actionbaractivitydelegatejbmr2', referenced method android.support.v7.app.actionbaractivitydelegate.createdelegate 07-27 15:10:31.590 814-814/com.fourspan.ekmobi w/dalvikvm﹕ vfy: unable resolve new-instance 1269 (landroid/support/v7/app/actionbaractivitydelegatejbmr2;) in landroid/support/v7/app/actionbaractivitydelegate; 07-27 15:10:31.590 814-814/com.fourspan.ekmobi d/dalvikvm﹕ vfy: replacing opcode 0x22 @ 0x0006 07-27 15:10:31.590 814-814/com.fourspan.ekmobi e/dalvikvm﹕ not find class 'android.support.v7.app.actionbaractivitydelegatejb', referenced method android.support.v7.app.actionbaractivitydelegate.createdelegate 07-27 15:10:31.590 814-814/com.fourspan.ekmobi w/dalvikvm﹕ vfy: unable resolve new-instance 1268 (landroid/support/v7/app/actionbaractivitydelegatejb;) in landroid/support/v7/app/actionbaractivitydelegate; 07-27 15:10:31.590 814-814/com.fourspan.ekmobi d/dalvikvm﹕ vfy: replacing opcode 0x22 @ 0x0012 07-27 15:10:31.600 814-814/com.fourspan.ekmobi e/dalvikvm﹕ not find class 'android.support.v7.app.actionbaractivitydelegateics', referenced method android.support.v7.app.actionbaractivitydelegate.createdelegate 07-27 15:10:31.600 814-814/com.fourspan.ekmobi w/dalvikvm﹕ vfy: unable resolve new-instance 1267 (landroid/support/v7/app/actionbaractivitydelegateics;) in landroid/support/v7/app/actionbaractivitydelegate; 07-27 15:10:31.600 814-814/com.fourspan.ekmobi d/dalvikvm﹕ vfy: replacing opcode 0x22 @ 0x001e 07-27 15:10:31.600 814-814/com.fourspan.ekmobi e/dalvikvm﹕ not find class 'android.support.v7.app.actionbaractivitydelegatehc', referenced method android.support.v7.app.actionbaractivitydelegate.createdelegate 07-27 15:10:31.600 814-814/com.fourspan.ekmobi w/dalvikvm﹕ vfy: unable resolve new-instance 1266 (landroid/support/v7/app/actionbaractivitydelegatehc;) in landroid/support/v7/app/actionbaractivitydelegate; 07-27 15:10:31.600 814-814/com.fourspan.ekmobi d/dalvikvm﹕ vfy: replacing opcode 0x22 @ 0x002a 07-27 15:10:31.600 814-814/com.fourspan.ekmobi e/dalvikvm﹕ not find class 'android.support.v7.app.actionbaractivitydelegatebase', referenced method android.support.v7.app.actionbaractivitydelegate.createdelegate 07-27 15:10:31.600 814-814/com.fourspan.ekmobi w/dalvikvm﹕ vfy: unable resolve new-instance 1265 (landroid/support/v7/app/actionbaractivitydelegatebase;) in landroid/support/v7/app/actionbaractivitydelegate; 07-27 15:10:31.600 814-814/com.fourspan.ekmobi d/dalvikvm﹕ vfy: replacing opcode 0x22 @ 0x0030 07-27 15:10:31.600 814-814/com.fourspan.ekmobi e/dalvikvm﹕ not find class 'android.support.v7.app.actionbaractivitydelegate$actionbardrawabletoggleimpl', referenced method android.support.v7.app.actionbaractivitydelegate.getdrawertoggledelegate 07-27 15:10:31.600 814-814/com.fourspan.ekmobi w/dalvikvm﹕ vfy: unable resolve new-instance 1263 (landroid/support/v7/app/actionbaractivitydelegate$actionbardrawabletoggleimpl;) in landroid/support/v7/app/actionbaractivitydelegate; 07-27 15:10:31.600 814-814/com.fourspan.ekmobi d/dalvikvm﹕ vfy: replacing opcode 0x22 @ 0x0000 07-27 15:10:31.610 814-814/com.fourspan.ekmobi w/dalvikvm﹕ vfy: unable resolve static field 2683 (actionbarwindow) in landroid/support/v7/appcompat/r$styleable; 07-27 15:10:31.610 814-814/com.fourspan.ekmobi d/dalvikvm﹕ vfy: replacing opcode 0x62 @ 0x0004 07-27 15:10:31.610 814-814/com.fourspan.ekmobi d/dalvikvm﹕ dexopt: unable opt direct call 0x2523 @ 0x08 in landroid/support/v7/app/actionbaractivitydelegate;.createdelegate 07-27 15:10:31.610 814-814/com.fourspan.ekmobi d/dalvikvm﹕ dexopt: unable opt direct call 0x2522 @ 0x14 in landroid/support/v7/app/actionbaractivitydelegate;.createdelegate 07-27 15:10:31.610 814-814/com.fourspan.ekmobi d/dalvikvm﹕ dexopt: unable opt direct call 0x2521 @ 0x20 in landroid/support/v7/app/actionbaractivitydelegate;.createdelegate 07-27 15:10:31.610 814-814/com.fourspan.ekmobi d/dalvikvm﹕ dexopt: unable opt direct call 0x2520 @ 0x2c in landroid/support/v7/app/actionbaractivitydelegate;.createdelegate 07-27 15:10:31.620 814-814/com.fourspan.ekmobi d/dalvikvm﹕ dexopt: unable opt direct call 0x251f @ 0x32 in landroid/support/v7/app/actionbaractivitydelegate;.createdelegate 07-27 15:10:31.620 814-814/com.fourspan.ekmobi d/dalvikvm﹕ dexopt: unable opt direct call 0x24fe @ 0x03 in landroid/support/v7/app/actionbaractivitydelegate;.getdrawertoggledelegate 07-27 15:10:31.620 814-814/com.fourspan.ekmobi d/androidruntime﹕ shutting down vm 07-27 15:10:31.620 814-814/com.fourspan.ekmobi w/dalvikvm﹕ threadid=1: thread exiting uncaught exception (group=0x41f58c50) 07-27 15:10:31.630 814-814/com.fourspan.ekmobi e/androidruntime﹕ fatal exception: main process: com.fourspan.ekmobi, pid: 814 java.lang.noclassdeffounderror: android.support.v7.app.actionbaractivitydelegatejbmr2 @ android.support.v7.app.actionbaractivitydelegate.createdelegate(actionbaractivitydelegate.java:48) @ android.support.v7.app.actionbaractivity.oncreate(actionbaractivity.java:96) @ com.fourspan.ekmobi.splashscreenactivity.oncreate(splashscreenactivity.java:18) @ android.app.activity.performcreate(activity.java:5286) @ android.app.instrumentation.callactivityoncreate(instrumentation.java:1090) @ android.app.activitythread.performlaunchactivity(activitythread.java:2233) @ android.app.activitythread.handlelaunchactivity(activitythread.java:2319) @ android.app.activitythread.access$1100(activitythread.java:135) @ android.app.activitythread$h.handlemessage(activitythread.java:1232) @ android.os.handler.dispatchmessage(handler.java:102) @ android.os.looper.loop(looper.java:136) @ android.app.activitythread.main(activitythread.java:5253) @ java.lang.reflect.method.invokenative(native method) @ java.lang.reflect.method.invoke(method.java:515) @ com.android.internal.os.zygoteinit$methodandargscaller.run(zygoteinit.java:939) @ com.android.internal.os.zygoteinit.main(zygoteinit.java:755) @ dalvik.system.nativestart.main(native method) 07-27 15:12:46.750 814-814/com.fourspan.ekmobi i/process﹕ sending signal. pid: 814 sig: 9
also here buildgraddle
app
apply plugin: 'com.android.application' android { compilesdkversion 21 buildtoolsversion 22.0.1 defaultconfig { minsdkversion 16 targetsdkversion 21 multidexenabled true } dexoptions { //incremental true javamaxheapsize "2048m" } buildtypes { release { minifyenabled false proguardfiles getdefaultproguardfile('proguard-android.txt'), 'proguard-rules.txt' } } } repositories { maven { url "http://maven.seamlessapi.com:8081/nexus/content/repositories/releases/" } } dependencies { compile files('libs/picasso-2.5.2.jar') compile project(':libraries:cropimagelib') compile project(':libraries:facebook-android') compile project(':libraries:nineoldlibs') compile project(':libraries:slidingmenu') compile files('libs/jtransforms-3.0.jar') compile files('libs/jlargearrays-1.2.jar') compile files('libs/gdata-core-1.0.jar') compile 'com.android.support:recyclerview-v7:+' compile 'com.android.support:support-v4:18.0.+' compile 'com.android.support:appcompat-v7:18.0.+' compile 'com.goseamless:seamless:2.4.0' }
let me know if need more info please help, regards.
since using com.android.support:appcompat-v7:18.0
should replace depracated actionbaractivity
appcompatactivity
.
Comments
Post a Comment