I have installed Android Studio for the millionth time but when i go to C:\Program Files\Android\Android Studio , i can't find any folder named "SDK" , can't find it any where on the computer either. Also, the SDK manager doesn't open, which i guess is a problem linked to the first one.
相关问题
- How can I create this custom Bottom Navigation on
- Bottom Navigation View gets Shrink Down
- How to make that the snackbar action button be sho
- Listening to outgoing sms not working android
- How to create Circular view on android wear?
相关文章
- android开发 怎么把图片放入drawable的文件夹下
- android上如何获取/storage/emulated/下的文件列表
- androidStudio有个箭头不认识
- SQLite不能创建表
- Windows - Android SDK manager not listing any plat
- Animate Recycler View grid when number of columns
- Why is the app closing suddenly without showing an
- Android OverlayItem.setMarker(): Change the marker
System: Ubuntu 16.04 LTS, yet you can try these steps in accordance to your respective systems.
If there is an SDK file present, it should be most likely found at
/home/USERNAME/Android/sdk
USERNAME
is to be replaced by your usernameIf there is none, check the specified sdk path for the project in android studio.
File > Project Structure > sdk path
The sdk directory should be present in the specified path. In case, it is not there, open the file:
PROJECT_DIRECTORY/android/local.properties
PROJECT_DIRECTORY
needs to be replaced by your project name.If the file is not there, create it. Then add the following line depending on where you find the sdk directory.
If sdk is there at
/home/USERNAME/Android/
: add the line:sdk.dir = /home/tanya/Android/sdk
If sdk is not there at
/home/USERNAME/Android/
: add the line:sdk.dir = /home/tanya/Android/
If the path specified for sdk directory in 'Project Structure' is entirely different and the sdk directory is present at the specified location, add the line:
sdk.dir = SPECIFIED_SDK_PATH
Add the specified sdk path in place of
SPECIFIED_SDK_PATH
If you don't have it at C:\Users\%USERNAME%\AppData\Local\Android (this is where most people have it) than it is possible you don't have it installed. Go to Tools > Android > SDK Manager and then click on "Android SDK." On the top of the SDK Manager it will list the SDK Location. Click edit. If you don't have Android SDK installed, it will give you the option to install it in certain location. Install it, and Android Studio should work!
I had to open Android studio and go through the wizard. Android studio will install the SDK for you.
Tools > Android > SDK Manager > there you'll see the path to SDK
If your are using android studio go to file >> project structure on the left pane press on SDK location . you will find the path where your sdk is located
If you have downloaded the AS + SDK bundle:
If it is missing at this location, one of the following reasons apply: you have chosen a custom location, you missed to install the SDK at all, or (unlikely) they have changed the default install location.
Note #1: the
AppData
directory is hidden by default. If you have a standard Windows configuration, theC:\
path above should work "as is" (hit Win + R -> paste the path -> Enter).Note #2: you will never find the SDK in the Android Studio directory unless you have explicitly put it in there. The reason is that those directories might be deleted after installing a newer version of Android Studio and you would have to re-install the SDK as well.
If you have retrieved the standalone SDK by some other means:
The SDK location may vary (from my experience), however (assuming the default configuration) you will most likely find it in
C:\Program Files\Android
orC:\Users\%USERNAME%