Long time no update, the recent phone on the alarm clock app does not have a good, so want to write a.
The Android development environment is set up, so be careful to install the JDK first.
1. Install Android Studio
Google's Android development site has a Chinese version, without crossing GFW to access: https://developer.android.google.cn/
At first glance, it feels like Android Studio's installation package is a lot smaller, since the official offer, download to install again.
During the installation process, two components are selected, so I understand why the installation package is small, but there is another question:where did the SDK go ? (Because the previous 2.x installation has an Android SDK option), such as:
Proceed with the installation with doubt, pop up "unable to access Android SDK Add-on List", and Select "Setup Proxy" directly from previous experience, such as:
2. Start Android Studio
When you start, the SDK Tools directory is missing appears, such as:
3, the solution:
How can we solve this problem? Based on the prompt keyword search, the basic is to let you install another Android SDK tools, but also in third-party download, although Google also provided SDK tools, but I did not succeed, if someone use the SDK provided by Google Tools solved this problem, welcome message , but this solution is obviously not what I want, Google's things there is no reason to be so troublesome.
After half a day of online search, finally in https://www.cnblogs.com/xiadewang/p/7820377.html see the problem of the simplest solution, that is, when launching Android Studio "Unable to Access Android SDK Add-on List "does not choose" Setup Proxy ", but" Cancel ",followed by follow the wizard all the way down, and download Android The SDK-related content is not required proxy (that is, the SDK manager needs to configure proxy, now can be downloaded directly from Google.) ).
4, Reason and thinking:
Q: The installation package Removal SDK installation option, so that in the first run of Android studio online download, this way is now the mainstream, but why I did not quickly build the development environment?
A: The most important reason is that the launch of Android studio when the pop-up window does not have the guidance, let me confused, so according to 2.x experience to choose the Setup proxy, and then into a dilemma, I think this is the place for Android studio to improve, At the same time on their own development also raised a wake up.
Reference Documentation:
Https://www.cnblogs.com/xiadewang/p/7820377.html
Install without SDK for Android Studio 3.x version, SDK tools error during runtime