I'm encountering an issue while trying to build my Ionic 3 app for Android with this plugin.
While I try to build I get this Android build error:
/Users/Kaz/lab/my-app/platforms/android/app/src/main/java/name/ratson/cordova/admob/AdMob.java:5: error: package android.support.annotation does not exist
import android.support.annotation.NonNull;
^
/Users/Kaz/lab/my-app/platforms/android/app/src/main/java/name/ratson/cordova/admob/AdMob.java:243: error: cannot find symbol
@NonNull
^
symbol: class NonNull
location: class AdMob
I'm encountering an issue while trying to build my Ionic 3 app for Android with this plugin.
While I try to build I get this Android build error:
Here's my ionic info :
I searched and found some people having the same issue, here's what I already tried:
cordova-plugin-androidx
and even tried to modifyAdMob.java
"NonNull" import toandroidx.support.annotation
=> still doesn't workAny ideas on how to solve this issue ?