What is the command to list the available avdnames

后端 未结 9 1450
迷失自我
迷失自我 2021-01-30 02:49

I know I can start the emulator avd by typing

emulator.exe @avdname

But is there a command to list the available avdnames? Where are this avd c

9条回答
  •  北恋
    北恋 (楼主)
    2021-01-30 03:37

    I have a simple method (Only for windows):

    1. First of all set permanent path to adb in your system (Pretty similar like java). Find yours, For most of cases - C:\Program Files\android\android-sdk\platform-tools and copy it. Now go through your system properties and find Advance System Setting. Now find Environment Variable, in system variable tab find path. If there is no path then create a new variable and name it Path and paste the copied value in next field. But if there is already a Path, then open it and put a ; semi-colon at the last of value box and paste the copied value.

    2. Now you are almost done.! Check it by typing adb in cmd

    3. and now type adb devices, thats what you wanted. Cheers.!

提交回复
热议问题