首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >cordova插件-插件-文件传输插件的问题

cordova插件-插件-文件传输插件的问题
EN

Stack Overflow用户
提问于 2022-07-07 13:20:39
回答 1查看 373关注 0票数 0

在一个cordova项目中,我合并了cordova- plugin -文件传输插件,但是添加这个插件给了我这个问题:

代码语言:javascript
复制
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

删除这个插件一切都很好。这么说这个插件是破旧的?我怎么能换掉它呢?

EN

回答 1

Stack Overflow用户

发布于 2022-07-08 11:51:56

您是否有更具体的错误输出?我相信':app:compileDebugJavaWithJavac‘是一个通用错误,您应该在您的终端中获得更多的信息。这个插件有几个问题,我们用叉子来规避其中的一些问题:cordova- plugin -file ios-fix。

另外,这个插件不适用于cordova 11。最后,据报道,这个插件被废弃了,您可能会考虑让它的替换(XMLHttpRequest)工作,而不是花费精力在这个插件上。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/72898596

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档