Thank Bo friends to share??
Original link: http://blog.csdn.net/xiang_lix/article/details/51887480
Here I also want to summarize the method:
Used to be in the window under development, now for Mac and have to configure the development environment, such as my non-trained the most afraid of the environment or something, especially waste time, no nonsense.
The first step: Install the JDK, in the new Mac OS 10.11 System, no need to configure the JDK environment variables, download and install the OK.
Links: http://www.oracle.com/technetwork/java/javase/downloads/index.html
Step two: Because Google has stopped updating the ADT bundle integration environment and turned to Android studio, so follow the big guy, and Android Studio is an integrated environment.
Links: Http://www.android-studio.org/index.php/component/content/category/88-download
Note that after you install it, you need to open it, open it and follow his steps to the last step, or you won't be able to find the directory where the Android SDK is located by the command line. Find the directory is good to do, as the above Bo friends to share, I directly:
This is the xxx above for your current user name.
The third step: The above has been configured, but may appear the first time the compilation, need under that what gradle, this particularly disgusting, when I first downloaded, downloaded me three days and three nights. I'm almost out of my mind.
Gradle:gradle is a project automation building tool based on the Apache Ant and Apache maven concepts. It uses a particular domain-specific language (DSL) based on groovy to declare the project settings, discarding the tedious configuration of XML-based.
But now read some tutorials, you can download the offline package directly.
Finally, good luck to those who have read this post!
Some documents are referenced:
- http://blog.csdn.net/chenshuyang716/article/details/52776438
- http://blog.csdn.net/xiang_lix/article/details/51887480
- https://my.oschina.net/anziguoer/blog/634450
- http://www.jianshu.com/p/edc3bd79279a
A great way for a Bo friend: http://www.cnblogs.com/Ave-Maria/p/6274563.html
Ionic2 Getting Started Tutorial 01: Building a MAC development environment