Android.support.v4.content and android.support.annotations does not exist

Hi,

Please help:
My Ionic 3 android build fails with errors on IonicWebViewEngine.java and all the camera java files (CameraLauncher.java, FileProvider.java, etc).

I have tried adding plugin cordova-android-support-gradle-release and cordova-plugin-android-support-v4 but nothing seems to work.

If I look at Android Studio SDK manager -> SDK Tools -> Support Repository I see that Android Support Repository 47.0.0 is installed.

Ionic CLI: 5.2.2 Cordova CLI: 9.0.0 Android SDK Tools: 26.1.1

Here is a link to my StackOverflow question

For the next person running into this. It was solved by adding plugin github.com/dpa99c/cordova-plugin-androidx-adapter

2 Likes