Adt-bundle (Android development Tools) environment configuration

Source: Internet
Author: User
Tags android sdk manager

Android development Environment has two sets of mainstream: Adt-bundle and Android Studio, the former is the form of Eclipse plug-in development, the latter is the official Android IDE.

configuration and commissioning of the ADT Environment:
(1) Installing JDK, configuring environment variables
A.:http://www.oracle.com/technetwork/java/javase/downloads/index.html
B. Add the following environment variables (installed in the D:\Android directory):
Java_homed:\android\java\jdk1.8.0_25
CLASSPATH.; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar;
PATH%java_home%\bin;%java_home%\jre\bin;
C. Verification: Java-version
(2) Download and install ADT Bundle (directly unzip and bring Eclipse), set environment variables
A.: Baidu Cloud Http://pan.baidu.com/s/1nt9g7zz Password 50m4
B. Add the following environment variables:
Android_sdk_homed:\android\adt-bundle-windows-x86_64-20140702\sdk
Pathd:\android\adt-bundle-windows-x86_64-20140702\sdk\platform-tools;d:\android\adt-bundle-windows-x86_ 64-20140702\sdk\tools;
C. Update the required SDK packages through the Android SDK Manager
d. Validation: adb
Android-h
(3) Installation of HAXM, requires Intel graphics card
(4) AVD, new Android virtual device
(5) USB connection for real-computer debugging, set target to active in run configurations devices
ADB devices: Query simulator/Device instance, if a device is connected successfully, the device list will be output, and if a device is connected successfully, the device list will be output.
ADB server is out of date.killing: Port is occupied by other processes
ADB Nodaemon server: View ADB's port number
Netstat-ano | Findstr "5037": Check the use of the port process, note that like the 91 assistant such synchronization software will force the Adb.exe, causing the port is occupied, it is recommended to close the 91 assistant before attempting the ADB command
(6) Unity build APK Package
Unity needs to do some setup:
A. Setting the Edit-preferences-android SDK location
B. Set build Setting-android-bundle Identifier && minimun API level
Com.Company.Productname to change company to another, as long as the non-company can be, or will not be released.
(7) Install APK to mobile phone
Method One: Install through various assistants
Method Two: adb install ***.apk, remember that the phone can not be in standby state

Unity Remote: Sync Unity3d's game view on your phone and play it directly on your phone, both iOS and Android.
Principle: When you use Unity Remote, the game actually runs on your Mac, and its visual content is heavily compressed and transmitted to the device.
Steps (Take Android as an example):
Step One: Install Unity remote.apk on your Android.
Step Two: Restart your phone
Step three: Connect your phone to your computer with a data cable. (Use the wireless network without the data cable, but make sure the IP is on the same LAN)
Fourth Step: Open the installed Unity Remote
Fifth step: Start the Unity on your computer (be sure to restart)
Finally: Run your project and it's OK.

The following three posts are more useful for reference:
Tutorials with Video: http://jingyan.baidu.com/article/d621e8da0999062865913f3b.html
Android ADT Bundle Development environment configuration and the first "Hello World" program run: http://my.oschina.net/fusxian/blog/293935
Unity Compilation and setup: http://game.ceeger.com/forum/read.php?tid=5918

Adt-bundle (Android development Tools) environment configuration

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.