Mac builds Cordova Android environment

Source: Internet
Author: User

Build steps:

1, download cordova-android extract to your own directory

2, install node.js::http://nodejs.org/, decompression by step installation can be detected in the terminal input: #npm

3, install Dos2unix, do not know what this is for: #brew install Dos2unix

4, install apache-ant command: #brew insall ant

5, download the Android SDK package, Adt-bundle-mac extract to the specified directory,

6, SET Environment variables:

#export path=/users/xxx/adt-bundle-mac/sdk/:/users/xxxcordova/adt-bundle-mac/sdk/tools/: $PATH

7, create the project: Enter into the Cordova-android/bin:

#./create/users/xxx/firstapp Com.harris Firstapp

Mac builds Cordova Android 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.