Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14982] Android Build: Run Hook

GitHub Issuen/a
TypeStory
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-10-19T01:24:55.000+0000
Affected Version/sn/a
Fix Version/s2013 Sprint 21, 2013 Sprint 21 Core, Release 3.2.0
ComponentsAndroid, Tooling
Labelsandroidbuild, ay-verified, cb-verified
ReporterChris Barber
AssigneeChris Barber
Created2013-08-28T00:18:14.000+0000
Updated2017-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

Comments

  1. Allen Yeung 2013-08-28

    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.
  2. Allen Yeung 2013-10-19

    PR: https://github.com/appcelerator/titanium_mobile/pull/4781
  3. Lee Morris 2017-03-14

    Closing ticket as fixed.

JSON Source