Operating System: Ubuntu13.10x64 objective: Install EclipseAndroidSDKJava first install AndroidSDK, then install eclipsehttp: // www.linuxidc.com/linux/2014-06/103263.htminstall eclipseclassicdownload eclipseclassiclinux64bit, which can be decompressed. Http: // ww
Operating System: Ubuntu 13.10x64
Objective: To install Eclipse Android SDK Java
Install Android SDK before installing eclipse
Http://www.linuxidc.com/Linux/2014-06/103263.htm
Install Eclipse Classic
Download Eclipse Classic Linux 64-Bit and decompress it.
Http://www.eclipse.org/downloads? OsType = linux
Solve the problem that the eclipse menu is not displayed in Ubuntu 13.10.
Vi ~ /Desktop/eclipse. desktop
[Desktop Entry]Type=ApplicationName=EclipseIcon=eclipseExec=env UBUNTU_MENUPROXY=0 /home/u1/Downloads/eclipse/eclipseIcon=/home/u1/Downloads/eclipse/icon.xpmTerminal=falseCategories=Development;IDE;Java;
chmod +x ~/Desktop/eclipse.desktop
Click the desktop icon to start and display the eclipse menu.
Install Eclipse ADT
Eclipse-Help-Install New Software-add
Fill: http://dl-ssl.google.com/android/eclipse/
If the download speed is slow, ping g.cn, modify hosts, point the dl-ssl.google.com to the domestic IP address.
After installation, restart eclipse.
Eclipse-Window-Preferences-Android
Set the SDK Location and select a directory such as/home/u1/Downloads/android-sdk-linux
Restart eclipse.
-------------------------------------- Split line --------------------------------------
64-bit Ubuntu 11.10 Android Development Environment (JDK + Eclipse + ADT + Android SDK in detail) http://www.linuxidc.com/Linux/2013-06/85303.htm
Ubuntu 12.10x64 install Android SDK http://www.linuxidc.com/Linux/2013-03/82005.htm
Ubuntu 14.04 configure Android SDK Development Environment http://www.linuxidc.com/Linux/2014-05/101039.htm
-------------------------------------- Split line --------------------------------------
Eclipse Android writing specification Configuration
Menu Window -- Perferences -- Java -- Code Style -- Formatter -- new (inheriting Java Convertions [build-in]) -- Tab policy: Select Spaces only. Check Show invisible characters on the right to preview the effect.
Menu Window -- "Perferences
Search white
Select Insert spaces for tabs, show line numbers, show range indicator, and show whitespace characters.
Search for encoding
Find workspace -- Text file encoding -- Other: UTF-8
Find workspace -- New text file line delimiter -- Other: Unix
Start Android Java hello world
Http://developer.android.com/training/basics/firstapp/index.html
Eclipse-File-New-Android Application Project. Compile and run the Project.
Debugging Android in Eclipse
Eclipse-> window-> Open Perspective-> other-> DDMS
References:
Http://developer.android.com/sdk/installing.html
Http://developer.android.com/sdk/installing/installing-adt.html
:
For more information about Android, see Android topics page http://www.linuxidc.com/topicnews.aspx? Tid = 11
This article permanently updates the link address: Http://www.linuxidc.com/Linux/2014-06/103264.htm