How to open Android Device Monitor in latest Android Studio 3.1

前端 未结 15 783
说谎
说谎 2020-12-02 17:59

Recently I updated my android studio, after the update, I am unable to find android device monitor option in the tools section. In the previous update it was there in to

15条回答
  •  伪装坚强ぢ
    2020-12-02 18:34

    You still can run it from File explorer on Windows 10 with the proper path. You just need to go to C:\Users\user\AppData\Local\Android\Sdk\tools\lib\monitor-x86_64 and double click the file monitor.

    If you want to use in the cmd just the 'monitor' command you have to add this folder (in my case with android studio 3.4.1 and win10) to your Environment variables. So, press the start button and then type Edit the system environment variabes click it and System properties window should open. Then go to

    Environment variables => System variables => path

    press the Edit button for path and add the new value

    C:\Users\user\AppData\Local\Android\Sdk\tools\lib\monitor-x86_64

    click 'Ok', 'Ok' and 'Ok' and restart the cmd window if you had it opened and type 'monitor' and it should open the monitor as well.

    Hope it helps!

    PD: This answer was based on this answer https://stackoverflow.com/a/55077068/5360905 from Tiago Martins Peres

提交回复
热议问题