Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-11427

File plugin breaks android platform build w/ 'error: cannot find symbol'

    XMLWordPrintableJSON

Details

    Description

      'cordova build android' w/ file plugin added from git master branch fails w/ the following Gradle error:

      Error: /private/var/folders/nd/5vd2nqsn3tlc6kljds0c95200000gp/T/tmp-21847jTje5M03ERRh/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.
      /private/var/folders/nd/5vd2nqsn3tlc6kljds0c95200000gp/T/tmp-21847jTje5M03ERRh/platforms/android/src/org/apache/cordova/file/LocalFilesystem.java:387: error: cannot find symbol
                  rawData = data.getBytes(Charset.defaultCharset());
                                          ^
        symbol:   variable Charset
        location: class LocalFilesystem
      Note: /private/var/folders/nd/5vd2nqsn3tlc6kljds0c95200000gp/T/tmp-21847jTje5M03ERRh/platforms/android/src/org/apache/cordova/file/DirectoryManager.java uses or overrides a deprecated API.
      Note: Recompile with -Xlint:deprecation for details.
      Note: /private/var/folders/nd/5vd2nqsn3tlc6kljds0c95200000gp/T/tmp-21847jTje5M03ERRh/platforms/android/src/org/apache/cordova/file/AssetFilesystem.java uses unchecked or unsafe operations.
      Note: Recompile with -Xlint:unchecked for details.
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vladimir.kotikov Vladimir Kotikov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: