Android Error inflating class com.actionbarsherlock.internal.widget.ActionBarContainer -


recently i've added actionbarsherlock android project. after adding , testing application on avd version 4.1 fine, launching application @ 2.3.3 gives next type of errors when starting activity @ setcontentview:

> 04-05 18:55:03.277: e/androidruntime(659): fatal exception: main 04-05 18:55:03.277: e/androidruntime(659): java.lang.runtimeexception: unable start activity componentinfo{com.fitness.calculator/com.fitness.calculator.proportionsactivity}: android.view.inflateexception: binary xml file line #26: error inflating class com.actionbarsherlock.internal.widget.actionbarcontainer 04-05 18:55:03.277: e/androidruntime(659):  @ android.app.activitythread.performlaunchactivity(activitythread.java:1647) 04-05 18:55:03.277: e/androidruntime(659):  @ android.app.activitythread.handlelaunchactivity(activitythread.java:1663) 04-05 18:55:03.277: e/androidruntime(659):  @ android.app.activitythread.access$1500(activitythread.java:117) 04-05 18:55:03.277: e/androidruntime(659):  @ android.app.activitythread$h.handlemessage(activitythread.java:931) 04-05 18:55:03.277: e/androidruntime(659):  @ android.os.handler.dispatchmessage(handler.java:99) 04-05 18:55:03.277: e/androidruntime(659):  @ android.os.looper.loop(looper.java:123) 04-05 18:55:03.277: e/androidruntime(659):  @ android.app.activitythread.main(activitythread.java:3683) 04-05 18:55:03.277: e/androidruntime(659):  @ java.lang.reflect.method.invokenative(native method) 04-05 18:55:03.277: e/androidruntime(659):  @ java.lang.reflect.method.invoke(method.java:507) 04-05 18:55:03.277: e/androidruntime(659):  @ com.android.internal.os.zygoteinit$methodandargscaller.run(zygoteinit.java:839) 04-05 18:55:03.277: e/androidruntime(659):  @ com.android.internal.os.zygoteinit.main(zygoteinit.java:597) 04-05 18:55:03.277: e/androidruntime(659):  @ dalvik.system.nativestart.main(native method) 04-05 18:55:03.277: e/androidruntime(659): caused by: android.view.inflateexception: binary xml file line #26: error inflating class com.actionbarsherlock.internal.widget.actionbarcontainer 04-05 18:55:03.277: e/androidruntime(659):  @ android.view.layoutinflater.createview(layoutinflater.java:518) 04-05 18:55:03.277: e/androidruntime(659):  @ android.view.layoutinflater.createviewfromtag(layoutinflater.java:570) 04-05 18:55:03.277: e/androidruntime(659):  @ android.view.layoutinflater.rinflate(layoutinflater.java:623) 04-05 18:55:03.277: e/androidruntime(659):  @ android.view.layoutinflater.inflate(layoutinflater.java:408) 04-05 18:55:03.277: e/androidruntime(659):  @ android.view.layoutinflater.inflate(layoutinflater.java:320) 04-05 18:55:03.277: e/androidruntime(659):  @ android.view.layoutinflater.inflate(layoutinflater.java:276) 04-05 18:55:03.277: e/androidruntime(659):  @ com.actionbarsherlock.internal.actionbarsherlockcompat.generatelayout(actionbarsherlockcompat.java:1045) 04-05 18:55:03.277: e/androidruntime(659):  @ com.actionbarsherlock.internal.actionbarsherlockcompat.installdecor(actionbarsherlockcompat.java:915) 04-05 18:55:03.277: e/androidruntime(659):  @ com.actionbarsherlock.internal.actionbarsherlockcompat.setcontentview(actionbarsherlockcompat.java:849) 04-05 18:55:03.277: e/androidruntime(659):  @ com.actionbarsherlock.app.sherlockactivity.setcontentview(sherlockactivity.java:229) 04-05 18:55:03.277: e/androidruntime(659):  @ com.fitness.calculator.mainmenuactivity.oncreate(mainmenuactivity.java:45) 04-05 18:55:03.277: e/androidruntime(659):  @ com.fitness.calculator.proportionsactivity.oncreate(proportionsactivity.java:90) 04-05 18:55:03.277: e/androidruntime(659):  @ android.app.instrumentation.callactivityoncreate(instrumentation.java:1047) 04-05 18:55:03.277: e/androidruntime(659):  @ android.app.activitythread.performlaunchactivity(activitythread.java:1611) 04-05 18:55:03.277: e/androidruntime(659):  ... 11 more 04-05 18:55:03.277: e/androidruntime(659): caused by: java.lang.reflect.invocationtargetexception 04-05 18:55:03.277: e/androidruntime(659):  @ java.lang.reflect.constructor.constructnative(native method) 04-05 18:55:03.277: e/androidruntime(659):  @ java.lang.reflect.constructor.newinstance(constructor.java:415) 04-05 18:55:03.277: e/androidruntime(659):  @ android.view.layoutinflater.createview(layoutinflater.java:505) 04-05 18:55:03.277: e/androidruntime(659):  ... 24 more 04-05 18:55:03.277: e/androidruntime(659): caused by: java.lang.nosuchmethoderror: com.actionbarsherlock.internal.widget.actionbarcontainer.setbackground 04-05 18:55:03.277: e/androidruntime(659):  @ com.actionbarsherlock.internal.widget.actionbarcontainer.<init>(actionbarcontainer.java:58) 04-05 18:55:03.277: e/androidruntime(659):  ... 27 more 

does have idea cause type of error? ideas? can't find solution problem.

i fixed problem re-adding clear actionbarsherlock library. first time have fixed warnings in library, , caused problem. don't try fix warnings in actionbarsherlock. hope somebody.


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -