Project: titanium
Issue TIMOB-23458: Build command should include -d option or support its own flag for Android builds
Scenario: Build an app for android (with ti build or appc run) to device. Switch git branches or take other actions that result in having tiapp.xml set a lower app version number. Try to build again, and you get the following failure: {code} [INFO] Installing app on device: SM-G900V [ERROR] Failed to install apk on "7d4c9760" [ERROR] Error: INSTALL_FAILED_VERSION_DOWNGRADE {code} Instead of forcing developers to update the tiapp (which adds complexity to git workflows, like when you're reviewing a co-worker's PR), the build/run command should either automatically include the {{-d}} (allow downgrade) on the {{adb install}} command it execs, or it should have its own flag to enable that adb option.
Story points: 1