Telerik-Verified-Plugins / SecureHTTP

Cordova / Phonegap plugin for communicating with HTTP servers. Allows for SSL pinning!
MIT License
33 stars 31 forks source link

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

Open roblav96 opened 8 years ago

roblav96 commented 8 years ago

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?