Please use Android Tools > Fix Project Properties

Android requires compiler compliance level 5.0 or 6.0. Found '1.7' instead. Please use Android Tools > Fix Project Properties.

1. 项目 右键 ->android tools ->Fix Project

2. 如果不可以,检查Project -> Properties->Java Compiler
确认JDK compliance被设置为1.6,并且enable specific seetings
Launching lib\main.dart on MI PAD 4 PLUS in debug mode... Running Gradle task 'assembleDebug'... Warning: Flutter support for your project's Android Gradle Plugin version (7.3.0) will soon be dropped. Please upgrade your Android Gradle Plugin version to a version of at least 7.3.1 soon. Alternatively, use the flag "--android-skip-build-dependency-validation" to bypass this check. Potential fix: Your project's AGP version is typically defined in the plugins block of the `settings.gradle` file (C:\Users\83836\Desktop\mt_data\android/settings.gradle), by a plugin with the id of com.android.application. If you don't see a plugins block, your project was likely created with an older template version. In this case it is most likely defined in the top-level build.gradle file (C:\Users\83836\Desktop\mt_data\android/build.gradle) by the following line in the dependencies block of the buildscript: "classpath 'com.android.tools.build:gradle:<version>'". Warning: Flutter support for your project's Kotlin version (1.7.10) will soon be dropped. Please upgrade your Kotlin version to a version of at least 1.8.10 soon. Alternatively, use the flag "--android-skip-build-dependency-validation" to bypass this check. Potential fix: Your project's KGP version is typically defined in the plugins block of the `settings.gradle` file (C:\Users\83836\Desktop\mt_data\android/settings.gradle), by a plugin with the id of org.jetbrains.kotlin.android. If you don't see a plugins block, your project was likely created with an older template version, in which case it is most likely defined in the top-level build.gradle file (C:\Users\83836\Desktop\mt_data\android/build.gradle) by the ext.kotlin_version property. Checking the license for package NDK (Side by side) 26.3.11579264 in C:\Users\83836\AppData\Local\Android\Sdk\licenses License for package NDK (Side by side) 26.3.11579264 accepted. Preparing "Install NDK (Side by side) 26.3.11579264 (revision: 26.3.11579264)". 这是为什么
05-24
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值