Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No Android SDK found - Android Studio

Tags:

android

I have a problem with Android 0.4.2 Studio, when creating a new application, it tells me there is a problem with the rendering and shows me the following problem:

Renderering Problems No Android SDK found. Please configure an Android SDK.

My setup SDK and JDK is this: Android SDK location: C:\adt-bundle-windows\sdk, I put the path I use in Eclipse SDK, or there may be the problem, if someone has happened and what has been fixed, I'd like to give me the solution, thank you very much.

like image 330
Javatar Avatar asked Feb 07 '14 16:02

Javatar


People also ask

How do I fix Android SDK not found?

Close the current project and you'll see a pop-up with a dialog which will then proceed to Configure option. Configure -> Project Defaults -> Project Structure -> SDKs on left column -> Android SDK Home Path -> give the exact path as you did on local. properties and select Valid Target.

How do I fix SDK not found?

Quick fix: Go to the Tools –> SDK manager –> SDK tools. Deselect Hide obsolete packages option on the right bottom and further install Android SDK Tools(obsolete). A new folder named Tools is now generated in the SDK directory. (C:\Users\..

Is Android SDK installed with Android Studio?

Within Android Studio, you can install the Android 12 SDK as follows: Click Tools > SDK Manager. In the SDK Platforms tab, select Android 12. In the SDK Tools tab, select Android SDK Build-Tools 31.

Where is Android SDK found?

For example, if your Android SDK location is at C:\Users\username\AppData\Local\Android\Sdk, clear the old path in the Android SDK Location box, paste in this path, and click OK. Note that the version number of the NDK may vary.


4 Answers

I wanted to share a part of the issue I had because it is the first google result.

I installed Android Studio, when I tried to install my first SDK from the SDK Management windows I got the error that I didn't have any SDK installed. I tried to look on the internet to manually download the .zip,manualy create the folder, no luck what so ever.

When I tried to run the Android Studio as an administrator it detected I didn't have any SDK and prompt me right away at startup to download a SDK.

like image 163
0xCDCDCDCD Avatar answered Oct 19 '22 13:10

0xCDCDCDCD


I just encountered and solve a similar problem.

First you should check the directory like other threads described. Then you can check whether the Build tool version matches your SDK version.

(e.g. for my project, in build.gradle file, you have:)

android { compileSdkVersion 21 buildToolsVersion "21.1.1" }

and then open you SDK manager, make sure you have the same version of sdk(21.1.1) installed in the selected directoriy:

If not, install it and restart Android Studio. It works for me.

I've also seen other guys saying run Android Studio as administrator would also help:

https://teamtreehouse.com/forum/i-am-getting-this-warning-message-rendering-problems-no-android-sdk-found-please-configure-an-android-sdk

like image 44
Shawn Avatar answered Oct 19 '22 13:10

Shawn


I got the same "No Android SDK Found" error message... plus no rendering for Design window, no little cellphone screen.

My SDK path was correct, pointing to where the (downloaded during setup) SDK lives.

During Setup of the SDK Mgr, I didn't download the latest "preview edition (version 20)"...(I thought it better to use the next most recent version (19)) Later I found, there was no dropdown choice in the AVD Manager to pick Version 19, only the default value of the preview, 20.

I thought "Maybe the rendering was based on a version that wasn't present yet." So, I downloaded all the "preview edition's (version 20)" SDK Platform (2) and system images (4)...

Once download/install completed, RESTARTED Android Studio and Viola! success... error message gone, rendering ok.

like image 21
WM1 Avatar answered Oct 19 '22 13:10

WM1


Don't worry just change the

build.gradle
   ext.kotlin_version = '1.2.41'

to previous version. It worked for me hope it works for you too. Happy coding.

like image 28
venky Avatar answered Oct 19 '22 14:10

venky