Skip to content
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

Android : avdmanager #539

Open
ythy opened this issue May 7, 2024 · 0 comments
Open

Android : avdmanager #539

ythy opened this issue May 7, 2024 · 0 comments

Comments

@ythy
Copy link
Owner

ythy commented May 7, 2024

avdmanager

The avdmanager is a command-line tool that lets you create and manage Android Virtual Devices (AVDs) from the command line. An AVD lets you define the characteristics of an Android handset, Wear OS watch, or Android TV device that you want to simulate in the Android Emulator.
If you're using Android Studio, then you don't need to use this tool and you can instead create and manage AVDs from the IDE.
The avdmanager tool is included in the Android SDK Command-Line Tools package at android_sdk/cmdline-tools/version/bin/avdmanager.

Command and options Description

create avd -n name -k "sdk_id" [-c {path|size}] [-f] [-p path]

Create a new AVD. You must provide a name for the AVD and specify the ID of the SDK package to use for the AVD using sdk_id wrapped in quotes. For example, the following command creates an AVD named test using the x86 system image for API level 25:

avdmanager create avd -n test -k "system-images;android-25;google_apis;x86"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant