Any1s / RBTV-Sendeplan

Other
3 stars 0 forks source link

appcompat-v7 v21.0.0 causing crash on Samsung devices with Android v4.2.2 #29

Closed Any1s closed 9 years ago

Any1s commented 9 years ago

See Issue 78377 at Google and this post on stackoverflow

TL;DR is: Samsung fucked up their custom 4.2.2 ROM causing crashes in apps using the AppCompat Action Bar. The commonly used workaround seems to be obfuscating the affected class.

The aforementioned workaround will probably not be used here, but until the decision is final this bug stays open.

Any1s commented 9 years ago

Stack Trace

java.lang.NoClassDefFoundError: android.support.v7.internal.view.menu.MenuBuilder
   at android.support.v7.app.ActionBarActivityDelegateBase.initializePanelMenu(ActionBarActivityDelegateBase.java:914)
   at android.support.v7.app.ActionBarActivityDelegateBase.preparePanel(ActionBarActivityDelegateBase.java:964)
   at android.support.v7.app.ActionBarActivityDelegateBase.doInvalidatePanelMenu(ActionBarActivityDelegateBase.java:1182)
   at android.support.v7.app.ActionBarActivityDelegateBase.access$100(ActionBarActivityDelegateBase.java:79)
   at android.support.v7.app.ActionBarActivityDelegateBase$1.run(ActionBarActivityDelegateBase.java:118)
   at android.os.Handler.handleCallback(Handler.java:800)
   at android.os.Handler.dispatchMessage(Handler.java:100)
   at android.os.Looper.loop(Looper.java:194)
   at android.app.ActivityThread.main(ActivityThread.java:5391)
   at java.lang.reflect.Method.invokeNative(Native Method)
   at java.lang.reflect.Method.invoke(Method.java:525)
   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:833)
   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
   at dalvik.system.NativeStart.main(Native Method)
Any1s commented 9 years ago

a823ff73a6b6b794f967ec5caae8dce88f385674 probably fixes it, since android.support.v7.app.ActionBarActivity has been replaced by android.app.Activity as the former is not required for the supported minSdkVersion of 15.