[ 
https://issues.apache.org/jira/browse/CB-11625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15629543#comment-15629543
 ] 

ASF GitHub Bot commented on CB-11625:
-------------------------------------

Github user samuelt1 commented on the issue:

    https://github.com/apache/cordova-plugin-camera/pull/235
  
    i tried to run your fix, but got this after building the code
    
    `Error: 
/Users/samuel/Documents/Apps/neurosurgery-app/platforms/android/gradlew: 
Command failed with exit code 1 Error output:
    Note: Some input files use or override a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    Note: Some input files use or override a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    
/Users/samuel/Documents/Apps/neurosurgery-app/platforms/android/src/org/apache/cordova/camera/CameraLauncher.java:32:
 error: cannot find symbol
    import org.apache.cordova.BuildHelper;
                             ^
      symbol:   class BuildHelper
      location: package org.apache.cordova
    
/Users/samuel/Documents/Apps/neurosurgery-app/platforms/android/src/org/apache/cordova/camera/CameraLauncher.java:140:
 error: cannot find symbol
            this.applicationId = (String) 
BuildHelper.getBuildConfigValue(cordova.getActivity(), "APPLICATION_ID");
                                          ^
      symbol:   variable BuildHelper
      location: class CameraLauncher
    Note: Some input files use or override a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    2 errors
    
    FAILURE: Build failed with an exception.
    
    * What went wrong:
    Execution failed for task ':compileDebugJavaWithJavac'.
    > Compilation failed; see the compiler error output for details.
    
    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or 
--debug option to get more log output.`


> Camera crashes due to FileUriExposedException issues
> ----------------------------------------------------
>
>                 Key: CB-11625
>                 URL: https://issues.apache.org/jira/browse/CB-11625
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Camera
>            Reporter: Joe Bowser
>              Labels: android, nougat, triaged
>
> There is a new URI that checks if the File URI is exposed.  It seems the 
> Android team wants to make our lives awful by using their content providers 
> that don't work with the web.  This is related to CB-11592



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to