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:
|