Showing posts from February, 2011

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' 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.