-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build fails with android.support.v4.content #539
Comments
any updates? |
Not on my side, only choice I had left was to revert back to using Cordova Android 7.1.4, cannot use Cordova Android 8.x |
All tasks that talk about this problem were closed but the problem persists. |
The PR #418 is not closed. cordova-android@9 added opt-in AndroidX support. The general discussion about enforcing AndroidX in our core plugins is at apache/cordova#69 |
To make this work correctly with ionic I did: |
Hey dude... you left off the last bit of your sentence... adjust config file with what? I'm having the same problem. |
The following fixed it for me:
I am not using Ionic. |
This solved my issue. |
I had added cordova-plugin-androidx-adapter before adding the camera plugin. |
Bug Report
Problem
What is expected to happen?
Android should build successfully
What does actually happen?
Build fails.
Information
Hi,
I have a project that was running without AndroidX before so it could be compiled, but now to target higher API levels we need to use androidx. So to solve this issue we have installed the following plugins:
cordova-plugin-androidx
cordova-plugin-androidx-adapter
However during build time we still get the following error, including from camera cordova plugin:
`
So it seems both this plugin cordova-plugin-ionic-webview and camera are involved.
Command or Code
cordova build android
Environment, Platform, Device
MacOS, Mojave
Version information
Checklist
The text was updated successfully, but these errors were encountered: