Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24493] Android: '-d' flag in adb install CLI command fails to install apk on Jellybean & below

GitHub Issuen/a
TypeBug
PriorityNone
StatusClosed
ResolutionWon't Fix
Resolution Date2019-06-14T20:47:12.000+0000
Affected Version/sRelease 6.0.2
Fix Version/sn/a
ComponentsAndroid
Labelsqe-6.0.3
ReporterLokesh Choudhary
AssigneeUnknown
Created2017-03-16T22:59:43.000+0000
Updated2019-06-14T20:47:12.000+0000

Description

Steps to reproduce:

1. Create a default classic app. 2. Build it to an android Jellybean & below devices from command line using appc run command.

Actual Results:

1. The apk fails to install on the devices with error:
[TRACE] Executing: /Users/lchoudhary/Desktop/android-sdk-macosx/platform-tools/adb -s emulator-5554 install -r -d /Users/lchoudhary/Desktop/testloki/build/android/bin/testloki.apk
[ERROR] Failed to install apk on "emulator-5554"
[ERROR] Error: Unknown option: -d
2. We see a failure from studio as well but the error is not clear from studio console logs.

Expected Results:

1. The apk should be installed without any issues on jellybean & lower devices.

Comments

No comments

JSON Source