-
Notifications
You must be signed in to change notification settings - Fork 388
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build failed: Plugin with id 'com.android.library' not found #312
Comments
flutter doctor -v [✓] Flutter (Channel stable, 1.22.6, on Microsoft Windows [Version 10.0.19042.928], locale zh-CN)
• Flutter version 1.22.6 at D:\flutter
• Framework revision 9b2d32b605 (3 months ago), 2021-01-22 14:36:39 -0800
• Engine revision 2f0af37152
• Dart version 2.10.5
• Pub download mirror https://mirrors.tuna.tsinghua.edu.cn/dart-pub
• Flutter download mirror https://mirrors.tuna.tsinghua.edu.cn/flutter
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at C:\Users\dell\AppData\Local\Android\sdk
• Platform android-30, build-tools 30.0.2
• Java binary at: D:\Program Files (x86)\Jetbrains\apps\AndroidStudio\ch-0\201.7199119\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
• All Android licenses accepted.
[!] Android Studio (version 4.1.0)
• Android Studio at D:\Program Files (x86)\Jetbrains\apps\AndroidStudio\ch-0\201.7199119
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
[✓] Connected device (1 available)
• Android SDK built for x86 (mobile) • emulator-5554 • android-x86 • Android 10 (API 29) (emulator)
! Doctor found issues in 1 category. |
建议删除缓存重新 pub get |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please raise a new issue. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
运行没有问题,flutter build apk会报错
报错Error:
gradle: gradle-6.7-all
com.android.tools.build:gradle:4.1.0
#252 #256 #260 didn't help
这些类似的问题我都看过试过了,但是还是无法解决
The text was updated successfully, but these errors were encountered: