本文介绍了无法找到Android SDK的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经安装了android studio和android sdk,后来又添加了flutter和flutter sdk.这是我的问题:我跑步时
I already had android studio and the android sdk installed,I later added flutter and flutter sdk. Here is my problem: When I run
> flutter doctor
它是
我没有安装Android SDK.
that I do not have Android SDK installed.
推荐答案
您可以使用以下项目为您的项目配置Android SDK:
You can configure the Android SDK for your project using
flutter config --android-sdk /path/to/android/sdk
PATH
变量还应包含类似SDK的
The PATH
variable also should contain the SDK like
export PATH=$PATH:/usr/local/opt/android-sdk/emulator:/usr/local/opt/android-sdk/build-tools/26.0.1:/usr/local/opt/android-sdk/platform-tools:/usr/local/opt/android-sdk/tools
/usr/local/opt/android-sdk
可能与您的系统不匹配,这只是来自
/usr/local/opt/android-sdk
might not match your system, that's just an example from
这篇关于无法找到Android SDK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!