Skip to content

error: package org.apache.cordova.file does not exist #9

@roblav96

Description

@roblav96

Can't seem to get this to build on android.

:compileDebugJava/Users/admin/Projects/test-app/client/platforms/android/src/com/synconset/CordovaHttpDownload.java:20: error: package org.apache.cordova.file does not exist
import org.apache.cordova.file.FileUtils;
                              ^
/Users/admin/Projects/test-app/client/platforms/android/src/com/synconset/CordovaHttpDownload.java:48: error: cannot find symbol
                JSONObject fileEntry = FileUtils.getEntry(file);
                                       ^
  symbol:   variable FileUtils
  location: class CordovaHttpDownload
Note: Some input files use or override a deprecated API.
Cordova CLI: 5.4.0
Gulp version:  CLI version 3.9.0
ios-deploy version: 1.8.2 
ios-sim version: 5.0.3 
OS: Mac OS X El Capitan
Node Version: v5.0.0
Xcode version: Xcode 7.1 Build version 7B91b 

I tried installing the latest cordova-file-plugin but I'm still getting this error. Maybe it has something to do with gradle?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions