Hi,
I updated to AndroidX SDK and found I can't seem to compile my app.
I am using the NotificationBuilder6.
I have TargetSDKVersion 28 in the Manifest.
I have updated all SDK the latest from Tools > SDK Manger.
When I go to Tools > Jetifier (AndroidX) it comes up saying 'All set. Nothing to do!'
It lets me press the refresh button but it looks like it's doing nothing. The Jetify button doesn't seem to work or is disabled. (I click on it and it does nothing, don't even see the button press happen)
When I compile my app I get the following error:
Before updating to AndroidX SDK it all was working fine.
Any ideas on what I have done wrong ?
I updated to AndroidX SDK and found I can't seem to compile my app.
I am using the NotificationBuilder6.
I have TargetSDKVersion 28 in the Manifest.
I have updated all SDK the latest from Tools > SDK Manger.
When I go to Tools > Jetifier (AndroidX) it comes up saying 'All set. Nothing to do!'
It lets me press the refresh button but it looks like it's doing nothing. The Jetify button doesn't seem to work or is disabled. (I click on it and it does nothing, don't even see the button press happen)
When I compile my app I get the following error:
B4A Version: 9.50
Java Version: 8
Parsing code. (0.22s)
Building folders structure. (0.02s)
Compiling code. (1.19s)
Compiling layouts code. (0.13s)
Organizing libraries. (0.00s)
(AndroidX SDK)
Generating R file. (0.00s)
Compiling debugger engine code. (3.52s)
Compiling generated Java code. Error
B4A line: 2724
Dim jo As JavaObject = nb
javac 1.8.0_60
src\com\myapp\app\namehere.java:5292: error: cannot access NotificationCompat
_jo.setObject((java.lang.Object)(_nb.getObject()));
^
class file for android.support.v4.app.NotificationCompat not found
Before updating to AndroidX SDK it all was working fine.
Any ideas on what I have done wrong ?