Ubunandroidsdk environment installed on UbuntuLucid (10.04)

Source: Internet
Author: User
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!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.