[TIMOB-27749] Android: Device builds do not install to device anymore (SDK 9.x regression)
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Not Our Bug |
Resolution Date | 2020-02-06T17:37:18.000+0000 |
Affected Version/s | Release 9.0.0 |
Fix Version/s | n/a |
Components | Android |
Labels | n/a |
Reporter | Hans Knöchel |
Assignee | Unknown |
Created | 2020-02-05T12:36:56.000+0000 |
Updated | 2020-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
Workaround: Run
gradle installDebug
in<prroject-dir>/build/android
or open the folder in Android Studio and install from there (yes, that works now :-).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.)I actually can't replicate it anymore. Must have been a temporary user issue. Let's resolve this as "Not our bug"!
Got the same problem with 9.0.3.GA today