Android DDMS (Monitor) does not start if user profile contains a space in it

后端 未结 5 1090
青春惊慌失措
青春惊慌失措 2020-12-08 07:11

If I use a Windows account such as \"User\", the DDMS can be started from Android Studio.

If I use a Windows account which contains a space such as \"Test User\", th

5条回答
  •  不知归路
    2020-12-08 07:35

    I've just come across this problem too. My workaround was to create a symbolic directory link from "Test%20User" to "Test User".

    1. Open a command prompt as administrator. (shift+ctrl+(enter or click) on the icon will do this)
    2. cd C:\Users
    3. mklink /d "Test%20User" "Test User"
    4. Launch monitor.bat and it should work.

提交回复
热议问题