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

后端 未结 5 1068
青春惊慌失措
青春惊慌失措 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:31

    I solved the issue with giving the "Users" Full control on the directory

    C:\Users\hans%20naert\\.android\monitor-workspace
    

    (space in username is converted to %20 ... => for me "Hans Naert" becomes "hans%20naert)

    screencapture of securitysettings

    0 讨论(0)
  • 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.
    0 讨论(0)
  • 2020-12-08 07:39

    Run your Command Prompt or Android Studio with administrative privileges provided, and start the Android Device Monitor

    0 讨论(0)
  • 2020-12-08 07:41

    I got same problem, I fixed it by running android studio as administrator,

    otherwise you can run it manually when require.

    0 讨论(0)
  • 2020-12-08 07:52

    I had the same error.

    Launch Android Studio with administrative permissions

    It worked for me.

    0 讨论(0)
提交回复
热议问题