Android Question NotificationBuilder AndroidX issues

Yuri Cinesi

Licensed User
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 ( 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:

Compiling generated Java code.    Error
B4A line: 124
javac 1.8.0_101
src\com\infogiovio\app\ error: cannot access NotificationCompat
  class file for 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 "" on path: DexPathList[[zip file "/data/app/"],nativeLibraryDirectories=[/vendor/lib64, /system/lib64]]
Last edited:


Staff member
Licensed User
Is this normal or is there something wrong with my jetifier tool?
Not normal. Where is the additional libraries folder stored?

You can run the tool from the command line. It will allow you to see the error message.
cd C:\Program Files (x86)\Anywhere Software\Basic4android
java -jar Jetifier.jar c:\Users\H\Documents\AdditionalLibs\B4A
Change the path to the additional libraries as needed.

Yuri Cinesi

Licensed User
Using the --illegal-access=warn flag does not fix the issue.
It does not seem related to the folder being in program files as running it in an elevated command prompt doesn't fix it either.

Yuri Cinesi

Licensed User
Yep, moving everything fixes it. Wonder why it wouldn't work even under an elevated command prompt. Many thanks.