mercredi 21 mai 2014

Android - CordovaResourceApi importer non résolue phonegap - Stack Overflow


I am using phonegap-2.9.0 with file plugin. When I build project for android platform it creates two packages within the src folder:


org.apache.cordova.file
org.apache.cordova.filetransfer

I get below errors within these two packages:


1 - org.apache.cordova.file.FileUtils


Method testSaveLocationExists() from the type DirectoryManager is not visible
Method getFreeDiskSpace() from the type DirectoryManager is not visible
Method testFileExists() from the type DirectoryManager is not visible

2 - org.apache.cordova.filetransfer.FileTransfer


import org.apache.cordova.CordovaResourceApi unresolved
import org.apache.cordova.CordovaResourceApi.OpenForReadResult unresolved

Could someone please tell me what I should do to resolve these?


Thanks.



I am using phonegap-2.9.0 with file plugin. When I build project for android platform it creates two packages within the src folder:


org.apache.cordova.file
org.apache.cordova.filetransfer

I get below errors within these two packages:


1 - org.apache.cordova.file.FileUtils


Method testSaveLocationExists() from the type DirectoryManager is not visible
Method getFreeDiskSpace() from the type DirectoryManager is not visible
Method testFileExists() from the type DirectoryManager is not visible

2 - org.apache.cordova.filetransfer.FileTransfer


import org.apache.cordova.CordovaResourceApi unresolved
import org.apache.cordova.CordovaResourceApi.OpenForReadResult unresolved

Could someone please tell me what I should do to resolve these?


Thanks.


0 commentaires:

Enregistrer un commentaire