Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to set adb - emulator timeout from commandline

Tags:

android

I wish to install an apk on the emulator in android through command line. Thats pretty straightforward.

Now a couple of times, i see a timeout when the app is being installed. To overcome this scenarios folks have suggested we increase the adb timeout in eclipse. How do it do through commandline. I am trying to integrate deployment in our CI system.

An ideas will be much appreciated.

like image 331
user210504 Avatar asked Sep 24 '12 22:09

user210504


1 Answers

A post in the Android issues list suggests using ADB_INSTALL_TIMEOUT=10 to set the limit to 10 minutes.

like image 79
Eric Hu Avatar answered Nov 04 '22 14:11

Eric Hu