In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article focuses on "how to achieve Ubuntu 14.04 64-bit to build an ADT development environment", interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Next, let the editor take you to learn "how to achieve Ubuntu 14.04 64-bit ADT development environment"!
Just do it, the first thing that comes to mind is to go to the official website of android to directly down an ADT for linux, and found that eclipse for ADT has been placed at the end of the left link, while android's own Android studio has replaced the position of ADT at the beginning of last year. Google is to burn its bridges to promote its own development environment. When I click on eclipse for ADT, I found a variety of note, suggested that I migrate to Android Studio as soon as possible, directly tell the developer that this is no longer the maintenance of the previous eclipse for android tools, really unable to complain, intellij idea is very good, but to Android Studio, really uncomfortable, not to mention performance, UI is really very complicated. Well, since it is no longer supported, you have to configure it yourself.
First of all, we need to install jdk, a large number of tutorials on this network, and relatively simple, almost download-> extract-> configuration path. Then download elipse (address: http://www.eclipse.org/downloads/), which has the advantage that we can choose the version of eclipse. I chose the latest elipse.
There should be no problem with the above steps, whether it's 32-bit or 64-bit, but then it may not be so plain sailing. Because I didn't download it to eclipse for ADT, I had to configure ADT myself and continue to check the official website.
The official website provides two ways to install the adt plug-in (download address: http://developer.android.com/sdk/installing/installing-adt.html#Download). One is to install online, which is consistent with eclipse's method of installing new software: 1. Open elipse- > Help > Install New Software;2. Click the add;3 on the right. Fill in the corresponding content in the pop-up dialog box, Location
Https://dl-ssl.google.com/android/eclipse/
4. Next, click OK- > NEXT- > NEXT- > FINISH, then restart eclipse, and then follow the api of each version of android.
Another way to install ADT is to download offline ADT at https://dl.google.com/android/ADT-23.0.6.zip, step 1. After the download is complete, do not decompress it; 2. The installation method is similar to method 1, except that you don't need to fill in the download address in the above picture (Add Respository), but just click on the Archive on the right to import the ADT you just downloaded, and then almost all choose to install it.
In the last step, we have installed android sdk-manager on eclipse, and not surprisingly, eclipse's toolbar already has shortcut buttons for android sdk-manager and avd-manager (Android Vitual Machine Manager). Open it, as shown in the following figure
Choose the Android Support Libraray in SDK platform and Extras that you need, and the download speed depends on your Internet speed.
Then there is the question of how to develop Android applications. Today's time is not too bad. Let's talk about the problem: how to run 32-bit programs on 64-bit systems. Why are we talking about this? Because adb is 32-bit and Android SDK Build-tools is 32-bit, if this problem is not solved, the android project will report an error:
Java Code copies content to the clipboard
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
Java Code copies content to the clipboard
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'
Wait, wait,
# sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1. 0 problem resolved.
At this point, I believe you have a deeper understanding of "how to achieve Ubuntu 14.04 64-bit ADT development environment". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.