I'm having some issues compiling my app that uses notification builder after the switch to androidX. It's similar to the issue described in this post (https://www.b4x.com/android/forum/threads/b4a-v9-30-beta-has-been-released.107225/#post-670620). I have however already updated to beta 4 and that hasn't fixed the issue.
And yes I have run the jetifier tool. It seems to close before the bar has gotten to the end however, and I can't find any files with the .androidx extension in the additional libraries folder. Is this normal or is there something wrong with my jetifier tool?
Here's the compiler log:
Edit: I am actually having further issues, here are the crash logs.
java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v7/widget/PopupMenu;
Caused by: java.lang.ClassNotFoundException: Didn't find class "android.support.v7.widget.PopupMenu" on path: DexPathList[[zip file "/data/app/com.infogiovio.app-1/base.apk"],nativeLibraryDirectories=[/vendor/lib64, /system/lib64]]
And yes I have run the jetifier tool. It seems to close before the bar has gotten to the end however, and I can't find any files with the .androidx extension in the additional libraries folder. Is this normal or is there something wrong with my jetifier tool?
Here's the compiler log:
B4X:
Compiling generated Java code. Error
B4A line: 124
nb.SetStyle(nbInboxStyle)
javac 1.8.0_101
src\com\infogiovio\app\downloadservice.java:616: error: cannot access NotificationCompat
_nb.SetStyle((androidx.core.app.NotificationCompat.Style)(_nbinboxstyle.getObject()));
^
class file for android.support.v4.app.NotificationCompat not found
Edit: I am actually having further issues, here are the crash logs.
java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v7/widget/PopupMenu;
Caused by: java.lang.ClassNotFoundException: Didn't find class "android.support.v7.widget.PopupMenu" on path: DexPathList[[zip file "/data/app/com.infogiovio.app-1/base.apk"],nativeLibraryDirectories=[/vendor/lib64, /system/lib64]]
Last edited: