开发者

Debug on HTC Wildfire S - Error with Adb

I'm using an htc wildfire S with Android 2.3.3 to debug my app. But every time I deploy it, I get message:

[2011-08-01 16:10:48 - motodev_pckafv] Failed to install motodev_pckafv.apk on device 'HT15ATT00191': Connection refused: connect
[2011-08-01 16:10:48 - motodev_pckafv] com.android.ddmlib.InstallException: Connection refused: connect
[2011-08-01 16:10:48 - motodev_pckafv] Launch canceled!

So, i run command "adb devices" on prompt and get message:

* daemon not running. Starting it now on port 5037 *
* daemon started successfully *

Then, run app again in eclipse and now works. I need to do this every time.

Anyon开发者_如何学编程e know the solution?

Ty

edit:

When I use HTC magic 2.1, works normally. The error only happens with the HTC wildfire 2.3.3.


you have to set from phone -> sync and yu have to download htc sync driver. (whnen install disable antivirus) After you can install it from eclipse and from htc sync , you add the file apk from your application bin directory

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜