Home > Net >  Is it necessary to install Android Studio to work with the emulator in vscode?
Is it necessary to install Android Studio to work with the emulator in vscode?

Time:09-27

It asks me to mark the location of the sdk file in the adb section of the genymotion emulator. However, android studio is not installed on my computer. Therefore, there is no Android/sdk file in C:\Users\Win10\AppData\Local. In short, do I have to install android studio to use genymotion emulator in vs code program?

CodePudding user response:

Solve the problem by downloading command tool files and running sdkmanager.bat without using android studio.

CodePudding user response:

You can download the android sdk using enter image description here

Once installed run the sdkManager in a command line tools. The sdkmanager is a command line tool that allows you to view, install, update, and uninstall packages for the Android SDK.

List installed and available packages

sdkmanager --list [options] \
           [--channel=channel_id] // Channels: 0 (stable), 1 (beta), 2 (dev), or 3 (canary)

Use the channel option to include a package from a channel up to and including channel_id. For example, specify the canary channel to list packages from all channels.

Install packages

sdkmanager packages [options]
  • Related