You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2021/07/23 06:54:28 UTC
[GitHub] [cordova-plugin-file-transfer] pawan-logiciel commented on issue #306: Cordova Android 10.0.0 not compiling - cannot find symbol "import org.apache.cordova.Whitelist;"
pawan-logiciel commented on issue #306:
URL: https://github.com/apache/cordova-plugin-file-transfer/issues/306#issuecomment-885438660
Hey @Priyansu431 I am also facing this issue with your above solution my `/platforms/android/app/src/main/java/org/apache/cordova/filetransfer/FileTransfer.java:48: error: cannot find symbol
import org.apache.cordova.Whitelist;` problem get resolved but I am facing another issue as well
` Task :app:compileDebugJavaWithJavac FAILED
/platforms/android/app/src/main/java/org/apache/cordova/filetransfer/FileTransfer.java:49: error: package org.apache.cordova.file does not exist
import org.apache.cordova.file.FileUtils;
^
/platforms/android/app/src/main/java/com/silkimen/cordovahttp/CordovaHttpDownload.java:13: error: package org.apache.cordova.file does not exist
import org.apache.cordova.file.FileUtils;
^
/platforms/android/app/src/main/java/org/apache/cordova/filetransfer/FileTransfer.java:851: error: cannot find symbol
FileUtils filePlugin = (FileUtils) pm.getPlugin("File");
^
symbol: class FileUtils
/platforms/android/app/src/main/java/org/apache/cordova/filetransfer/FileTransfer.java:851: error: cannot find symbol
FileUtils filePlugin = (FileUtils) pm.getPlugin("File");
^
symbol: class FileUtils
/platforms/android/app/src/main/java/com/silkimen/cordovahttp/CordovaHttpDownload.java:34: error: cannot find symbol
JSONObject fileEntry = FileUtils.getFilePlugin().getEntryForFile(file);
^
symbol: variable FileUtils
location: class com.silkimen.cordovahttp.CordovaHttpDownload`
can you please help me on this?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org