एवीडीमैनेजर
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
avdmanager
एक कमांड-लाइन टूल है, जिसकी मदद से
कमांड लाइन से, Android वर्चुअल डिवाइस (एवीडी) की जानकारी. एवीडी की मदद से,
Android हैंडसेट, Wear OS स्मार्टवॉच या Android TV डिवाइस की विशेषताएं
जिन्हें Android एम्युलेटर में सिम्युलेट करना है.
अगर Android Studio का इस्तेमाल किया जा रहा है, तो आपको इस टूल और
इसके बजाय, ऐसा कर सकते हैं
IDE की मदद से एवीडी बनाना और उन्हें मैनेज करना.
avdmanager
टूल, Android SDK टूल के कमांड-लाइन टूल पैकेज में शामिल है
पर
android_sdk/cmdline-tools/version/bin/avdmanager
.
वाक्य-विन्यास
avdmanager
का इस्तेमाल करने के लिए, इस सिंटैक्स का इस्तेमाल करें:
avdmanager [global options] command [command options]
ग्लोबल विकल्प
टेबल 1. दुनिया भर में लागू होने वाले विकल्पों की सूची
avdmanager.
ग्लोबल विकल्प
|
ब्यौरा
|
-s | --silent
|
साइलेंट मोड: सिर्फ़ गड़बड़ियां प्रिंट की जाती हैं.
|
-h | --help
|
इस्तेमाल से जुड़ी सहायता.
|
-v | --verbose
|
'कितने शब्दों में जानकारी दी जाए' मोड: गड़बड़ियां, चेतावनियां, और जानकारी देने वाले मैसेज प्रिंट कर दिए जाते हैं.
|
--clear cache
|
SDK Manager रिपॉज़िटरी की मेनिफ़ेस्ट कैश मेमोरी मिटाएं.
|
निर्देश और निर्देश के विकल्प
दूसरी टेबल. निर्देशों और विकल्पों की सूची
avdmanager के लिए.
निर्देश और विकल्प
|
ब्यौरा
|
create avd -n name -k "sdk_id" [-c
{path|size}] [-f] [-p path]
|
एक नया एवीडी बनाएं. आपको एवीडी के लिए name देना होगा और
SDK टूल के पैकेज का आईडी बताएं, ताकि एवीडी के लिए इसका इस्तेमाल किया जा सके
sdk_id को कोटेशन में रखा गया है.
उदाहरण के लिए, इस निर्देश से test नाम का एवीडी बनता है
एपीआई लेवल 25 के लिए x86 सिस्टम इमेज का इस्तेमाल करके:
avdmanager create avd -n test -k "system-images;android-25;google_apis;x86"
अन्य विकल्पों के इस्तेमाल के बारे में नीचे जानकारी दी गई है:
-
-c {path|size} : एसडी का पाथ
इस एवीडी के लिए कार्ड की इमेज या एसडी कार्ड की नई इमेज के साइज़ के बारे में जानकारी
केबी या एमबी में इस AVD के लिए, K से दिखाया गया है या
M . उदाहरण के लिए, -c path/to/sdcard/ या
-c 1000M .
-
-f : एवीडी को फ़ोर्स बनाने की सुविधा. इस विकल्प का इस्तेमाल तब करें, जब
मौजूदा एवीडी को नए एवीडी से ओवरराइट करना ज़रूरी है.
-
-p path : उस जगह का पाथ जहां
इस AVD की फ़ाइलों के लिए डायरेक्ट्री बनाई जाएगी. अगर आप तय नहीं करते हैं, तो
पाथ, एवीडी का बनाया हुआ होता है
~/.android/avd/ .
|
delete avd -n name
|
एवीडी की वैल्यू मिटाएं. आपको name के साथ एवीडी की जानकारी देनी होगी.
|
move avd -n name [-p path] [-r
new-name]
|
एवीडी की जगह बदलना या उसका नाम बदलना. आपको name के साथ एवीडी की जानकारी देनी होगी.
अन्य विकल्पों के इस्तेमाल के बारे में नीचे जानकारी दी गई है:
-
-p path : पर मौजूद जगह का ऐब्सलूट पाथ
चुनें कि इस AVD फ़ाइल को दूसरी डायरेक्ट्री में कैसे ले जाया जाएगा. अगर आपने
आप इस आर्ग्युमेंट को शामिल नहीं करते हैं, तो एवीडी को दूसरी जगह नहीं ले जाया जाएगा. आप
अगर आपको एवीडी का नाम बदलना है, तो इस आर्ग्युमेंट को शामिल न करें
जगह.
-
-r new-name : एवीडी का नया नाम
नाम बदला गया.
|
list [target|device|avd] [-c]
|
सभी उपलब्ध टारगेट, डिवाइस डेफ़िनिशन या एवीडी की सूची बनाएं. अगर आपको
target , device या avd का इस्तेमाल करें,
avdmanager में तीनों के बारे में बताया गया है. -c शामिल करें
स्क्रिप्ट के लिए उपयुक्त संक्षिप्त आउटपुट पाने के लिए तर्क दें. कॉन्टेंट बनाने
तीनों विकल्पों को शामिल करने पर, -c आर्ग्युमेंट उपलब्ध नहीं होता
हैं बेमिसाल.
|
इस पेज पर मौजूद कॉन्टेंट और कोड सैंपल कॉन्टेंट के लाइसेंस में बताए गए लाइसेंस के हिसाब से हैं. Java और OpenJDK, Oracle और/या इससे जुड़ी हुई कंपनियों के ट्रेडमार्क या रजिस्टर किए हुए ट्रेडमार्क हैं.
आखिरी बार 2025-07-27 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-27 (UTC) को अपडेट किया गया."],[],[],null,["# avdmanager\n\nThe `avdmanager` is a command-line tool that lets you create and manage\nAndroid Virtual Devices (AVDs) from the command line. An AVD lets you define the\ncharacteristics of an Android handset, Wear OS watch, or Android TV device\nthat you want to simulate in the Android Emulator.\n\nIf you're using Android Studio, then you don't need to use this tool and you\ncan instead\n[create and manage AVDs from the IDE](/studio/run/managing-avds).\n\nThe `avdmanager` tool is included in the Android SDK Command-Line Tools package\nat\n\u003cvar translate=\"no\"\u003eandroid_sdk\u003c/var\u003e`/cmdline-tools/`\u003cvar translate=\"no\"\u003eversion\u003c/var\u003e`/bin/avdmanager`.\n\nSyntax\n------\n\nTo use `avdmanager`, use the following syntax: \n\n```\navdmanager [global options] command [command options]\n```\n\n### Global options\n\n**Table 1.** List of global options for\navdmanager.\n\n| Global option | Description |\n|---------------------|-------------------------------------------------------------------------|\n| `-s` \\| `--silent` | Silent mode: only errors are printed out. |\n| `-h` \\| `--help` | Usage help. |\n| `-v` \\| `--verbose` | Verbose mode: errors, warnings, and informational messages are printed. |\n| `--clear cache` | Clear the SDK Manager repository manifest cache. |\n\n### Commands and command options\n\n**Table 2.** List of commands and options\nfor avdmanager.\n\n| Command and options | Description |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `create avd -n `\u003cvar translate=\"no\"\u003ename\u003c/var\u003e` -k \"`\u003cvar translate=\"no\"\u003esdk_id\u003c/var\u003e`\" [-c {`\u003cvar translate=\"no\"\u003epath\u003c/var\u003e`|`\u003cvar translate=\"no\"\u003esize\u003c/var\u003e`}] [-f] [-p `\u003cvar translate=\"no\"\u003epath\u003c/var\u003e`]` | Create a new AVD. You must provide a \u003cvar translate=\"no\"\u003ename\u003c/var\u003e for the AVD and specify the ID of the SDK package to use for the AVD using \u003cvar translate=\"no\"\u003esdk_id\u003c/var\u003e 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\" ``` The following describes the usages for the other options: - `-c {`\u003cvar translate=\"no\"\u003epath\u003c/var\u003e`|`\u003cvar translate=\"no\"\u003esize\u003c/var\u003e`}`: The path to the SD card image for this AVD or the size of a new SD card image to create for this AVD in KB or MB, denoted with `K` or `M`. For example, `-c path/to/sdcard/` or `-c 1000M`. - `-f`: Force creation of the AVD. Use this option if you need to overwrite an existing AVD with a new AVD using the same name. - `-p `\u003cvar translate=\"no\"\u003epath\u003c/var\u003e: Path to the location where the directory for this AVD's files will be created. If you don't specify a path, the AVD is created in `~/.android/avd/`. |\n| `delete avd -n `\u003cvar translate=\"no\"\u003ename\u003c/var\u003e | Delete an AVD. You must specify the AVD with \u003cvar translate=\"no\"\u003ename\u003c/var\u003e. |\n| `move avd -n `\u003cvar translate=\"no\"\u003ename\u003c/var\u003e` [-p `\u003cvar translate=\"no\"\u003epath\u003c/var\u003e`] [-r `\u003cvar translate=\"no\"\u003enew-name\u003c/var\u003e`]` | Move or rename an AVD. You must specify the AVD with \u003cvar translate=\"no\"\u003ename\u003c/var\u003e. The following describes the usages for the other options: - `-p `\u003cvar translate=\"no\"\u003epath\u003c/var\u003e: The absolute path to the location at which to create the directory where this AVD's files will be moved. If you don't include this argument, the AVD won't be moved. You might choose not to include this argument if you want to rename the AVD in place. - `-r `\u003cvar translate=\"no\"\u003enew-name\u003c/var\u003e: The new name of the AVD being renamed. |\n| `list [target|device|avd] [-c]` | List all available targets, device definitions, or AVDs. If you don't specify `target`, `device`, or `avd`, `avdmanager` lists all three. Include the `-c` argument to receive a compact output suitable for scripts. The `-c` argument is not available when listing all three options together. |"]]