This post demonstrates how to add an
Android SDK in
Stuff used in this post.
- Windows 10 Enterprise
- IntelliJ IDEA Ultimate 2016.3
- Java 8
- Android SDK Tools for Windows
We will not use Android Studio for this post.
So we want to create an
Android project in our new machine using
IntelliJ IDEA and we see this:
To fix this, we need to download an
Since we are not using
Android Studio, just scroll down until the Get just the command line tools section.
Click to download the
SDK Tools package for
Save the zip file to some directory. For example:
Extract the zip file so that everything is extracted to the current directory.
Use SDK Manager
Next we need to download the actual
Android SDK using the
1. Open Windows Command Line
JAVA_HOME is not set, we can do that in the current window.
Then, change directory to
Then, we use the
Terms and Conditions is displayed. Just scroll to down until you reach the end.
y and press
SDK Manager will now download the
SDK. The current directory will then have 2 new folders.
Configure IntelliJ IDEA
Finally, we configure
IntelliJ by adding an
To select the home directory for
Android SDK, navigate to our
NOTE: Simply copy-and-pasting the path may not work.
Create an Android Project anew