Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Upgrade IntelliJ to 10.5 and Android build fails Android SDK not specified

I just recently updated my IntelliJ Idea installation on my Mac to 10.5. I had an Android project that I was working on in 10.0.3 and everything was working great. Now when I try to build the project I am getting an Error:

Information:Compilation completed with 1 error and 0 warnings Information:1 error Information:0 warnings Error:Android SDK is not specified for module Project_Android 
like image 851
Kyle LeNeau Avatar asked May 21 '11 01:05

Kyle LeNeau


People also ask

Do I need IntelliJ idea if I have android studio?

No. Android Studio and the Android plugin for IntelliJ IDEA are built from the same code, and all of the changes in Android Studio are, and will continue to be, available in IntelliJ IDEA releases.


1 Answers

It sounds like IntelliJ doesn't know where the Android SDK is.

Here is a step by step:

  1. From your existing project, go to 'File' -> 'Project Structure'
  2. Click 'Modules' entry from the 'Project Settings' group (on the left side)
  3. Click 'Android' module for your project
  4. Click 'New' where it says 'Android Platform'
  5. Point it to the Android SDK location that you have locally.
  6. Select an API version.
  7. Click 'Apply'

That should be it. Good luck!

Image added enter image description here

like image 182
nicholas.hauschild Avatar answered Oct 01 '22 10:10

nicholas.hauschild