Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27749] Android: Device builds do not install to device anymore (SDK 9.x regression)

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionNot Our Bug
Resolution Date2020-02-06T17:37:18.000+0000
Affected Version/sRelease 9.0.0
Fix Version/sn/a
ComponentsAndroid
Labelsn/a
ReporterHans Knöchel
AssigneeUnknown
Created2020-02-05T12:36:56.000+0000
Updated2020-09-03T09:25:44.000+0000

Description

Using ti build -p android -T device does not install to device anymore:
[INFO]  [GRADLE] BUILD SUCCESSFUL in 43s
[INFO]  [GRADLE] xxx actionable tasks: xxx executed
[INFO]  Writing build manifest: /Users/user/myapp/build/android/build-manifest.json
[INFO]  Performed build only, skipping installing of the application
[INFO]  Project built successfully in xxx

Comments

  1. Hans Knöchel 2020-02-05

    Workaround: Run gradle installDebug in <prroject-dir>/build/android or open the folder in Android Studio and install from there (yes, that works now :-).
  2. Joshua Quick 2020-02-05

    It's working for us. We regularly use the below for local builds... appc run -p android -T device ...and our mocha test suite runs tests on real devices (not just emulator) via... ti build -p android -T device Are you running "Android Studio" while doing a Titanium build? I do know that launching/exiting Android Studio will kill Google's adb server. Exiting Android Studio will sometimes kill the gradle daemon. If you're in the middle of a Titanium build while launching/exiting Android Studio, this might happen. (I don't consider this a Titanium bug.)
  3. Hans Knöchel 2020-02-05

    I actually can't replicate it anymore. Must have been a temporary user issue. Let's resolve this as "Not our bug"!
  4. Sebastian Klaus 2020-09-03

    Got the same problem with 9.0.3.GA today

JSON Source