I can not find in internet, any proper way to install Android Development Tools and Eclipse in Linux, for my case in Debian Wheezy x64.
Installing Eclipse and Openjdk-7 is straight forward using Debian Wheezy repository. Default Openjdk in Debian Wheezy is Openjdk-6.
Before Installing Android Develipment Tools, you need to install library 32 bit as a root by isuing this command:
# apt-get install libc6-i386 lib32stdc++6 lib32gcc1 lib32ncurses5 lib32z1 libglu1-mesa-dev
# apt-get install libc6-i386 lib32stdc++6 lib32gcc1 lib32ncurses5 lib32z1 libglu1-mesa-dev
These are steps to install Android Development Tools regarding to Android Developer (http://developer.android.com)
- Download latest Android SDK from http://developer.android.com/sdk/index.html
- Extract in folder /home/[user]
For example: /home/dedet/android-sdk-linux - Run this command using your login for my case dedet
$ cd android-sdk-linux
$ tools/android - Select Level latest API SDK and minimum for your application development and wait until it's finish.
- Create your Android Virtual Device Profile
- Run your Eclipse add a new software site into your Eclipse
Name: Google Android SDK
Location: http://dl-ssl.google.com/android/eclipse/ - Prior to ADT Version 23.0, You need to install ADT Translation Manager
Name: Google Android Tools Translation
Location: https://dl.google.com/alt/ - Restart your Eclipse
- From Prefrences -> Android, select your ADK folder i.e. /home/dedet/android-sdk-linux
- Restart your Eclipspe and done
Note Accelerating Android Emulator on Virtual Machine:
Required:
- Hardware Intel VT or AMD VT
- Software Android SDK Tools Revision 17 or higher
- Android x86-based system image
Install and configuration
- Install Android x86-based via ADT. Under API Level select Android x86-based
- Configure emulator via AVD. Create a new AVD with an x86 value for the CPU/ABI field.
Note:
- If you have trouble when installing Eclipse ADT plugin, just download it from http://developer.android.com/sdk/installing/installing-adt.html
- Do not extract it, install this plugin from Eclipse add new software and choose location from archive
Reference: http://developer.android.com/
No comments:
Post a Comment