filmov
tv
4 | Appium Step by Step | How to create Android Virtual Device
Показать описание
Android Virtual Device (AVD) Setup for Automation
00:00 Intro
00:56 How to create and start AVD (emulator) with Android Studio GUI App
02:17 On Android Studio goto Virtual Device Manager > Create new virtual device
03:18 Select device configuration and hardware (name, RAM, storage etc.)
13:31 Check the emulator is available in Device Manager
(Device manager will show all connected devices, virtual and physical)
14:11 Start Stop Android Virtual Device (AVD)
16:40 How to create and start AVD (Emulator) without Android Studio
20:53 Run commands
Use sdkmanager to get required packages like platform-tools, platforms, build-tools
This can be done in a single command e.g.
// 33 is the API level of your android device os
Or can be done in separate commands, e.g.
Get the system image that you want to use for the AVD (Android Virtual Device)
All these folders should automatically go in the ANDROID_HOME folder, else you can manually place them there
Add path of folders platforms, platform-tools and emulator in Path env variable
32:35 Use avdmanager commands to create AVD
(available in cmdline-tools/bin, same place where sdkmanager is)
avdmanager
avdmanager list
avdmanager list avd
avdmanager create avd -n MyAVD1 -k “system-images;android-33;google_apis;x86_64”
Here
-n is the name of the AVD, we can give any name as you like, can also use --name
-k is the system image that we downloaded using sdkmanager above, can also use --package
(using this command - sdkmanager "system-images;android-33;google_apis;x86_64" )
Can also give the id in -d flag
avdmanager create avd -n MyAVD1 -d 17 -k “system-images;android-33;google_apis;x86_64”
The id for a specific device can be referred by running avdmanager list
37:46 Start AVD using emulator commands
emulator -list-avds
emulator -avd MyAVD1
Can also start AVD with a specific resolution (size) using -skin option
emulator -avd MyAVD1 -skin 450x750
On Mac with Apple M1 M2 chip we can get system images with ARM64 architecture
system-images;android-UpsideDownCakePrivacySandbox;google_apis_playstore;arm64-v8a
49:56 Other options to use Android Virutal Device (emulators)
50:26 Cloud Devices
52:44 Next Steps
how to create avd (android emulators) on windows
how to create avd (android emulators) on mac os
how to use sdkmanager
how to use avdmanager
Commands to create android emulator
▬▬▬▬▬▬▬
Share with all who may need this
If my work has helped you, consider helping any animal near you, in any way you can
Never Stop Learning
Raghav Pal
▬▬▬▬
00:00 Intro
00:56 How to create and start AVD (emulator) with Android Studio GUI App
02:17 On Android Studio goto Virtual Device Manager > Create new virtual device
03:18 Select device configuration and hardware (name, RAM, storage etc.)
13:31 Check the emulator is available in Device Manager
(Device manager will show all connected devices, virtual and physical)
14:11 Start Stop Android Virtual Device (AVD)
16:40 How to create and start AVD (Emulator) without Android Studio
20:53 Run commands
Use sdkmanager to get required packages like platform-tools, platforms, build-tools
This can be done in a single command e.g.
// 33 is the API level of your android device os
Or can be done in separate commands, e.g.
Get the system image that you want to use for the AVD (Android Virtual Device)
All these folders should automatically go in the ANDROID_HOME folder, else you can manually place them there
Add path of folders platforms, platform-tools and emulator in Path env variable
32:35 Use avdmanager commands to create AVD
(available in cmdline-tools/bin, same place where sdkmanager is)
avdmanager
avdmanager list
avdmanager list avd
avdmanager create avd -n MyAVD1 -k “system-images;android-33;google_apis;x86_64”
Here
-n is the name of the AVD, we can give any name as you like, can also use --name
-k is the system image that we downloaded using sdkmanager above, can also use --package
(using this command - sdkmanager "system-images;android-33;google_apis;x86_64" )
Can also give the id in -d flag
avdmanager create avd -n MyAVD1 -d 17 -k “system-images;android-33;google_apis;x86_64”
The id for a specific device can be referred by running avdmanager list
37:46 Start AVD using emulator commands
emulator -list-avds
emulator -avd MyAVD1
Can also start AVD with a specific resolution (size) using -skin option
emulator -avd MyAVD1 -skin 450x750
On Mac with Apple M1 M2 chip we can get system images with ARM64 architecture
system-images;android-UpsideDownCakePrivacySandbox;google_apis_playstore;arm64-v8a
49:56 Other options to use Android Virutal Device (emulators)
50:26 Cloud Devices
52:44 Next Steps
how to create avd (android emulators) on windows
how to create avd (android emulators) on mac os
how to use sdkmanager
how to use avdmanager
Commands to create android emulator
▬▬▬▬▬▬▬
Share with all who may need this
If my work has helped you, consider helping any animal near you, in any way you can
Never Stop Learning
Raghav Pal
▬▬▬▬
Комментарии