cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Kotikov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-11427) File plugin breaks android platform build w/ 'error: cannot find symbol'
Date Tue, 14 Jun 2016 11:20:01 GMT

     [ https://issues.apache.org/jira/browse/CB-11427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vladimir Kotikov updated CB-11427:
----------------------------------
    Fix Version/s: 4.2.1

> File plugin breaks android platform build w/ 'error: cannot find symbol'
> ------------------------------------------------------------------------
>
>                 Key: CB-11427
>                 URL: https://issues.apache.org/jira/browse/CB-11427
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File
>    Affects Versions: Master, 4.2.0-dev
>            Reporter: Vladimir Kotikov
>            Priority: Blocker
>              Labels: android, file, found-by-ci, triaged
>             Fix For: 4.2.1
>
>
> 'cordova build android' w/ file plugin added from git master branch fails w/ the following
Gradle error:
> {noformat}
> 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.
> {noformat}



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

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


Mime
View raw message