IOException When uploading a apk

I got a strange exception when I try to upload a apk. The exception looks like this,


Failed to upload xxxxxxxx.apk on device 'emulator-5554'
java.io.IOException: Unable to upload file: timeout


After some googling I fount the solution. I need to increase the ADB connection time-out.

The way to increase is,


Window->Preferences->Android->DDMS->ADB connection time-out


By default, the value is 5000, just increase to the sufficient amount.

Comments

Popular posts from this blog

AlarmManager and Notification in Android

Swipe Action and ViewFlipper in Android

Open Gallery and get the selected image in appplication