-
Notifications
You must be signed in to change notification settings - Fork 292
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
Cannot compile with android 10.0.0 #283
Comments
Any update on this? Currently we have a customer project which is using this plugin. With the latest Cordova-android update, we want to get this working. Any pointers how one can update the project to link with latest cordova-android? Srinidhi |
Same issue here, Any workaround to this issue? |
Hi all, please see a commit I've posted to our repo to resolve this: This is working for me, but I assume breaks building pre-AndroidX. Would be curious if it works for others. |
@cdipierr - your updates worked for me. Saved me a ton of time, thanks a lot! |
Encountered the same compilation issues after upgrading to [email protected] to meet Google's minimum API requirement. An update to fix the Android 10 issues would be great per @cdipierr's fork which worked perfectly. |
did you find any solution ? |
any solution for this ? |
I've created a node js script to automate the package naming update. link to download script: https://file.io/TcAqlf9D0WiS |
You can run "npx jetify" to rename packages to AndroidX |
You can use cordova-plugin-androidx-adapter it will replace any legacy Support Library references. |
Thanks a lot !!! |
Cannot compile when using [email protected]. I had to upgrade because google play is now requiring we target at least API level 30.
If I uninstall both @ionic-native/printer and cordova-plugin-printer it compiles fine, so this is definitely the culprit.
Below are all the errors that show when running ionic cordova build android --prod --release.
ionic cordova build ios --prod works fine.
The text was updated successfully, but these errors were encountered: