Let's take a look at how Ubuntu has developed recently. By the way, we have set up ADT to facilitate future research on the Android framework. In Windows, the ADT can be directly decompressed and decompressed. I thought it would not be too difficult in Linux. Test environment: Ubuntu14.04. The first thing that comes to mind is to go to the android official website and directly go down to an ADTforlinux instance. It is found that eclipseforADT has been placed at the end of the link on the left, while android
Let's take a look at how Ubuntu has developed recently. By the way, we have set up ADT to facilitate future research on the Android framework. In Windows, the ADT can be directly decompressed and decompressed. I thought it would not be too difficult in Linux.
Test environment: Ubuntu 14.04
Just do what you need. First of all, go to the android official website to directly down an ADT for linux and find that eclipse for ADT has been placed at the end of the link on the left, android studio replaced the ADT position in early last year. Google is a great way to promote its development environment. When I started eclipse for ADT and found various notes, I suggest migrating to Android Studio as soon as possible, directly telling the development that the eclipse for android tool is no longer maintained, intellij idea is excellent, but when it comes to Android Studio, the UI is really complicated, not to mention performance. Well, since it is no longer supported, you can only configure it yourself.
First, we need to install jdk, which is a simple tutorial on the network. It is almost download-> decompress-> Configuration path. Then go to download elipse (Address: http://www.eclipse.org/downloads/), this has a benefit, we can choose the eclipse version, I chose the latest elipse.
The above steps should not be a problem, whether it is 32-bit or 64-bit, but it may not be so smooth. Because I have not downloaded it to eclipse for ADT, I can only configure the ADT myself and continue to view the official website information.
The official website provides two ways to install the adt plug-in (: http://developer.android.com/sdk/installing/installing-adt.html#Download ). One is online installation, which is consistent with the method for installing new software in eclipse: 1. open elipse-> Help> Install New Software; 2. click add on the right. fill in the corresponding content in the pop-up dialog box, Location
Https://dl-ssl.google.com/android/eclipse/
4. Click OK-> NEXT-> FINISH, and then restart eclipse. NEXT, follow the android api versions.
Another method for installing ADT is to download the offline ADT. You do not need to fill in Add Respository. Instead, just click Archive on the right to import the downloaded ADT, next, select install.
In the previous step, we have installed android sdk-manager on eclipse. No surprise, the toolbar of eclipse already has android sdk-manager and avd-manager (Android Vitual Machine Manager). Open it, as shown in
Select Android Support Libraray In SDK platform and Extras. The download speed depends on your network speed.
The next step is how to develop Android applications ...... Today's time is not too bad. Let's talk about the problem: how to run a 32-bit program on a 64-bit system. Why? Because adb is 32-bit, Android SDK Build-tools is also 32-bit. If this problem is not solved, the android project will report an error:
Home/xxx/android-sdks/platform-tools/aapt:
Error while loading shared libraries: libz. so.1: cannot open shared object file:
No such file or directory
Or
Unexpected exception 'cannot run program "/home/xx/sdk/platform-tools/adb": java. io. IOException: error = 2, No such file or directory 'while attempting to get adb version from '/home/xx/sdk/platform-tools/adb'
These two problems are caused by running 32-bit programs. There are various solutions on the Internet, which may be feasible for the old system (including the old 64-bit UBUNTU system, but not the latest one). My solution is:
# Sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0
Solve the problem.
After installing eclipse for ADT, you can have fun in linux. Again, we found that jdk has also been compiled and rp is good.
Ubuntu 13.04 ADT installation Subclipse JAVAHL error solution http://www.linuxidc.com/Linux/2013-07/88001.htm
For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2
This article permanently updates the link address: Http://www.linuxidc.com/Linux/2015-04/115797.htm