Android Studio using existing android sdk

前端 未结 4 1898
耶瑟儿~
耶瑟儿~ 2021-01-01 12:10

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 andr

相关标签:
4条回答
  • 2021-01-01 12:51

    Follow this:

    • 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.

    Hope this helps.

    enter image description here

    0 讨论(0)
  • 2021-01-01 12:55

    In Android Studio

    Go to

    File -> project Structure into Project Structure
    Left -> SDK Location
    SDK location select Android SDK location (old version use Press +, add another sdk)
    
    0 讨论(0)
  • 2021-01-01 12:57

    How you do it without having to download another 1GB android sdk:

    While installing Android Studio, you have an option to install Custom or Standard.

    Choose Custom, and then set the location of your android SDK to where your SDK currently resides.

    A red message will appear saying that an existing SDK installation was detected and that only outdated and missing plugins will be installed.

    :)

    0 讨论(0)
  • 2021-01-01 13:00

    Go to Configure > Project Defaults > Project Structure. There is a setting: SDK Location.

    Changing that will make AS use the specified SDK (instead of the one it comes with) for all your projects.

    0 讨论(0)
提交回复
热议问题