Adb:createfilew ' nul ' failed: The system cannot find the specified file, * daemon not running; Starting now at Tcp:5037_adroid

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.