This article is a mirror article of machine translation, please click here to jump to the original article.

View: 12680|Reply: 1

Tutorial for downloading and installing the Android SDK for the first time

[Copy link]
Posted on 6/19/2018 1:39:05 PM | | | |
Recently, if you want to develop an Android app, you need to download the Android SDK first.
SDK: (software development kit) software development kit. A collection of development tools used by software development engineers to build application software for specific software packages, software frameworks, hardware platforms, operating systems, etc.


Open the official website:The hyperlink login is visible.
There are "Android Studio downloads" and "Command line tools only" downloads, because I don't want to use "Android Studio" to develop, so I download "sdk-tools-windows-4333796.zip", after the download is completed.


found that there was no "SDK Manager.exe" tool, and then downloaded the "android-sdk_r24.4.1-windows.zip" from other websites,Found that "SDK Manager.exe" crashes!In the Sdk\tools\lib directory, run find_java.bat with the cmd command, and the error is as follows:

ERROR: No suitable Java found. In order to properly use the Android Developer
Tools, you need a suitable version of Java JDK installed on your system.
We recommend that you install the JDK version of JavaSE, available here:
  The hyperlink login is visible.

If you already have Java installed, you can define the JAVA_HOME environment
variable in Control Panel / System / Avanced System Settings to point to the
JDK folder.

You can find the complete Android SDK requirements here:
  The hyperlink login is visible.

My computer system is win10 x64 bit, and the Java version installed is as follows:

java version "10.0.1" 2018-04-17
Java(TM) SE Runtime Environment 18.3 (build 10.0.1+10)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.1+10, mixed mode)

After trying various solutions, none of them could solve the problem!! So, you can only download "Android Studio"!!

After downloading and installing, you can manage the Android toolkit in Tools-SDK Manager, as shown in the following figure:








Previous:About the issue with incorrect java -verbose install path
Next:Install ionic and cordova tutorials
 Landlord| Posted on 6/19/2018 5:00:35 PM |
Unzip the original downloaded "android-sdk_r24.4.1-windows.zip", reopen the "SDK Manager.exe" program, and find that it can be opened normally
java version "1.8.0_171"
Java(TM) SE Runtime Environment (build 1.8.0_171-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.171-b11, mixed mode)


The reason for the crash is: the Java version is too high!!



Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com