hdpklm opened a new issue #733:
URL: https://github.com/apache/cordova-plugin-camera/issues/733


   # Bug Report
   
   ```
   $ cordova run android --device
   cordova-plugin-androidx: Updated gradle.properties to enable AndroidX
   Checking Java JDK and Android SDK versions
   ANDROID_SDK_ROOT=C:\hassan\cordova\sdk\sdk\ (recommended setting)
   ANDROID_HOME=C:\hassan\cordova\sdk\sdk\ (DEPRECATED)
   Using Android SDK: C:\hassan\cordova\sdk\sdk
   Subproject Path: CordovaLib
   Subproject Path: app
   
   > Task :app:compileDebugJavaWithJavac FAILED
   
C:\hassan\app-cordova\platforms\android\app\src\main\java\org\apache\cordova\camera\CameraLauncher.java:42:
 error: package android.support.v4.content does not exist
   import android.support.v4.content.FileProvider;
                                    ^
   
C:\hassan\app-cordova\platforms\android\app\src\main\java\org\apache\cordova\camera\FileProvider.java:21:
 error: package android.support.v4.content does not exist
   public class FileProvider extends android.support.v4.content.FileProvider {}
                                                               ^
   
C:\hassan\app-cordova\platforms\android\app\src\main\java\org\apache\cordova\camera\CameraLauncher.java:297:
 error: cannot find symbol
           this.imageUri = FileProvider.getUriForFile(cordova.getActivity(),
                                       ^
     symbol:   method getUriForFile(Activity,String,File)
     location: class FileProvider
   
C:\hassan\app-cordova\platforms\android\app\src\main\java\org\apache\cordova\camera\CameraLauncher.java:824:
 error: cannot find symbol
                           Uri tmpFile = 
FileProvider.getUriForFile(cordova.getActivity(),
                                                     ^
     symbol:   method getUriForFile(Activity,String,File)
     location: class FileProvider
   Note: Some input files use or override a deprecated API.
   Note: Recompile with -Xlint:deprecation for details.
   4 errors
   ```
   
   


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

Reply via email to