-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Minor
-
Resolution: Fixed
-
Component/s: android-emulator-plugin
-
Labels:None
-
Environment:Android Emulator plugin 1.14
Jenkins 1.400
-
Similar Issues:
The "Install Android package" task doesn't take kindly to filenames with spaces in them:
Filename: My App-debug.apk
[android] Installing APK file 'My App-debug.apk' [1.6] $ /android-sdk/platform-tools/adb -s emulator-46162 install -r My App-debug.apk can't find 'App-debug.apk' to install
Filename: My\ App-debug.apk
[android] Could not find APK file '/home/hudson/workspace/.../1.6/My\ App-debug.apk' to be installed
Filename: "My App-debug.apk"
[android] Could not find APK file '/home/hudson/workspace/.../1.6/"My App-debug.apk"' to be installed
This should work without having to quote or escape anything.
Field | Original Value | New Value |
---|---|---|
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |
Workflow | JNJira [ 139874 ] | JNJira + In-Review [ 205100 ] |
Code changed in jenkins
User: Christopher Orr
Path:
src/main/java/hudson/plugins/android_emulator/InstallBuilder.java
src/main/java/hudson/plugins/android_emulator/builder/AbstractBuilder.java
http://jenkins-ci.org/commit/android-emulator-plugin/973b3704757c38fd528d9106018a5aa46b600807
Log:
Quote APK filename when passing to aapt or adb. Fixes
JENKINS-9700.