Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error adb.exe when running Visual Studio 2015 RC

When I try to deploy an application in VS 2015 with Tools for Apache Cordova (TACO), I get this error:

Unable to start program C:\users\pc\AppData\Local\Android\android-sdk\platform-tools\adb.exe

operation not supported. unknown error 0x80070057

I have confirmed that adb.exe exists in my computer

like image 966
user_odoo Avatar asked Sep 17 '15 13:09

user_odoo


1 Answers

I found the solution to fix this issue on my project by directly running the ADB command to install the APK file on my device to make it so I can see the actual reason the deploy to my phone was failing:

adb install android-debug.apk

Which gave me the error:

Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]

which I was then able to google and find the solution to that problem.

Mine was failing because I had deleted my test version of the app from my phone but the reinstall of the test app was failing because the production app was loaded.

INSTALL_FAILED_UPDATE_INCOMPATIBLE when I try to install compiled .apk on device

Your problem may be different than mine, but this methodology may allow you to track your problem down.

like image 178
TechSavvySam Avatar answered Oct 01 '22 14:10

TechSavvySam