Visual Studio 2015 development Android app startup debugging always fails to complete application deployment solution

Source: Internet
Author: User

After you create an Android app project, start debugging directly and discover that visual Studio Emulator for Android has run successfully, but the app is always in build (wait longer than 1 hours) and is not deployed to the emulator as expected via ADB. Export the app directly to the APK and drag it to the simulator to deploy directly, prompting:

File transfer failed. Error:unable to install the file through ADB. Adb.exe not found. Make sure has Android SDK Tools installed.

View the list of processes found Adb.exe has been started and communicates with Visual Studio, but Xde and adb.exe do not communicate. This should be due to xde not locating the Android SDK path. So run process Monitor, try to drag the apk again, and finally find Xde find the registry key named "Hkcu\software\microsoft\visualstudioemulator\android\adbpath", Add the corresponding key-value problem resolution. Suspicion and I did not have a relationship with the Android SDK installed directly through Visual Studio, causing some settings to not take effect.

Visual Studio 2015 development Android app startup debugging always fails to complete application deployment solution

Related Article

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.