We can see that it shows the tools and platform-tools installed by us Platform-tools | 31.0.0 | Android SDK Platform-Tools 31 | platform-tools\Īdd-ons addon-google_apis-google-15 | 3 | Google APIs Installed packages:=] 100% Computing updates. List all the installed and available platforms, system images and other resources List - We can list the installed and available packages and images using the list command as shown below. Now move all the files to the directory cmdline-tools/3.0 as shown in Fig 10. It will show the version details as shown below. Now open the source.properties file from the cmdline-tools directory to check the version. error: either specify it explicitly with -sdk_root= or move this package into its expected location: \cmdline-tools\latest\" since it expects the Command Line Tools in a version-specific directory. We can see that the ADB command works well and shows the version details, but the sdkmanager shows an error - "error: could not determine sdk root. Installed as E:\tools\java\android-sdk\platform-tools\adb.exeĮrror: Either specify it explicitly with -sdk_root= or move this package into its expected location: \cmdline-tools\latest\ You might be required to restart the system to apply the environment variables set by us. Now open the Command Prompt and check the ADB and SDK Manager versions as shown in Fig 10. This section shows various options to download the SDK tools as shown in Fig 1. Open the download tab of Android Studio and scroll down to the Command line tools only section. In case you are interested in developing Android applications using Android Studio, you can also follow How To Install Android Studio On Windows. You can follow How To Install Java 8 On Windows 10, How To Install Java 11 On Windows, How To Install Java 15 On Windows, or How To Install OpenJDK 15 On Windows to install Java on Windows. It also assumes that a valid JAVA_HOME environment variable exists pointing to the installation directory of Java. This post is useful for the developers using Android Platform Tools and SDK manager without installing Android Studio for the use cases including hybrid app development using Ionic. This tutorial provides the steps for Windows 10, though the steps should be the same on other versions of Windows. In this tutorial, we will discuss all the steps required to install Android Platform Tools and SDK Manager on Windows 10.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |