This article mainly introduces the construction of Android development environment under Ubuntu, and the IDE used is Eclipse (the same is true for Android Studio, and the steps of configuring SDK and installing adt plug-in can be omitted). 1. Install JDK (1) JDK8 download address: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html (2) Select the Linux version to download. If you download a tar package, use the command #tar xvzf xxx.tar.gz to decompress it. If you download an rpm package, use rpm -ivh xxx.rpm to install it. (3) Configure environment variables: Execute the command vi /etc/profile to edit the profile configuration file and add the following lines
2. Install SDK (1) Ubuntu x64 system needs to install 32-bit library files for compatibility with 32-bit programs
(2) SDK download official website http://developer.android.com/sdk/index.html, domestic mirror http://gmirror.org/#android-sdk-tools-only
(3)
Add the following content
3. Install eclipse Download eclipse for linux version and install http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/neonr 4. Install the adt plugin (1) Start Eclipse and select Help>Install New Software (2) Click Add, enter "ADT" in Name and "http://dl-ssl.google.com/android/eclipse/" in Location. The adt version should be consistent with the sdk version. (3) Configure the ADT plug-in Select Window > Preferences, select Android in the list on the left, and specify the path to the SDK. (4) Adding platforms and other components Select Window > Android SDK Manager, select a Platform, and install. |
<<: A comprehensive review of mainstream VR engines at home and abroad: Which VR engine is the best?
Introduction to Ming Dynasty Hanfu Makeup and Mod...
On the morning of July 20, the first 10,000-meter...
With the continuous development of the APP indust...
Before updating to a new iOS version, do you back...
When Tesla cuts its prices, does it also affect t...
We often see "warm tips" about hot pot ...
The New Year is coming soon, and people often say...
When many webmasters do promotion, they want thei...
I believe everyone is familiar with Baidu bidding...
Earlier I read an article about Microsoft's a...
Digital Twin is a cutting-edge new technology tha...
Gongzi Yi丨"100 Kinds of Life" Short Vid...
In previous articles, we have emphasized one thin...
Yiersan is a clothing rental platform for women a...
ChatGPT will be one year old in November this yea...