是否有必要安装 Android Studio for flutter 或者什么可以替代 android studio? [英] Is it necessary to install Android Studio for flutter or what can be replacement for android studio?

查看:60
本文介绍了是否有必要安装 Android Studio for flutter 或者什么可以替代 android studio?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 vscode 并安装了 flutter 插件、Dart 插件等,但仍然找不到我的设备,我发现问题如下

I am using vscode and I installed the flutter plugins, Dart plugins and etc but still, I cannot find my device as well as I Found the issues as follows

[flutter] flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, v1.7.8+hotfix.3, on Microsoft Windows 
[Version 10.0.18362.239], locale en-IN)
[X] Android toolchain - develop for Android devices
    X Unable to locate Android SDK.
      Install Android Studio from: 
https://developer.android.com/studio/index.html
  On first launch it will assist you in installing the Android SDK components.
  (or visit https://flutter.dev/setup/#android-setup for detailed instructions).
  If the Android SDK has been installed to a custom location, set ANDROID_HOME to that location.
  You may also want to add it to your PATH environment variable.

[!] Android Studio (not installed)
[√] VS Code (version 1.36.1)
[!] Connected device
! No devices available

! Doctor found issues in 3 categories.

推荐答案

您需要安装 Android Studio 才能获得 Android SDK.使用Android Studio获取Android SDK后,即可继续使用VScode进行flutter开发.

You need to install Android Studio in order to get Android SDK. After you use Android Studio to get the Android SDK, you can continue use VScode for flutter development.

希望这个回答有帮助!

这篇关于是否有必要安装 Android Studio for flutter 或者什么可以替代 android studio?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆