在 ionic cordova 应用程序中创建构建时无法编译设置文件 Settings.gradle
从最近几天获得此错误,无法获得解决方案。
使用以下命令在转换过程中使用离子和Cordova一般错误生成Android APK
ionic cordova build android
:不支持的类文件专业版本61 您可以在此处查看错误以更好地理解
我正在使用 Gradle v7.4.2 Java v17.0.2
steratings.gradle 文件中的自动代码是
// GENERATED FILE - DO NOT EDIT
apply from: "cdv-gradle-name.gradle"
include ":"
include ":CordovaLib"
include ":app"
Getting this error from last couple of days could not able to get solution.
using below command to generate android apk using ionic and cordova
ionic cordova build android
General error during conversion: Unsupported class file major version 61
You can checkout the error here for better understanding
I am using
Gradle v7.4.2
java v17.0.2
Automated code in settings.gradle file is
// GENERATED FILE - DO NOT EDIT
apply from: "cdv-gradle-name.gradle"
include ":"
include ":CordovaLib"
include ":app"
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论