Build an Android Development Environment on 64-bit Fedora14

Source: Internet
Author: User
In fact, the specific steps are similar to those in Windows. However, if you use liveCD to install Fedora14x86_64, there are some 32-bit library files required for Android to run, otherwise, an error occurs when you start ADTManager. For details, let's start with configuring environment variables. 1. Download and install JDK, AndroidSDK, and Eclipse. Download JDK and JRE from your system.

In fact, the specific steps are similar to those in Windows. However, if you use liveCD to install Fedora14 x86_64, there are some 32-bit library files required for Android to run, otherwise, an error occurs when you start ADT Manager. For details, let's start with configuring environment variables.

1. Download and install JDK, Android SDK, and Eclipse

First download JDK, JRE according to your system, I download here to two binfiles-jdk-6u23-linux-x64.bin and jre-6u23-linux-x64.bin, and then select an installation directory, this varies from person to person, I have created a Programe folder in the current user folder. All applications are installed here. So copy the two binfiles to the Programe directory, open the terminal, run sudo./jdk-6u23-linux-x64.bin and sudo./jre-6u23-linux-x64.bin respectively to install JDK and JRE, after the installation is completed, there are two more directories,

Then download the Android SDK, because the default android developer website does not go, need to flip the wall to go up, too difficult, so the Internet search, find an alternative URL http://developer.android.com.nyud.net/index.html, download the latest SDK file, I am android-sdk_r08-linux_86.tar, decompress the package to any folder, and I will decompress it to the Programe folder. There are two ways to install the android sdk. One is to double-click the android script file under the tools folder in the SDK directory, and then select "run on terminal", to start the Android SDK Manager to download and install the required SDK files. The other is to install the ADT and then download and install the required SDK files in the ADT Manager. Because I used the first method in windows to see installation errors after downloading, I chose the second method for installation.

Download the corresponding Eclipse. I chose over 90 M basic edition for linux x64 and decompress it to the Programe folder.

2. Configure Environment Variables

Configure global environment variables, which is effective for all users. Edit the/etc/profile file, sudo vi/etc/profile, and press a to enter the editing mode, add the following at the bottom:

JAVA_HOME =/home/Bluespirit/Programe/jdk1.6.0 _ 23

Export JAVA_HOME

ANDROID_HOME =/home/Bluespirit/Programe/android-sdk-linux_86

Export ANDROID_HOME

PATH = $ PATH: $ JAVA_HOME/bin: $ ANDROID_HOME/tools: $ ANDROID_HOME/platform-tools

Export PATH

CLASSPATH =.: $ JAVA_HOME/lib

Export CLASSPATH

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.