Under Mac and download and install Android Studio development environment to build

1, in the Mac, first download and install and configure jdk;

2, Android Studio download and install

2.1 Download: http://www.android-studio.org/ 

2.2, double-click the downloaded dmg installation package, and Android Studio app, drag to the Application folder.

android-studio-go-183.5522156-mac.dmg

 

This, install Android Studio complete! ! !

3, Android SDK download and installation

3.1 Download: http://tools.android-studio.org/index.php/sdk/

3.2, Android SDK Configuration

3.2.1, open the Preference ...

3.2.2, select SDK Plaforms supported version, and click "apply" to download supported version (download installation process is relatively slow and requires patience wait for a while)

The following figure appears to indicate the installation is complete:

4, Android SDK's adb environment configuration

4.1, find unzip the SDK path: / the Users / XXX / Library / Android / sdk

4.2 to see if there /.bash_profile file, if not, create one, if there is a direct open.

Open the file using the command: vim ~ / .bash_profile

Note: the space is your own computer login name. Path is the path installed on their computer.

4.3, to modify the file, click on the "esc" exit the editing function, use the command "wq" to save the edited content;

4.4, using the command "source ~ / .bash_profile" running just modified files

4.5, using the command "adb devices" to verify that the entry into force

4.6, using the command "adb" view command, as follows:

This, installation and configuration is complete and Android Studio SDK configuration.

发布了327 篇原创文章 · 获赞 133 · 访问量 63万+

Guess you like

Origin blog.csdn.net/qq_30507287/article/details/100805851