'daemon not running; starting now at tcp:5037
When I start the Android Studio, the following errors occur. I cannot create virtual device and cannot connect device via USB.
* daemon not running; starting now at tcp:5037 adb: CreateProcessW failed: Access is denied. (5) * failed to start daemon error: cannot connect to daemon 'C:\Users\Abdullah\AppData\Local\Android\Sdk\platform-tools\adb.exe start-server' failed -- run manually if necessary
I have tried via:
- adb nodaemon server in command line
- netstat -ano | findstr "5037" in command line. No list displayed in cmd. No adb in task manager.
- adb start-server in command line, produce same error as above.
- trying to start adb manually, no window opened and no error dialogue opened.
I'm using on Windows 10 Enterprise LTSC.
Solution 1:[1]
I had same problem. My solution:
- Launch Windows Task Manager and find adb.exe not in the Android Studio group. Kill the task.
- In terminal Android Studio, execute adb start-server
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Wai Ha Lee |