Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4301618BE2 for ; Mon, 16 Nov 2015 18:52:13 +0000 (UTC) Received: (qmail 2561 invoked by uid 500); 16 Nov 2015 18:52:11 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 2405 invoked by uid 500); 16 Nov 2015 18:52:11 -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 1956 invoked by uid 99); 16 Nov 2015 18:52:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Nov 2015 18:52:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 141822C1F6C for ; Mon, 16 Nov 2015 18:52:11 +0000 (UTC) Date: Mon, 16 Nov 2015 18:52:11 +0000 (UTC) From: "Jason Ginchereau (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CB-9999) Cordova file plugin: error: package org.apache.cordova.file does not exist MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-9999?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Ginchereau updated CB-9999: --------------------------------- Labels: Android (was: ) > Cordova file plugin: error: package org.apache.cordova.file does not exist > -------------------------------------------------------------------------- > > Key: CB-9999 > URL: https://issues.apache.org/jira/browse/CB-9999 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin File, Plugin File Transfer > Environment: MacOS > Reporter: romeo mihalcea > Labels: Android > > After installing the `cordova-plugin-file` and trying to run the project I get this error in the console: > {code:borderStyle=solid} > .../local/cordova-build/platforms/android/src/org/apache/cordova/filetransfer/FileTransfer.java:59: error: package org.apache.cordova.file does not exist > import org.apache.cordova.file.FileUtils; > ^ > .../local/cordova-build/platforms/android/src/org/apache/cordova/filetransfer/FileTransfer.java:934: error: cannot find symbol > FileUtils filePlugin = (FileUtils) pm.getPlugin("File"); > ^ > symbol: class FileUtils > .../local/cordova-build/platforms/android/src/org/apache/cordova/filetransfer/FileTransfer.java:934: error: cannot find symbol > FileUtils filePlugin = (FileUtils) pm.getPlugin("File"); > ^ > symbol: class FileUtils > Note: Some input files use or override a deprecated API. > Note: Recompile with -Xlint:deprecation for details. > Note: Some input files use unchecked or unsafe operations. > Note: Recompile with -Xlint:unchecked for details. > 3 errors > :compileDebugJava FAILED > FAILURE: Build failed with an exception. > * What went wrong: > Execution failed for task ':compileDebugJava'. > > Compilation failed; see the compiler error output for details. > {code} -- 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