[TIMOB-14982] Android Build: Run Hook
GitHub Issue | n/a |
---|---|
Type | Story |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-10-19T01:24:55.000+0000 |
Affected Version/s | n/a |
Fix Version/s | 2013 Sprint 21, 2013 Sprint 21 Core, Release 3.2.0 |
Components | Android, Tooling |
Labels | androidbuild, ay-verified, cb-verified |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2013-08-28T00:18:14.000+0000 |
Updated | 2017-03-14T18:16:23.000+0000 |
Description
* run (TIMOB-10763 CLI: Android: "run" hook for Android apps)
** validate NEW!
*** verify --device exists
** post-compile
*** if --build-only
**** exit, do not start adb (TIMOB-12034 CLI: Building for android with '-b' -build only flag starts the daemon & waits for the device after building the app)
*** else
**** verify --device still exists
**** support multiple devices (TIMOB-7053 Tooling: Android - when using Run on Device provide support for multiple devices)
**** wait for device
**** install the app (adb install)
***** if install fails with error INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES, adb uninstall the app, then try again (TIMOB-8665 Android: INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES when installing different app with same app id)
**** if installed successfully, then "adb shell am start"
**** adb forward debugger and profiler
Summary log from chat recorded on poker session Core Sprint 18 Poker Session: [10:37:23 PM] Matt Langston: Need to account for soasta-ized apps in the run hook.
PR: https://github.com/appcelerator/titanium_mobile/pull/4781
Closing ticket as fixed.