I installed the Android Studio 3.0.1 in Windows 10, and it turns out that I can't start any emulators, just like these emulators, these emulators don't appear and the following error occurs: * Daemon not running; Starting now at tcp:5037
* Failed to start daemon 22:38 error:cannot connect to daemon ' C:\Users\Username\AppData\Local\Android\Sdk\platform-too Ls\adb.exe Start-server ' failed--run manually if necessary
Every time you need to be in the CMD console, the ADB Nodaemon server can start the ADB normally, and then add the. bat file to the Windows Launcher, start the run automatically cmd and run the ADB automatically.
The operation is as follows: 1, Desktop establishment. bat file
Desktop-> text Document-> Save as a custom (English) named. bat format, edit the. bat file. Add a few lines of code. @echo off if "%1" = = "Hide" goto cmdbegin start Mshta vbscript:createobject ("Wscript.Shell"). Run ("" "%~0" "Hide", 0) (window . Close) &&exit:cmdbegin adb Nodaemon server 2. Placed in the Win10 startup directory, generally for C:\Users\Administrator\AppData\Roaming\ Microsoft\windows\start Menu\Programs\Startup. It should be noted here that the directory is generally hidden, in the access to the Administrator folder to set the display
3. Restart the ADB program can be run in the background