When trying to install a very simple application onto an HTC Evo 4G using the "Install on Android Device" option, I get the following error:
[DEBUG] C:\proj\Android\android-sdk\platform-tools\adb.exe -d install -r "C:\proj\workspace\Hello World\build\android\bin\app.apk" [ERROR] protocol failure
However, if I go to the terminal and run the following command, it works:
C:\proj\Android\android-sdk\platform-tools\adb.exe install "C:\proj\workspace\Hello World\build\android\bin\app.apk"
Does anyone know what the problem is. Does it have to do with the -d or -r options or is there something else going on? Thanks for your help.
I Think i got the solution its works for me this problem is only in HTC device its due to the HTC Sync installed and running with titanium studio. we just need to stop htc sync from the task bar right hand side corner and clean project again it should work
I don't know i you solved it yet but try to clean your project build.
Project > Clean…
That worked for me.
Thanks for the help! That seems to help sometimes but other times I find I just need to restart Titanium Studio. Anyhow, the more I am experimenting with installing it on a device, it seems to work most of the time.
same here using htc desire HD, getting same problem while installing in device. project clean and restart is just temp solution. specially after installing sdk 1.7.5 i m getting that issue more often and on top of that installation process is very slow.
Stopping the HTC Sync in task bar sorted this problem on the HTC Desire HD.
Stopping the HTC Sync worked for me to. Thanks ashok siyani