I want to run android-studio emulator without having an adb.

On running the emulator It checks for the adb.exe using ANDROID_SDK_ROOT environment variable and exits if there is no valid one(valid one = having an adb).

How to run the emulator without having the adb? Is there a command enabling running the emulator without the adb or something like that?

  • Could you explain what you are actually trying to do or why you want to run the emulator without adb?
    – Robert
    Oct 12 at 7:21
  • @Robert I want to run it on a platform that doesn't have a compatible adb and I want to save the resources since I don't need it.
    – asmmo
    Oct 12 at 7:38
  • Well the emulator is open source. You can try to modify the sources and build your own version.
    – Robert
    Oct 12 at 7:39
  • @Robert yeah I know that but do I have to remove the dependencies on adb manually or there is a parameter I can pass to make it work without the adb?
    – asmmo
    Oct 12 at 8:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.