Build a development environment in Android Linux

Source: Internet
Author: User
Tags linux mint
Development Environment-this does not require you to develop under any system. You can use any environment you are familiar.
If you are used to Windows, develop it in windows. If you are familiar with Linux, use Linux.
But in other words, Linux development feels more comfortable and more efficient than windows.
If you really care about the so-called "efficiency", you can learn about the Linux operating system by yourself. If it is just a desktop application, it doesn't feel very difficult. Program If this is difficult, then ...... There is nothing to say. -- Learning something new does not harm yourself.




I use Linux mint 10.

Steps:
1. install and configure the android SDK. (Download may take a long time !!!!!)
Download Android SDK: http://developer.android.com/(may need to flip the wall)

Right-click to decompress the package and you will get a [android-sdk-linux_86] folder, which contains a tools/Android file.
Double-click Run and select "run in terminal". An interface is displayed.
In install packeges, update it.


Next, configure the ADB path.
Sudo gedit/etc/profile
Add export Path = $ path:/home/<User Name>/android-sdk-linux_86/platform-tools at the end
[Then, log out, go to the system, open terminal, and enter ADB to check whether the setting is correct .]
You can also enter: Path = $ path:/home/<User Name>/android-sdk-linux_86/platform-Tools


2. installation and configuration of ADT

Eclipse: Search for installation from software manager. (I use the source of Netease .)
Java JDK: Search for installation from software manager.
(In minit 10, the Java JDK environment does not need to be configured .)


Open eclipse, open install new software in the Help menu,

Paste this address in: https://dl-ssl.google.com/android/eclipse/
It automatically analyzes and downloads the data.




3. Android simulator Configuration
Open eclipse, open the windows menu, and select preferences. There is an android option in it. paste it in the SDK path and paste it into the path of your android SDK.



Then, set the Android phone Simulator









After setting, start the simulator.






The entire environment is complete.
The configuration is fast, but it takes time to download and compare it!




For MAC/Windows, refer:
Android official website, and

Android SDK Installation Guide

In fact, they are similar.

Related Article

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.