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 08:50

Do following steps

a) Change minSdkVersion and sync gradle

b) Revert back your minSdkVersion and sync gradle again

It will be resolved.

查看更多
beautiful°
3楼-- · 2020-04-02 08:50

Here is the solution just copy your SDK Manager.exe file at the root folder of your android studio's installation, Sync your project and cheers... here is the link for details. running Android Studio on Windows 7 fails, no Android SDK found

查看更多
4楼-- · 2020-04-02 08:53

i have just discovered, android studio 3.0.1 has no sdk during the installation. because during the installation, it doesn't give sdk as part of install able unlike in recent versions of android studio.

查看更多
手持菜刀,她持情操
5楼-- · 2020-04-02 08:54

Download android sdk through this sdk manager https://dl.google.com/android/repository/tools_r25.2.3-macosx.zip (note this link is for mac) open android studio, click next, open where it ask to add path where u downloaded sdk..... add it... click next, it will downloaad updates..... and it done

查看更多
爱情/是我丢掉的垃圾
6楼-- · 2020-04-02 08:57

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

查看更多
老娘就宠你
7楼-- · 2020-04-02 08:59

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.

查看更多
登录 后发表回答