IntelliJ idea Error:please Select Android SDK

Source: Internet
Author: User

I encountered this error after installing Intellij idea Ultimate 14.1 and opening an existing Android project I had create D using Android Studio. It turns out I just had to add the Android SDK to my list of SDKs and fix the Project/module SDK settings. This is what I did it:

go to   File, Project Structure . Click on the Project tab under Project Settings. Under Project SDK click on   New--Android SDK .

now Select the existing directory for your Android SDK. In my case it is in this folder:

c:\users\<windows USERNAME>\APPDATA\LOCAL\ANDROID\ANDROID-SDK

click OK. A menu pops up asking your to set the Java SDK + Build target. You can either the change these or leave it as its defaults and hit Ok. You should now see "Android API XX Platform" in the Project SDK dropdown. Click apply on the bottom. Then go to the Modules tab under Project Settings and click on the folders in the Modules listing.

for each folder go to the Dependencies tab and change the Module SDK to the new Android SD K and click Apply. Then click Ok to close the Project Structure dialog.

After doing the above, my project is fixed.

IntelliJ idea Error:please Select Android SDK

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.