1. UbuntuLucid (10.04) on the installation of jdk and eclipsesudoaptitudeinstallsun-java6-jresun-java6-pluginsun-java6-fontssudoaptitudeinstalleclipse-platformeclipse-plugin-cvseclipse-jdt placement test: java-version, input similar
1. Install jdk and eclipse on Ubuntu Lucid (10.04)
Sudo aptitude install sun-java6-jre sun-java6-plugin sun-java6-fonts
Sudo aptitude install eclipse-platform eclipse-plugin-cvs eclipse-jdt
Post-placement test: java-version, entering the same effect:
Java-version
Java version "1.6.0 _ 18"
OpenJDK Runtime Environment (IcedTea6 1.8) (6b18-1.8-0ubuntu1)
OpenJDK Server VM (build 14.0-f8, mixed mode)
2. install ADT
Run Eclipse and run Help> Install New Software> Available Software. Click "Add .. the button is entering the address https://dl-ssl.google.com/android/eclipse/ in location (name item regardless), face OK. at that time, you will see the "Android DDMS" and "Android Development tools" Under the selected directory in the Developer Tools output list. Click the Next button to start placement...
3. install android SDK
Download file: android-sdk_r05-linux_86.tgz can be downloaded from there: androidappdocs.appspot.com/sdk/index.html [Department region is not safe]
Uncompress open release to/home/yourhome/, people release the directory is:/home/yk3372/android-sdk-linux_86, and then from
Eclipse> windows> prefences> Android> SDK Location refers to the directory where the android sdk is located.
When installing the Eclipse PDT plug-in Ubuntu, the following error always occurs:
An error occurred while installing the items session context was :( profile = PlatformProfile, phase = org. eclipse. equinox. internal. provisional. p2.engine. phases. install, operand = null-> [R] org. eclipse. cvs 1.0.400.v201002111343, action = org. eclipse. equinox. internal. p2.touchpoint. eclipse. actions. installBundleAction ). the artifact file for osgi. bundle, org. eclipse. cvs, 1.0.400.v201002111343 was not found.
In addition, other plug-ins also make this error. Then I found a solution:
Sudo apt-get install eclipse-PVDF
Then install the plug-in!