I am using this plugin with ionic 3 application:
The app crashes with the following issues:
E/AndroidRuntime: FATAL EXCEPTION: main
Process: com. PID: 10669
java.lang.NoSuchMethodError: No static method getScreenWidthDp(Landroid/content/res/Resources;)I in class Landroid/support/v4/content/res/ConfigurationHelper; or its super classes (declaration of 'android.support.v4.content.res.ConfigurationHelper' appears in /data/app//split_lib_dependencies_apk.apk)
at android.support.v7.view.ActionBarPolicy.getMaxActionButtons(ActionBarPolicy.java:57)
at android.support.v7.widget.ActionMenuPresenter.initForMenu(ActionMenuPresenter.java:108)
at android.support.v7.view.menu.MenuBuilder.addMenuPresenter(MenuBuilder.java:264)
at android.support.v7.widget.Toolbar.setMenu(Toolbar.java:569)
at android.support.v7.widget.ToolbarWidgetWrapper.setMenu(ToolbarWidgetWrapper.java:369)
at android.support.v7.widget.ActionBarOverlayLayout.setMenu(ActionBarOverlayLayout.java:714)
at android.support.v7.app.AppCompatDelegateImplV9.preparePanel(AppCompatDelegateImplV9.java:1362)
at android.support.v7.app.AppCompatDelegateImplV9.doInvalidatePanelMenu(AppCompatDelegateImplV9.java:1648)
at android.support.v7.app.AppCompatDelegateImplV9$1.run(AppCompatDelegateImplV9.java:140)
at android.os.Handler.handleCallback(Handler.java:754)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:163)
at android.app.ActivityThread.main(ActivityThread.java:6221)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)
Hi,
I am using this plugin with ionic 3 application: The app crashes with the following issues:
E/AndroidRuntime: FATAL EXCEPTION: main Process: com. PID: 10669 java.lang.NoSuchMethodError: No static method getScreenWidthDp(Landroid/content/res/Resources;)I in class Landroid/support/v4/content/res/ConfigurationHelper; or its super classes (declaration of 'android.support.v4.content.res.ConfigurationHelper' appears in /data/app//split_lib_dependencies_apk.apk) at android.support.v7.view.ActionBarPolicy.getMaxActionButtons(ActionBarPolicy.java:57) at android.support.v7.widget.ActionMenuPresenter.initForMenu(ActionMenuPresenter.java:108) at android.support.v7.view.menu.MenuBuilder.addMenuPresenter(MenuBuilder.java:264) at android.support.v7.widget.Toolbar.setMenu(Toolbar.java:569) at android.support.v7.widget.ToolbarWidgetWrapper.setMenu(ToolbarWidgetWrapper.java:369) at android.support.v7.widget.ActionBarOverlayLayout.setMenu(ActionBarOverlayLayout.java:714) at android.support.v7.app.AppCompatDelegateImplV9.preparePanel(AppCompatDelegateImplV9.java:1362) at android.support.v7.app.AppCompatDelegateImplV9.doInvalidatePanelMenu(AppCompatDelegateImplV9.java:1648) at android.support.v7.app.AppCompatDelegateImplV9$1.run(AppCompatDelegateImplV9.java:140) at android.os.Handler.handleCallback(Handler.java:754) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:163) at android.app.ActivityThread.main(ActivityThread.java:6221) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)
Ionic info:
global packages:
local packages:
System:
Environment Variables:
Misc:
Thanks in advance!