Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id F1A90200AF7 for ; Tue, 14 Jun 2016 13:22:02 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id F0517160A56; Tue, 14 Jun 2016 11:22:02 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 42DE31602C5 for ; Tue, 14 Jun 2016 13:22:02 +0200 (CEST) Received: (qmail 80369 invoked by uid 500); 14 Jun 2016 11:22:01 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 80358 invoked by uid 99); 14 Jun 2016 11:22:01 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2016 11:22:01 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 40CD02C0451 for ; Tue, 14 Jun 2016 11:22:01 +0000 (UTC) Date: Tue, 14 Jun 2016 11:22:01 +0000 (UTC) From: "Vladimir Kotikov (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CB-11427) File plugin breaks android platform build w/ 'error: cannot find symbol' MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 14 Jun 2016 11:22:03 -0000 [ https://issues.apache.org/jira/browse/CB-11427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vladimir Kotikov resolved CB-11427. ----------------------------------- Resolution: Fixed > 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