cordova-plugin-file-downloader
cordova-plugin-file-downloader copied to clipboard
Fail on dependence Filtransfer
Fail on dependence Filetransfer:
Cordova: 11.0.0
Android-API: 30
Gradle: 7.3.3
Java-SDK: 11.0.13
Task :app:compileDebugJavaWithJavac FAILED /home/xxx/platforms/android/app/src/main/java/org/apache/cordova/filetransfer/FileTransfer.java:48: error: cannot find symbol import org.apache.cordova.Whitelist; ^ symbol: class Whitelist location: package org.apache.cordova /home/xxxx/platforms/android/app/src/main/java/org/apache/cordova/filetransfer/FileTransfer.java:691: error: cannot find symbol Whitelist whitelist = (Whitelist)gwl.invoke(webView); ^ symbol: class Whitelist location: class FileTransfer /home/xxx/platforms/android/app/src/main/java/org/apache/cordova/filetransfer/FileTransfer.java:691: error: cannot find symbol Whitelist whitelist = (Whitelist)gwl.invoke(webView); ^ symbol: class Whitelist location: class FileTransfer Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 3 errors
FAILURE: Build failed with an exception.
I think this should be solved in my fork - https://github.com/BodoMinea/cordova-plugin-file-downloader I opened PR #20 regarding the fix inclusion back in the main repo.
Merged!
Sorry, I haven't worked with Cordova for years...
Thank you @BodoMinea... @mramonlopez no problem... thanks, I'm glad for your plugin exists. It helped me very much.