dgl30 opened a new issue #699:
URL: https://github.com/apache/cordova-plugin-camera/issues/699
<!--
Please have a look at the issue templates you get when you click "New issue"
in the GitHub UI.
We very much prefer issues created by using one of these templates.
-->
### Issue Type
<!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
- [x] Bug Report
- [ ] Feature Request
- [ ] Support Question
## Description
Ionic v. 5.4.16, Angular 9 and cordova-android@^9.0.0 conflict with plugin
cordova-plugin-fingerprint-aio wich enables android.useAndroidX=true.
SDK android-30 or android-29 don't contain the package
android.support.v4.content does not exist
Plugin cordova-plugin-androidx-adapter does not any effect.
## Information
### Command or Code
ionic cordova remove android
ionic cordova add android
ionic cordova build android
ionic cordova compile android <-- error here
CameraLauncher.java:42: error: package android.support.v4.content does not
exist
import android.support.v4.content.FileProvider;
FileProvider.java:21: error: package android.support.v4.content does not
exist
public class FileProvider extends android.support.v4.content.FileProvider {}
CameraLauncher.java:296: error: cannot find symbol
this.imageUri = FileProvider.getUriForFile(cordova.getActivity(),
CameraLauncher.java:823: error: cannot find symbol
Uri tmpFile =
FileProvider.getUriForFile(cordova.getActivity(),
### Environment, Platform, Device
Android 11 (30 API level);
### Version information
Ionic v. 5.4.16
Gradle 6.5
Android Studio 4.x and WebStorm 2017.3
"cordova-android": "^9.0.0",
"cordova-plugin-androidx-adapter": "1.1.3",
"cordova-plugin-camera": "5.0.1",
"cordova-plugin-device": "2.0.2",
"cordova-plugin-file": "6.0.2",
"cordova-plugin-file-transfer": "1.7.1",
"cordova-plugin-fingerprint-aio": "4.0.1",
"cordova-plugin-inappbrowser": "4.0.0",
"cordova-plugin-ionic-keyboard": "2.2.0",
"cordova-plugin-ionic-webview": "5.0.0",
"cordova-plugin-splashscreen": "5.0.2",
"cordova-plugin-statusbar": "2.4.2",
"cordova-plugin-whitelist": "1.3.3",
## Checklist
<!-- Please check the boxes by putting an `x` in the `[ ]` like so: `[x]` -->
- [x] I searched for already existing GitHub issues about this
- [x] I updated all Cordova tooling to their most recent version
- [x] I included all the necessary information above
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]