Mac builds Android development environment

Source: Internet
Author: User
Tags android sdk manager

1. Flip the wall to download

1.1. Download Google's SDK to flip the wall with red apricot.

1.2. Through the SDK Manager Update Download SDK development package, previously modified the hosts file download, now has no effect, this time through the domestic image to download.

Launch Android SDK Manager, open the main interface, select "tools", "options...", pop up the "Android SDK manager-settings" window;
In the Android SDK manager-settings window, fill in port"and 80 in the"http proxy server"and"http proxy mirrors.neusoft.edu.cn input boxes, and select "force https://. Sources to be fetched using http://..."check box. Click the "close" button to close the "Android SDK manager-settings" window and return to the main screen after Setup is complete.
Select "packages", "reload".

Beijing University of Chemical Technology:
IPV4:ubuntu.buct.edu.cn
IPV4:ubuntu.buct.cn
IPV6:ubuntu.buct6.edu.cn
Port:80

2. Exception errors running builder ' Android Resource Manager ' on Project ' AAA ' when creating a new project. Java.lan

Find all kinds of on-line: Change work space, upgrade JDK, modify Eclipse.ini, svn problem, port problem, these methods I have tried, have no effect.

Finally in http://stackoverflow.com/questions/20043521/ Errors-running-builder-android-resource-manager-on-adt article in this sentence to help me solve the problem, although the problem is not a perfect solution.

Found a better solution. In the Create Project Wizard. Don ' t create an activity in the wizard. Just untick create a activity and just create the activity manually in the manifest.

3. Cannot build a running project

Exception information does not come, meaning that the ADB is not enforceable.

Modify the environment variables of the MAC system and add the/applications/android-sdk-macosx/platform-tools to the path variable.

4. Real-Machine testing




Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Mac builds Android development environment

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.