Monday, July 21, 2014

Install Android SDK on Ubuntu 14.04

Before install Android SDK on Ubuntu, you have to Install Oracle JDK 8 on Ubuntu 14.04.

Visit, to download Eclipse ADT with the Android SDK for Linux. Simple unzip the downloaded file and move to the folder you want. Simple run the file <installed folder>/eclipse/eclipse to start the Eclipse with Android SDK.

As mentioned in SYSTEM REQUIREMENTS of Android SDK document, JDK 6 is needed. To select Java compiler compliance level:
- click Window in Eclipse menu, -> Preferences.
- Extend Java on left box, and select Compiler.
- Select 1.6 in Compiler compliance level.

Now you can create "Hello World" to verify your setup.

In order to connect your Android SDK to real devices to test your apps, you have to setup 51-android.rules for your devices.

If your Android SDK-Eclipse crash when Content Assist try to provide suggestion, read HERE.

No comments: