使用现有 android sdk 的 Android Studio [英] Android Studio using existing android sdk
本文介绍了使用现有 android sdk 的 Android Studio的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经下载了所有平台/源/等的最新 android sdk.我如何告诉 Android Studio 使用现有的 android sdk 而不将其移动到 android-studio\sdk\
?
I already have the latest android sdk with all platforms/sources/etc downloaded.
How can i tell Android Studio to use an existing android sdk without moving it to android-studio\sdk\
?
推荐答案
按照这个:
- 在 Android Studio 中打开您的项目.
- 通过 F4 转到项目的设置.或者选择项目根目录 -> 右键单击,然后选择模块设置.
- 您会找到项目设置和模块设置,如果需要,您可以在其中选择 JDK 和 Android SDK.
- 例如在平台设置下,您会找到SDK,您只需点击绿色+号即可将您自己的路径添加到本地存在的SDK中.
- Open up your project in Android Studio.
- Go to Settings for the Project via F4. Or selecting the Project Root -> Right-Click and then Module Settings.
- You will find Project Settings and Module Settings under which you have the option of selecting both your JDK and Android SDKs if you want.
- For e.g. under Platform Settings, you will find SDKs and you can simply tap on the green + sign to add your own path to a locally present SDK.
希望这会有所帮助.
这篇关于使用现有 android sdk 的 Android Studio的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文