Http://blog.daliansky.net/ubuntu-lucid-10-04-environment-to-install-google-android-sdk.html
1.InstallJDK andEclipse
12 |
Sudo Aptitude InstallSun-java6-jre sun-java6-plugin sun-java6-fonts sun-java6-jdkSudo Aptitude Install Eclipse-PlatformEclipse-Plugin-CVS eclipse-jdt |
InstallAfter testing: Java-version, enter a similar result:
1234 |
Java-VersionJava version 1.6.0 _ 18 openjdk Runtime Environment(Icedtea61.8) (6b18-1.8-0ubuntu1)Openjdk server VM(Build14.0-F8, Mixed Mode) |
2. Install ADT
Run eclipse and click Help> install new software> available software. Click "add..." and enter the URL https: // DL-SSL in location.Google. Com/Android/Eclipse/(name does not matter), click OK. Then you will see the developerToOLS appears in the list. Expand "android ddms" and "android development tools" Under the selected directory. Click Next.Install...
3. InstallAndroidSDK
Download file: Android-SDK_ R05-Linux_ 86.tgz can be downloaded from here: androidappdocs.appspot.com/sdk/index.html [red apricot walls are required in some regions]
Decompress and release the package to/home/yourhome/. The directory I released is/home/sky/Android-SDK-Linux_ 86, and then
Eclipse> Windows> prefences> Android> SDK location: Specify the directory where the android SDK is located.
Eat first and continue later
--------------------- I am a separation line --------------------
4. Create an andriod Virtual Device (AVD)
Choose "Windows"> "Preferences"> "andriod", click "browser ..", and select the path for installing the android SDK. After setting the path, click OK.
Open the "Windows" menu, click "andriod SDK and AVD manager", select "Virtual Devices", Set Name (any name), and set "target" to "andriod 2.1-API level 7 ", set the size of SD card to 1024. Click creat AVD. Select "install packages" to ensure that "SDK platform andriod 2.1" exists.
New-create an AVD:
Then you can start your android "Mobile Phone ".
Close