我正在使用Visual Studio代码在学校为我的俱乐部创建一个移动应用程序。我下载了android sdk,但是当我将ANDROID_HOME变量设置为sdk所在的位置时,出现此错误:
[√] Flutter (Channel beta, v0.11.13, on Microsoft Windows [Version
10.0.17134.407], locale en-US)
[X] Android toolchain - develop for Android devices
X ANDROID_HOME = C:\Users\shant\AppData\Local\Android\Sdk
but Android SDK not found at this location.
[√] Android Studio (version 3.2)
[!] Android Studio
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
X android-studio-dir = /path/to/android/studio
X Android Studio not found at /path/to/android/studio
[√] IntelliJ IDEA Ultimate Edition (version 2018.3)
[!] Connected device
! No devices available
! Doctor found issues in 3 categories.
我当时想我应该尝试重新下载它,但我不太确定该怎么做。请,任何帮助。谢谢。
答案 0 :(得分:0)
我有与上述主题相同的问题。操作系统Linux。在Visual Studio的终端中,在调试路径中看起来没问题,请参见下面的图片