-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
install system-images of additional Android versions #20 #28
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
|
||
## | ||
Install system-images of additional Android versions | ||
|
||
**1. Listing Available SDK Packages:** | ||
|
||
``` | ||
sdkmanager --list | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Also, on Windows, I think we need to use |
||
|
||
``` | ||
|
||
This command displays all available SDK packages you can install or update. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also briefly explain what all the different system images mean. Like the difference between Google APIs system image vs Google Play system image; ARM vs Intel; etc. and which system image to install in which case. You can also add a link if you find a good resource to follow regarding this. |
||
|
||
**2. Installing System Images:** | ||
|
||
``` | ||
sdkmanager --install "system-images;android-30;google_apis;x86_64" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Mention it as |
||
|
||
``` | ||
|
||
This command installs the system image for Android 30 with Google APIs for the x86_64 architecture. Replace `android-30` with your desired version. | ||
|
||
**3. Creating an Emulator:** | ||
|
||
``` | ||
avdmanager create avd -n <name> -k "system-images;android-30;google_apis;x86_64" | ||
|
||
``` | ||
|
||
This command creates an emulator named `<name>` and uses the system image for Android 30 with Google APIs for the x86_64 architecture. | ||
|
||
**4. Starting an Emulator:** | ||
|
||
``` | ||
emulator -avd <name> | ||
|
||
``` | ||
|
||
This command starts the emulator named `<name>`. | ||
|
||
**5. Listing Created Emulators:** | ||
|
||
``` | ||
emulator -list-avds | ||
|
||
``` | ||
|
||
This command displays all the emulators you have created. | ||
|
||
**6. Updating SDK Packages:** | ||
|
||
``` | ||
sdkmanager --update | ||
|
||
``` | ||
|
||
This command updates all installed SDK packages to their latest versions. | ||
|
||
**7. Installing Additional SDK Packages:** | ||
|
||
``` | ||
sdkmanager --install "extras;google;google_play_services" | ||
|
||
``` | ||
|
||
This command installs additional SDK packages, such as Google Play services. | ||
|
||
**8. Deleting an Emulator:** | ||
|
||
``` | ||
avdmanager delete avd -n <name> | ||
|
||
``` | ||
|
||
This command deletes the emulator named `<name>`. | ||
|
||
Remember to replace `<name>` with the actual name of your emulator in the commands requiring it. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,7 @@ | |
"url": "git+https://github.com/nightwatchjs/mobile-helper-tool" | ||
}, | ||
"devDependencies": { | ||
"@nightwatch/mobile-helper": "^0.1.12", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think you should not include this dependency. This dependency points to this same repository. |
||
"@types/appium-adb": "^9.4.1", | ||
"@types/cli-progress": "^3.11.0", | ||
"@types/download": "^8.0.1", | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This text should be along with
##
like## Install system-images......
.Remove the new line before the text.