No Android SDK found - Android Studio

2020-04-02 08:45发布

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.

标签: android
16条回答
劳资没心,怎么记你
2楼-- · 2020-04-02 09:00

According to the Android Studio download page, the SDK comes bundled with Android Studio. It has its own copy when you install Android Studio.

ADT is a plugin for Eclipse. Try reading through that webpage to see if there is something that got missed when installing.

Here is the wording from the site, regarding ADT:

Similar to Eclipse with the ADT Plugin, Android Studio provides integrated Android developer tools for development and debugging.

查看更多
走好不送
3楼-- · 2020-04-02 09:02

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.

查看更多
手持菜刀,她持情操
4楼-- · 2020-04-02 09:05

I had the same problem, Android Studio just could not identify the android-sdk folder. All I did was to uninstall and reinstall android studio, and this time it actually identified the folder. Hope it also works out for you.

查看更多
Bombasti
5楼-- · 2020-04-02 09:07

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.

查看更多
走好不送
6楼-- · 2020-04-02 09:07

Try make New Project, and then choose same android version that you've installed sdk verions on "Target Android Device" dialog. In my case, error message gone.

查看更多
你好瞎i
7楼-- · 2020-04-02 09:09

From the File menu, choose Project Structure (if you're running 0.4.4 there's a bug and the menu item doesn't have a title, but it still works), and choose the Android SDK item. You should see something like this where you can set up your JDK and SDK.

Project Structure dialog, Android SDK tab

After setting it, quit Android Studio and relaunch it for good measure.

查看更多
登录 后发表回答