You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/12/31 11:42:29 UTC

[GitHub] [cordova-plugin-camera] dgl30 opened a new issue #699: Compile Android error: package android.support.v4.content does not exist

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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-camera] timbru31 closed issue #699: Compile Android error: package android.support.v4.content does not exist

Posted by GitBox <gi...@apache.org>.
timbru31 closed issue #699:
URL: https://github.com/apache/cordova-plugin-camera/issues/699


   


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-camera] timbru31 edited a comment on issue #699: Compile Android error: package android.support.v4.content does not exist

Posted by GitBox <gi...@apache.org>.
timbru31 edited a comment on issue #699:
URL: https://github.com/apache/cordova-plugin-camera/issues/699#issuecomment-753910953


   See also apache/cordova-android#841 and the discussion on YT: https://youtube.com/watch?v=oarY6ZYj-CU, if interested.


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-camera] farman-Ameer commented on issue #699: Compile Android error: package android.support.v4.content does not exist

Posted by GitBox <gi...@apache.org>.
farman-Ameer commented on issue #699:
URL: https://github.com/apache/cordova-plugin-camera/issues/699#issuecomment-891480108


   use this
   ionic cordova plugin add  cordova-androidx-build


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-camera] timbru31 commented on issue #699: Compile Android error: package android.support.v4.content does not exist

Posted by GitBox <gi...@apache.org>.
timbru31 commented on issue #699:
URL: https://github.com/apache/cordova-plugin-camera/issues/699#issuecomment-753910953


   See also apache/cordova-android#841 and the discussion on YT: youtube.com/watch?v=oarY6ZYj-CU, if interested.


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-camera] timbru31 commented on issue #699: Compile Android error: package android.support.v4.content does not exist

Posted by GitBox <gi...@apache.org>.
timbru31 commented on issue #699:
URL: https://github.com/apache/cordova-plugin-camera/issues/699#issuecomment-753908906


   Overall discussion in regards to AndroidX is at apache/cordova#69


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-camera] breautek commented on issue #699: Compile Android error: package android.support.v4.content does not exist

Posted by GitBox <gi...@apache.org>.
breautek commented on issue #699:
URL: https://github.com/apache/cordova-plugin-camera/issues/699#issuecomment-1066754802


   > @timbru31 Agree that overall discussion is at [apache/cordova#69](https://github.com/apache/cordova/issues/69), but what is best practice for users of this plugin at this point?
   
   The latest release of this plugin is compatible with the latest release of cordova-android platform.


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-camera] antgel commented on issue #699: Compile Android error: package android.support.v4.content does not exist

Posted by GitBox <gi...@apache.org>.
antgel commented on issue #699:
URL: https://github.com/apache/cordova-plugin-camera/issues/699#issuecomment-1066750047


   @timbru31 Agree that overall discussion is at https://github.com/apache/cordova/issues/69, but what is best practice for users of this plugin at this point?


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org