【发布时间】:2022-07-08 19:53:05
【问题描述】:
在一个 cordova 项目中,我合并了 cordova-plugin-file-transfer 插件,但添加它会给我带来这个问题:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.1.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 6s
45 actionable tasks: 5 executed, 40 up-to-date
删除这个插件一切正常。 所以这个插件是老掉牙的? 我该如何替换它?
【问题讨论】: