React-native: [Android] run on device: Unable to upload some APKs

Created on 12 Nov 2015  路  10Comments  路  Source: facebook/react-native

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:installDebug'.
> com.android.builder.testing.api.DeviceException: com.android.ddmlib.InstallException: Unable to upload some APKs

TM-550 Android tablet. Unknown sources enabled. Debug via USB - enabled.
Tablet is new, no Google Account or anything attached.

Locked

Most helpful comment

I fixed by run the following command:

adb install app/build/outputs/apk/app-debug.apk

All 10 comments

I fixed by run the following command:

adb install app/build/outputs/apk/app-debug.apk

I've already done that app. Solution was OS restart. Don't know what was wrong. Didn't knew about adb install command. Thanks, maybe it will help me next time or someone else reading this issue :+1:

I ran into this problem last night..adb install did the trick..

however, adb install is not better to resolve this issue

Did you really just restart OS sloving this problem, or did some other oprating? I cannot fix it by restarting OS. By the way, adb install is really not a good idea.

@JoeLucky try genymotion, i never had any similar issues with it. They have paid plans, but you can live with free plan easily. I really can't remember what exactly i did several months ago, but i remember that restarting helped.

https://www.genymotion.com/download/

I solve that problem by turning gradle version into low version. (from 2.4 to 2.2).

because of gradle version is high,so change the version lower

66

I had to increase the gradle version to 2.0.0

Was this page helpful?
0 / 5 - 0 ratings