him*_*sag 34 apache android file cordova
我正在使用phonegap-2.9.0文件插件.当我为android平台构建项目时,它在src/文件夹中创建了两个包:
org.apache.cordova.file
org.apache.cordova.filetransfer
Run Code Online (Sandbox Code Playgroud)
我在这两个包中得到以下错误:
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
Run Code Online (Sandbox Code Playgroud)
2 - org.apache.cordova.filetransfer.FileTransfer
import org.apache.cordova.CordovaResourceApi unresolved
import org.apache.cordova.CordovaResourceApi.OpenForReadResult unresolved
Run Code Online (Sandbox Code Playgroud)
有人可以告诉我应该怎么做才能解决这些问题?
谢谢.
小智 0
嗯,我不知道我是否可以帮助你,但我也遇到过类似的问题。当我恰好安装这两个插件时,我也遇到了错误。另一个不同的,我不太记得了,与我可以在文件管理器中轻松找到的丢失文件有关。无论如何,对我有帮助的是: