Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-17295] CLI: Android build install and retry timeouts are too short

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2014-07-11T19:35:50.000+0000
Affected Version/sRelease 3.3.0
Fix Version/sRelease 3.3.0, Release 3.4.0
ComponentsAndroid, Tooling
Labelsn/a
ReporterChris Barber
AssigneeChris Barber
Created2014-07-11T18:38:52.000+0000
Updated2014-07-11T21:54:31.000+0000

Description

Currently the Android build waits 2 minutes for ADB install to complete. It also waits 1 second before retrying when an install fails. To account for large apks and slow emulators, these values should be increased to 4 minutes for the install timeout and 2 seconds for the retry.

Comments

  1. Chris Barber 2014-07-11

    Master: https://github.com/appcelerator/titanium_mobile/pull/5905 3_3_X: https://github.com/appcelerator/titanium_mobile/pull/5906 To test, build an Android app for an ARM emulator build. Despite being slow, it should still not timeout doing the adb install.
  2. Tim Poulsen 2014-07-11

    I tested a few times with ADB killed and no emulator running. I never got a timeout; the build process always successfully started the emulator, installed and started the app.
  3. Lokesh Choudhary 2014-07-11

    Verified the fix using Kitchensink app as its quite heavy app. Did not get any app Install timeouts but saw the app install retry interval shows "retrying in 2000ms." Closing. Environment: Appc Studio : 3.3.0.201407101409 Ti SDK : 3.3.0.v20140711123603 Mac OSX : 10.8.5 Alloy : 1.4.0-rc5 CLI - 3.3.0-rc4 Code Processor: 1.1.1 Nexus 5 - android 4.4

JSON Source