Working on an update for my app which uses the MaterialPreferences library, I'm getting this error when clicking a ListPreference.
The .apk of the previous version (middle of Feb) works correctly, but compiling it again from source generates the error as well.
The Material Preferences example also generates the error. https://www.b4x.com/android/forum/threads/preferences-material-design-preferences.75482/#content
Only the ListPreference modes MENU_MODE_SIMPLE_ADAPTIVE and MENU_MODE_SIMPLE_MENU show a problem ... MENU_MODE_DIALOG, MENU_MODE_SIMPLE_DIALOG and everything else in the lib seems to work OK.
I've been updating 'recommended' in SDK manager and I'm assuming that it's as a result of an SDK update, but I don't know what or how. Any suggestions on what I can do to retrieve the situation?
B4X:
java.lang.NoClassDefFoundError: android.support.v7.widget.XpDropDownListView
at android.support.v7.widget.AbstractXpListPopupWindow.createDropDownListView(AbstractXpListPopupWindow.java:1789)
at android.support.v7.widget.AbstractXpListPopupWindow.buildDropDown(AbstractXpListPopupWindow.java:1604)
at android.support.v7.widget.AbstractXpListPopupWindow.getPreferredVerticalOffset(AbstractXpListPopupWindow.java:1282)
at net.xpece.android.support.preference.ListPreference.showAsPopup(ListPreference.java:196)
at net.xpece.android.support.preference.ListPreference.performClick(ListPreference.java:130)
at android.support.v7.preference.Preference$1.onClick(Preference.java:170)
at android.view.View.performClick(View.java:5198)
at android.view.View$PerformClick.run(View.java:21147)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5417)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
The Material Preferences example also generates the error. https://www.b4x.com/android/forum/threads/preferences-material-design-preferences.75482/#content
Only the ListPreference modes MENU_MODE_SIMPLE_ADAPTIVE and MENU_MODE_SIMPLE_MENU show a problem ... MENU_MODE_DIALOG, MENU_MODE_SIMPLE_DIALOG and everything else in the lib seems to work OK.
I've been updating 'recommended' in SDK manager and I'm assuming that it's as a result of an SDK update, but I don't know what or how. Any suggestions on what I can do to retrieve the situation?