I have been building an android environment in ubuntu since the last weekend. I have been working in windows for the following reason: By the way, I want to learn about linux, wow! First of all, in the environment where I started, ubuntu11.10 + was very fast... Ubuntu is installed with wubi downloaded from www.ubuntu.com ,...
I have been building an android environment in ubuntu since the last weekend. I have been working in windows for the following reason: By the way, I want to learn about linux, wow!
First of all, in my initial environment, ubuntu 11.10 + is very fast...
Ubuntu is downloaded from www.ubuntu.com and installed with wubi. it is very simple, just like a windows program... I'm a little lazy! (Of course, wubi on the official website only provides download of the latest version 11.10, while iso provides two versions ...)
First, download eclipse. I found it from the software center of ubuntu... So I came down and found that it was still quite good. I had a built-in JDK with the version 1.6 and the eclipse version indigo (3.70)
Install the default process. after downloading eclipse, you need to install the android plugin adt. after finding the link from the android official website, you will find that the android plugin cannot be installed, the specific problem should be the lack of something like wts. I don't know what it is... Google told me it seems to be something related to the graphic interface, so I went to the link to download it ....
There are many links. after several setbacks, I found a suitable one,
Http://download.eclipse.org/releases/indigo/
When I see the plug-in contained in it, I can only say that I have wiped it... Too many plug-ins are included in the indigo version, even if your network speed is too high and you plan to go through them all, and you now have a large part of eclipse... So filtering is enough for me, so I thought, let's talk about wts first, so... I have probably found three records related to org. eclipse. wts .. After waiting, you can download the adt plug-in...
After downloading the sdk for adt and linux, I found that adb cannot be restarted. I am depressed again... His prompt is that a shared library libncurses. so.5 is missing. I don't even know what it is. I went there. it is a little cool for a linux hacker... As a result, Google finally found a post on the linux Forum on this site after repeated attempts. the highlight of this post is the third floor... In the command line
Sudo apt-get install ia32-libs
The reason for speculation should be that the shared library is incomplete. download it... Finally succeeded. I watched the simulator close button and ran to the left. I knew I was successful... (In linux, the close button is on the left ...)
Configure environment variables:
Open the. bashrc configuration file without entering any path. enter the command
Sudo gedit ~ /. Bashrc (password may be required)
Add at the end
Export ANDROID_HOME =/home/onerain/android-sdk-linux (absolute path of SDK)
Export PATH = $ PATH: $ ANDROID_HOME/platform-tools (Directory of adb, earlier versions are under tools)
Save and exit. enter the command
Source ~ /. Bashrc
I found that linux is too white, so I have to learn more in the future!
From the oneRain88 column