android sdk path no specified,Android SDK path not specified

问题

I already installed the android studio but i am having a problem to proceed ahead,

and the problem is Android SDK path not specified, what does it mean, do i need to download something or what?Android SDK is having problem

回答1:

Go through the following steps but first make sure your PC is connected to the internet.

Open your Android Studio

Go to the File menu and choose Settings

After that from the left side of Settings window select Android SDK and click Edit

Then from SDK Setup Window Click Next and Another window will be opened click Next.

Finally, the installation starts and Android Studio download the SDK and necessary files.

回答2:

Yes, you need to download the Android SDK. Then you need to add the location on your computer to Android Studio.

The SDK can be downloaded by opening a workspace in Android Studio, and finding a button with an arrow pointing down. If you hover over it, it should say "Open SDK manager". Press it and download the packages you need.

回答3:

Yes, Before installation it will ask you options.Just tick mark Android SDK.

See below:

Refer link: https://developer.android.com/studio/install

回答4:

The installer is misleading making you think the SDK is already there. After much searching I figured this out:

Cancel the dialogue box asking for the Android SDK path and do the following:

Open Android Studio IDE. Find the down arrow icon, should be second last icon in the toolbar. Click that. You will see a path for Android SDK Location:. Click the edit link to the right of that. This will bring up the SDK Components Screen. If you can check the boxes there, check them. They may already be checked or they may be disabled. You can leave the path as is, for me its:

C:\Users\\AppData\Local\Android\Sdk

Depending on whether you had Android Studio before it may say it has detected a previous version and it will only download the components it needs. This is normal. Now click the NEXT button. A confirmation screen will come up with Setup Type and SDK Folder. If you want to change your SDK Folder this is your last chance, if not, click NEXT again.

It may bring up a Terms & Conditions screen, click the Accept radio button then NEXT. It will go and download the Android base SDK. When it's completed click FINISH.

You will then be taken to the Platforms screen where you can select which Android platforms you want to support. ie, Android 9.0 (Pie), Android 8.1 (Oreo). Select all the platforms you need then click APPLY.

The downloader will grab all those packages for you. Next, click the SDK Tools tab. Check the boxes of the tools you want and click APPLY. It may bring up a Terms & Conditions screen again, click the Accept radio button then NEXT. When completed just click FINISH and you're good to go.

回答5:

In some cases, the project works properly but suddenly this error appears even though the project has nothing to do with Android

If this is your case, try the following steps:

Find a file in your project called tests.iml (or File ending in .iml)

file location in default is C:\yourProject\tests\tests.iml

Revert to the last version for all page by the click on the git change icon (1) and click on the revert button (2)

As the following image:

Run project

来源:https://stackoverflow.com/questions/44095750/android-sdk-path-not-specified

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值