Com.android.ddmlib.InstallException:Unable to upload some APKs?

Source: Internet
Author: User

When a real machine is debugged, the cmd command executes react-native run-android when the com.android.ddmlib.InstallException:Unable to upload some APKs exception occurs, Then there is a solution that tries to view or debug and general logs by outputting the error stack, and no other errors are found.

Behind the discovery ADB devices appeared two devices one is a real machine, the other is emulator-5594 host, because can not appear two or more devices, immediately kill ADB, restart command: adb kill-server adb start-server, Pretty happy to open the debugging React-native run-android, or the error (egg pain).

At this time to StackOverflow a search error found that the default gradle1.3.1 changed to 1.2.3 package run successfully

Reference: Http://stackoverflow.com/questions/32932874/com-android-ddmlib-installexception-unable-to-upload-some-apks

Attach the result of the operation:

Com.android.ddmlib.InstallException:Unable to upload some APKs?

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.