android - JitPack 构建失败“错误:未找到构建工件”
问题描述
我似乎无法理解为什么 JitPack 无法构建我的库,当我检查构建日志时,我发现了这些错误和警告:
An exception occurred applying plugin request [id: 'com.android.application']
> Failed to apply plugin 'com.android.internal.application'.
> Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
WARNING:
Gradle 'install' task not found. Please add the 'maven' or 'android-maven' plugin.
我尝试按照此 StackOverflow答案中的建议解决 Java 版本错误,但它没有做任何事情。
我做错了什么,我该如何解决?
解决方案
推荐阅读
- python - 关于删除 numpy 代码中的嵌套循环的建议,包括条件和屏蔽数据
- c# - 如何级联删除?
- laravel - 即使会话过期,Laravel API 调用也会继续
- google-maps - 嵌入谷歌地图时如何将一个地方显示为活动?
- c# - 在 List 中创建新的模型数组
包含每四个索引中的值 - r - cudNN lstm的GPU内存使用和加速
- python-3.x - 需要从 2 个日历函数中获取值,找到差异并将其存储在标签小部件中
- javascript - Python Selenium:单击带有 JavaScript onFocus 验证的按钮
- tensorflow - 在基本的 Mnist keras 示例中,所有权重都变为 NaN
- python-3.x - 非法指令4(把python安装弄得一团糟,不知道我在做什么)