Ubuntu builds Android development environment

Source: Internet
Author: User
<span id="Label3"></p><p class="Standard"><p class="Standard"><strong>You need to configure the JDK environment First.</strong></p></p><p class="Standard"><p class="Standard">See: http://www.cnblogs.com/xumenger/p/4460055.html</p></p><p class="Standard"><p class="Standard"></p></p><p class="Standard"><p class="Standard"><strong>Install Eclipse</strong></p></p><p class="Standard"><p class="Standard">Download directly on the official website of Android developer Adt-bundle</p></p><p class="Standard"><p class="Standard">Directly installed adt-bundle, that is, eclipse+android SDK bundle good, Decompression is used, This method is very good, I use the Adt-bundle-linux-x86_64-20131030.zip</p></p><p class="Standard"><p class="Standard">Command: Unzip Adt-bundle-linux-x86_64-20131030.zip</p></p><p class="Standard"><p class="Standard">Put the extracted under the/usr/local</p></p><p class="Standard"><p class="Standard"></p></p><p class="Standard"><p class="Standard"><strong>To create a shortcut for Eclipse on the Desktop:</strong></p></p><p class="Standard"><p class="Standard">sudo vim/usr/share/applications/eclipse.desktop</p></p><p class="Standard"><p class="Standard">Add the Following: (the value of exec and icon should be modified according to the actual Situation)</p></p><pre class="brush:php;gutter:true;"><pre class="brush:php;gutter:true;">#!/usr/bin/env Xdg-open [Desktop entry]encoding=utf-8version=1.0type=applicationterminal=falseexec=/usr/local/ adt-bundle-linux-x86_64-20131030/eclipse/eclipsecategories=application;development; name=eclipsecomment= "Eclipse IDE" icon=/usr/local/adt-bundle-linux-x86_64-20131030/eclipse/icon.xpmblueprint= 3242-edc-0520name[zh_cn]=eclipse</pre></pre><p><p></p></p><p><p><strong>Then copy the desktop file to the Desktop:</strong></p></p><p><p>Command: Cp/usr/share/applications/eclipse.desktop/home/your User Name/desktop</p></p><p><p><strong>however, this time is not displayed correctly because of a problem with permissions, so you need to change the permissions on the Eclipse Desktop file on the desktop</strong></p></p><p><p>Command: su</p></p><p><p>Chmod-r 0755/home/your User Name/desktop</p></p><p><p></p></p><p class="Standard"><p class="Standard"><strong>Uninstall</strong> <strong>Eclipse</strong> <strong>very convenient, directly to the</strong> <strong>/usr/local/adt-bundle-linux-x86_64-20131030</strong> <strong>It's OK to delete it. </strong></p></p><p class="Standard"><p class="Standard"><strong></strong> <strong>Reinstall or follow the steps Above. </strong></p></p><p class="Standard"><p class="Standard"></p></p><p class="Standard"><p class="Standard"></p></p><p class="Standard"><p class="Standard">Copy the Eclipse's desktop from the/usr/share/applications to the desktop and you can use it!</p></p><p><p>Ubuntu builds Android development environment</p></p></span>

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.