Android Virtual Device (AVD) Manager
AVD Manager GUI for Visual Studio Code.
Launch Android Emulator and manage SDK packages without touching the Android Studio😎
See the CHANGELOG for the latest changes.
Also, welcome to open the issue any about this extension.
inspired by oognuyh/vscode-android-emulator-helper
Features
AVD Manager
- AVD create, rename, delete, detail view
- packages Install, update, delete
- accept SDK licenses
Emulator
Setup the Android SDK
Steps
- Create Folder for the SDK Root Path (E.g. C:/android/sdk)
- Create cmdline-tools folder inside the SDK Root
(E.g. C:/android/sdk/cmdline-tools)
- Download Android SDK Command-line Tools
https://developer.android.com/studio#command-tools
- Extract the files. You may get a folder call "cmdline-tools" and rename to "latest"
- Move "latest" folder to cmdline-tools Folder
E.g. C:/android/sdk/cmdline-tools/latest
Folder Structure
- C:/android/sdk/ (SDK Root)
- cmdline-tools
- latest (download from android.com)
Remember update avdmanager.sdkPath
to Android SDK Root Path
It should work fine, if the folder structure is correct.
Extension Settings
Required
avdmanager.sdkPath
: Android SDK Root Path
The location of the Android SDK Root Path. If blank, it will attempt to find it from the ANDROID_SDK_ROOT
or ANDROID_HOME
environment variables.
avdmanager.cmdVersion
: Android SDK Command-Line Tools Version (default=latest)
After updating the SDK Path. The AVD Manager will auto lookup all executable paths from the SDK.
Optional
avdmanager.avdmanager
: AVD Manager executable path
avdmanager.avdHome
: AVD Home path for AVDManager
avdmanager.sdkManager
: SDK Manager executable path
avdmanager.emulator
: Android emulator executable path
avdmanager.emulatorOpt
: Android emulator execute options
Commands
avdmanager.pkg-update-all
: Update All SDK Package
avdmanager.pkg-accept-license
: Accept All SDK Licenses
avdmanager.setup-sdkpath
: Update SDK Root Path
avdmanager.setup-avdmanager
: Update AVDManage Path
avdmanager.setup-sdkmanager
: Update SDKManage Path
avdmanager.setup-emulator
: Update Emulator Path
Screenshot
AVD Manager
Create AVD [+ Button]
Create AVD - new AVD Name
Create AVD - device selection
Rename AVD [Pen Icon Button]
Open AVD config.ini [File Button] and Open AVD config folder [Folder Button]
Delete AVD [Right Click on AVD Name]
AVD Details [Mouseover on the AVD name]
Install packages (system-image, platforms, source-code)
Install SDK Tools E.g. Build-tools, cmake, emulator, etc.
Package Detail
Accept All SDK licenses [Double Check icon Button]
Update All SDK Package [Sync icon button]
Emulator
Launch AVD [Play icon Button]
Emulator Log
Links