How To Install Windows 7 On Ps3
In this tutorial, we will discuss all the steps required to install Android Platform Tools and SDK Director on Windows 10. This tutorial provides the steps for Windows ten, though the steps should be the aforementioned on other versions of Windows.
This postal service is useful for the developers using Android Platform Tools and SDK manager without installing Android Studio for the utilise cases including hybrid app evolution using Ionic. It too assumes that a valid JAVA_HOME surround variable exists pointing to the installation directory of Java.
Y'all can follow How To Install Java eight On Windows ten, How To Install Coffee eleven On Windows, How To Install Java xv On Windows, or How To Install OpenJDK 15 On Windows to install Java on Windows. In instance you are interested in developing Android applications using Android Studio, you tin can also follow How To Install Android Studio On Windows.
Step 1 - Download SDK Tools
Open up the download tab of Android Studio and scroll down to the Command line tools but section. This section shows various options to download the SDK tools as shown in Fig 1.
Click the first link having the download option for Windows as highlighted in Fig 1. Information technology volition inquire to accept to terms and weather condition as shown in Fig two.
Go through the details, agree on the terms and atmospheric condition and click the Download Button to start the download.
Step 2 - Install Control Line Tools
In this step, we will install the Android Command Line Tools on Windows ten. Create the directory android-sdk at your preferred location and excerpt the content of the downloaded SDK Tools zip to this directory. Brand sure that the extracted content is bachelor within the android-sdk directory created by the states every bit shown in Fig iii.
Step 3 - Install Platform Tools
In this step, nosotros will install the Android Platform Tools on Windows x. Follow the same steps like to Android SDK Tools to install Android Platform Tools using the download link equally shown in Fig 4, Fig 5, and Fig 6.
Step 4 - Configure Environment Variable
Right-click the My Computer or This PC on the desktop and click the Properties Option. Now click the Advanced system settings. It will show the System Properties dialog having Avant-garde Tab options as shown in Fig 7.
Click the Environment Variables Button and click the New Button in the first section. Set the Variable Proper name field to ANDROID_HOME and Variable Value to the android-sdk directory created by the states in the previous stride.
Similarly, also configure the environment variable ANDROID_SDK_ROOT to the android-sdk directory.
Step 5 - Configure Commands
In previous steps, we take downloaded and extracted the Command Line Tools and Platform Tools to the android-sdk directory. Both the tools provide several command-line utilities which we need to run by going to the appropriate directory having the executable files.
We can brand these commands bachelor at the system level without going to these directories by calculation the path to tools, tools\bin, and platform-tools to the arrangement path as shown in Fig 9. Brand sure that these executables practice not break other commands having the same name before adding these paths to the PATH environment variable.
At present open the Control Prompt and check the ADB and SDK Manager versions as shown in Fig 10. Yous might be required to restart the system to apply the environment variables set by us.
# Bank check adb version
adb --version# It must bear witness the installed adb version
Android Debug Bridge version 1.0.41
Version 31.0.0-7110759
Installed every bit E:\tools\java\android-sdk\platform-tools\adb.exe# Check sdkmanager version
sdkmanager --version# It will show the error equally shown below
Error: Could not determine SDK root.
Error: Either specify information technology explicitly with --sdk_root= or motion this parcel into its expected location: <sdk>\cmdline-tools\latest\
We can see that the ADB control works well and shows the version details, simply the sdkmanager shows an error - "error: could non make up one's mind sdk root. error: either specify information technology explicitly with --sdk_root= or motion this package into its expected location: <sdk>\cmdline-tools\latest\" since it expects the Control Line Tools in a version-specific directory. Now open up the source.backdrop file from the cmdline-tools directory to check the version. Information technology will bear witness the version details as shown beneath.
Pkg.Revision=3.0
Pkg.Path=cmdline-tools;3.0
Pkg.Desc=Android SDK Control-line Tools
Now move all the files to the directory cmdline-tools/iii.0 as shown in Fig x.
Too, update the organization path every bit shown in Fig eleven.
Now close and open the Command Prompt. Too, check the ADB and SDK Managing director versions as shown in Fig 12.
Step half-dozen - Using the SDK Manager
List - We can list the installed and available packages and images using the list control as shown below.
// List all the installed and available platforms, organisation images and other resources
sdkmanager --list// Output should expect like
Installed packages:=====================] 100% Computing updates...
Path | Version | Description | Location
------- | ------- | ------- | -------
platform-tools | 31.0.0 | Android SDK Platform-Tools 31 | platform-tools\Bachelor Packages:
Path | Version | Description
------- | ------- | -------
add together-ons;addon-google_apis-google-fifteen | 3 | Google APIs
...
...// We can see that it shows the tools and platform-tools installed past us
Install Platform - Utilize the below-mentioned control to install the Android x (API level 30) using the SDK director.
# Become to the SDK Tools bin directory to admission sdkmanager
# Outset download the almost recent package
sdkmanager "platforms;android-xxx"
It volition enquire to accept the terms and atmospheric condition as shown in Fig thirteen. Enter y and hit Enter Key to take the terms and conditions. This command creates the directory platforms within android-sdk and installs the parcel android-30 having all the required files to run the emulator for Android 10.
If nosotros again cheque the installed packages, the listing command shows the installed options every bit shown beneath.
sdkmanager --list
Installed packages:=====================] 100% Computing updates...
Path | Version | Description | Location
------- | ------- | ------- | -------
platform-tools | 31.0.0 | Android SDK Platform-Tools 31 | platform-tools\
platforms;android-30 | 3 | Android SDK Platform 30 | platforms\android-30\Bachelor Packages:
Path | Version | Description
------- | ------- | -------
add-ons;addon-google_apis-google-xv | iii | Google APIs
add-ons;addon-google_apis-google-16 | 4 | Google APIs
...
...
Update SDK Manager - Update the SDK managing director using the below-mentioned command.
sdkmanager -- update
Add System Epitome - We tin add arrangement images from available images shown by the list command using the SDK director as shown below. We are adding the near contempo default 64-chip system epitome.
// Install default system image for platform android-30
sdkmanager "system-images;android-thirty;google_apis;x86_64"
Take the License Understanding to consummate the download.
At that place are several projects which need Google Play Services. We need system images specific to Google Play Services as shown below.
// Install Google Play Services system image
sdkmanager "arrangement-images;android-30;google_apis_playstore;x86_64"
Accept the License Understanding to complete the download.
Install Emulator - We need to install the emulator before creating the AVD using SDK Manager.
// Install Emulator
sdkmanager --aqueduct=iii emulator
Accept the License Agreement to complete the download.
Install Build Tools - Install the most recent build tool listed by
// Install Build Tools
sdkmanager "<build tools version>"// Case
sdkmanager "build-tools;30.0.3"
Pace 7 - Using the Emulator and AVD Director
Create Android Emulator - Create the emulator using the organisation image downloaded in the previous step as shown beneath. Replace <emulator proper noun> with the actual name preferred by you.
// Create the emulator using default organization image
avdmanager create avd -northward <emulator name> -k "system-images;android-30;google_apis;x86_64" -g "google_apis"// Case:
avdmanager create avd -n emulator30 -k "organisation-images;android-xxx;google_apis;x86_64" -thousand "google_apis"// Create emulator using Google Play Services system image
avdmanager create avd -n <emulator name> -thou "organization-images;android-30;google_apis_playstore;x86_64"// Case:
avdmanager create avd -n emulator30ps -yard "organization-images;android-30;google_apis_playstore;x86_64"
The in a higher place commands ask a bunch of questions to configure the AVD if nosotros cull the custom hardware profile choice. We have excluded the details of these options from this tutorial since these configuration details depend on the actual needs. After completing all the configurations, it creates the AVD using the proper name provided by usa while configuring it.
Similarly, we can also install the AVD of older versions as shown beneath.
// Create the emulator using default arrangement image
avdmanager create avd -due north <emulator name> -one thousand "system-images;android-29;default;x86_64" -1000 "default"// Case:
avdmanager create avd -n emulator29 -yard "system-images;android-29;default;x86_64" -chiliad "default"// Create emulator using Google Play Services system image
avdmanager create avd -n <emulator name> -grand "system-images;android-29;google_apis_playstore;x86_64"// Example:
avdmanager create avd -n emulator29ps -k "system-images;android-29;google_apis_playstore;x86_64"
Listing Android Emulators - Now become to the tools directory on the control line and cheque the installed platform as shown below.
Notes: Add together Emulator to the organization path equally shown in Fig 14.
Close and re-open the Control Prompt to bank check the AVDs created by united states of america in the previous steps.
// List the available emulators
emulator -list-avds// Output
default28
emulator30
emulator30ps
It volition listing all the AVDs installed by the states.
Run Emulator - We can run the emulator created by us as shown below.
// Run Emulator
emulator -avd <emulator name>// Instance
emulator -avd emulator30
The emulator volition have some fourth dimension to completely launch the AVD. The concluding results should wait like to Fig xv.
Delete Emulator - We tin also delete an existing emulator as shown below.
// Delete Emulator
avdmanager delete avd -n <emulator proper noun>
Summary
This tutorial provided all the steps required to install Android Platform Tools and Android SDK Manager on Windows 10. It also provided the steps required to create and launch the AVDs using the Emulator.
Source: https://android.tutorials24x7.com/blog/how-to-install-android-sdk-tools-on-windows
Posted by: richardsonwinget1952.blogspot.com
0 Response to "How To Install Windows 7 On Ps3"
Post a Comment