Titanium JIRA Archive
Appcelerator Community (AC)

[AC-409] App crashes on some 4.2.2 devices

GitHub Issuen/a
ResolutionCannot Reproduce
Resolution Date2015-11-05T16:26:16.000+0000
Affected Version/sn/a
Fix Version/sn/a
Labelsandroid, material-theme, sdk
ReporterAndrey Tkachenko
AssigneeMotiur Rahman


App crashes with error VERSION.RELEASE=4.2.2 VERSION.SDK=17
java.lang.NoClassDefFoundError: android.support.v7.internal.view.menu.MenuBuilder
	at android.support.v7.app.AppCompatDelegateImplV7.initializePanelMenu(AppCompatDelegateImplV7.java:1012)
	at android.support.v7.app.AppCompatDelegateImplV7.preparePanel(AppCompatDelegateImplV7.java:1074)
	at android.support.v7.app.AppCompatDelegateImplV7.doInvalidatePanelMenu(AppCompatDelegateImplV7.java:1374)
	at android.support.v7.app.AppCompatDelegateImplV7.access$100(AppCompatDelegateImplV7.java:89)
	at android.support.v7.app.AppCompatDelegateImplV7$1.run(AppCompatDelegateImplV7.java:126)
	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)
[Additional info on stackoverflow](http://stackoverflow.com/questions/26657348/appcompat-v7-v21-0-0-causing-crash-on-samsung-devices-with-android-v4-2-2)


  1. Radamantis Torres-Lechuga 2015-06-26

    [~falko] please attach a test case and steps to reproduce the issue
  2. Andrey Tkachenko 2015-06-27

    I can't send you device and I not have on hand this device. On Monday I'll send test app to the customer. The problem is observed only on some devices with android 4.2.2 as described in stackowerflow page. I created proguard as described on stackowerflow but problem still exists.
  3. Andrey Tkachenko 2015-07-15

    Simple create default alloy project, select titanium sdk 4.0.0.GA and run Package. Install to device and run. http://stackoverflow.com/questions/26657348/appcompat-v7-v21-0-0-causing-crash-on-samsung-devices-with-android-v4-2-2
  4. Motiur Rahman 2015-08-24

    Hello, I tested the issue you reported. We did not reproduce this issue as a bug. App did not crash on 4.2.2 devices. So I recommend you to follow these steps 1. Check your App ID is it duplicate or not. 2. Unplug your device cable and plugin again. 3. Finally upgrade your studio and SDK version to the latest build. Then let us know if you get the error again. Thanks.
  5. Amanda 2016-03-09

    I'm seeing this error come thru in our dashboard from some of our users. Can this be investigated further?
  6. Andrey Tkachenko 2016-03-09

    @Amanda Can you provide a list of devices?
  7. Amanda 2016-03-09

    Device is Samsung SGH-T399 with android 4.2.2.
  8. William Dent 2016-03-11

    We can reproduce this with a Samsung running 4.2.2 java.lang.NoClassDefFoundError: android.support.v7.internal.view.menu.MenuBuilder I found a pretty good reference as to why this is caused by Material Design https://github.com/google/iosched/issues/79

JSON Source