4

i am trying to run following command

   $ANDROID_HOME/tools/bin/sdkmanager "emulator"

getting error Warning: Failed to find package emulator

trying to install android SDK viva command line I did install a build tool, platform tool. but when I am trying to install emulator its shows no package available. When I run /sdkmanager --list it's not showing emulator in Available Packages. Does the emulator depend upon CPU n OS ?

Droid
  • 91
  • 1
  • 5

1 Answers1

1

In my case, I can not install build-tools on an infrequent Ubuntu through cmdline-tools, I soluted by a special way, steps as follows:

1.Run ./sdkmanager "emulator" on another common Ubuntu which support.

2.Then a folder named emulator will be created at the sdk root path.

3.Copy this emulator folder to the previous Ubuntu at the same path.

4.Now, I can install build-tools through ./sdkmananger "build-tools;29.0.3" .

zhou xiang
  • 19
  • 3