avd-manager-cli 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +97 -0
- package/package.json +3 -1
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Rabi Iya
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
````markdown
|
|
2
|
+
# AVD Manager CLI
|
|
3
|
+
|
|
4
|
+
[](https://badge.fury.io/js/avd-manager-cli)
|
|
5
|
+
[](https://www.npmjs.com/package/avd-manager-cli)
|
|
6
|
+
[](https://opensource.org/licenses/MIT)
|
|
7
|
+
|
|
8
|
+
Welcome to **AVD Manager CLI** — a simple and efficient command-line tool for managing Android Virtual Devices (AVDs) directly from your terminal.
|
|
9
|
+
|
|
10
|
+
This quick-start guide will help you install, configure, and use the CLI in just a few steps.
|
|
11
|
+
|
|
12
|
+
## 🧩 Prerequisites
|
|
13
|
+
|
|
14
|
+
Before you begin, make sure you have:
|
|
15
|
+
|
|
16
|
+
- **Android SDK** installed
|
|
17
|
+
- **Java JDK 11+**
|
|
18
|
+
- **Android SDK tools** (`avdmanager`, `sdkmanager`) available in your PATH
|
|
19
|
+
- **Node.js** (if installing via npm)
|
|
20
|
+
|
|
21
|
+
## Installation
|
|
22
|
+
|
|
23
|
+
You can install AVD Manager CLI globally using npm:
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
npm install -g avd_manager
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Or clone the repository manually:
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
git clone https://github.com/Tdbo21/avd_manager.git
|
|
33
|
+
cd avd_manager
|
|
34
|
+
npm install
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## First Run
|
|
38
|
+
|
|
39
|
+
After installation, verify the CLI is working:
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
avdm --help
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
You should see a list of available commands and their usage.
|
|
46
|
+
|
|
47
|
+
## 🧭 Common Commands
|
|
48
|
+
|
|
49
|
+
| Command | Description |
|
|
50
|
+
| -------------------------------------------------------- | ------------------------ |
|
|
51
|
+
| `avdm `list | Lists all available AVDs |
|
|
52
|
+
| `avdm `create `Pixel_API_35 `--device `pixel `--api `35` | Creates a new AVD |
|
|
53
|
+
| `avdm `delete `Pixel_API_35` | Deletes an existing AVD |
|
|
54
|
+
| `avdm `launch `Pixel_API_35` | Launches an existing AVD |
|
|
55
|
+
|
|
56
|
+
## 🧪 Example Usage Workflow
|
|
57
|
+
|
|
58
|
+
List existing AVDs
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
avdm list
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
Create a new AVD
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
avdm create Pixel_API_35 --device pixel --api 35
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
Delete an AVD
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
avdm delete Pixel_API_35
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
Launch an AVD
|
|
77
|
+
|
|
78
|
+
```bash
|
|
79
|
+
avdm launch Pixel_API_35
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
## 🧰 Troubleshooting
|
|
83
|
+
|
|
84
|
+
If you encounter issues:
|
|
85
|
+
|
|
86
|
+
- Ensure your Android SDK path is correctly set
|
|
87
|
+
- Check permissions for the .android directory
|
|
88
|
+
|
|
89
|
+
## 🧩 Next Steps
|
|
90
|
+
|
|
91
|
+
- Visit the GitHub Repository - [](https://github.com/Tdebo21/avd_manager)
|
|
92
|
+
- Contribute or open issues to improve the tool
|
|
93
|
+
|
|
94
|
+
## License
|
|
95
|
+
|
|
96
|
+
MIT
|
|
97
|
+
````
|