Skip to content

Instantly share code, notes, and snippets.

@mirao
Created August 28, 2019 15:20
Show Gist options
  • Save mirao/57eedd1d6e40ee25d370eccf5a4d14f2 to your computer and use it in GitHub Desktop.
Save mirao/57eedd1d6e40ee25d370eccf5a4d14f2 to your computer and use it in GitHub Desktop.
[HTTP] --> POST /wd/hub/session/516240da-7c56-45b0-8c6b-f500cb2281f8/appium/device/install_app
[HTTP] {"appPath":"http://192.168.1.239/SPORK-new.apk"}
[debug] [W3C (516240da)] Calling AppiumDriver.installApp() with args: ["http://192.168.1.239/SPORK-new.apk",null,null,null,"516240da-7c56-45b0-8c6b-f500cb2281f8"]
[BaseDriver] Using downloadable app 'http://192.168.1.239/SPORK-new.apk'
[debug] [BaseDriver] Last-Modified: Wed, 28 Aug 2019 07:51:37 GMT
[debug] [BaseDriver] Content-Type: application/vnd.android.package-archive
[debug] [BaseDriver] 'http://192.168.1.239/SPORK-new.apk' (24.89 MB) has been downloaded to '/tmp/2019728-26543-17wtiqz.fgny/SPORK-new.apk' in 23.750s
[debug] [BaseDriver] Approximate download speed: 1.05 MB/s
[debug] [ADB] Running '/home/mira/Android/Sdk/platform-tools/adb -P 5037 -s emulator-5554 shell 'ls -t -1 /data/local/tmp/appium_cache 2>&1 || echo _ERROR_''
[debug] [ADB] The count of applications in the cache: 4
[ADB] Caching the application at '/tmp/2019728-26543-17wtiqz.fgny/SPORK-new.apk' to '/data/local/tmp/appium_cache/19dae6cd814b4b8b0230abb29732966581194a8e.apk'
[debug] [ADB] Running '/home/mira/Android/Sdk/platform-tools/adb -P 5037 -s emulator-5554 shell mkdir -p /data/local/tmp/appium_cache'
[debug] [ADB] Running '/home/mira/Android/Sdk/platform-tools/adb -P 5037 -s emulator-5554 push /tmp/2019728-26543-17wtiqz.fgny/SPORK-new.apk /data/local/tmp/appium_cache/19dae6cd814b4b8b0230abb29732966581194a8e.apk'
[ADB] The upload of 'SPORK-new.apk' (24.89 MB) took 0.149s
[debug] [ADB] Running '/home/mira/Android/Sdk/platform-tools/adb -P 5037 -s emulator-5554 shell pm install -r /data/local/tmp/appium_cache/19dae6cd814b4b8b0230abb29732966581194a8e.apk'
[debug] [W3C (516240da)] Encountered internal error running command: Error executing adbExec. Original error: 'Command '/home/mira/Android/Sdk/platform-tools/adb -P 5037 -s emulator-5554 shell pm install -r /data/local/tmp/appium_cache/19dae6cd814b4b8b0230abb29732966581194a8e.apk' exited with code 1'; Stderr: 'Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package com.spork.dev signatures do not match the previously installed version; ignoring!]'; Code: '1'
[debug] [W3C (516240da)] Error: Command '/home/mira/Android/Sdk/platform-tools/adb -P 5037 -s emulator-5554 shell pm install -r /data/local/tmp/appium_cache/19dae6cd814b4b8b0230abb29732966581194a8e.apk' exited with code 1
[debug] [W3C (516240da)] at ChildProcess.proc.on.code (/usr/lib/node_modules/appium/node_modules/teen_process/lib/exec.js:100:19)
[debug] [W3C (516240da)] at ChildProcess.emit (events.js:198:13)
[debug] [W3C (516240da)] at maybeClose (internal/child_process.js:982:16)
[debug] [W3C (516240da)] at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
[HTTP] <-- POST /wd/hub/session/516240da-7c56-45b0-8c6b-f500cb2281f8/appium/device/install_app 500 25433 ms - 1265
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment