question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES] (Cannot use apksigner tool for signature verification. )

See original GitHub issue

Environment:

Windows 10 64b Python 3.7 java version “1.8.0_261” npm 6.14.6 Appium desktop Appium v1.17.1 Appium server (from npm) 1.17.1 sdkmanager 3.6.0 appium-uiautomator2-driver@1.56.1 node v12.15.0 Android 8.1 smartphone

Problem

I am trying to automate an application on real Android 8.1 smartphone with Python 3.7. My driver can’t be initialized. I get these error messages (see log): Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES] (Cannot use apksigner tool for signature verification. )

I tried both: Desktop appium and npm Appium servers. I get same issues.

Python code:

desired_caps = {}
desired_caps['automationName'] = 'UiAutomator2'
desired_caps['platformName'] = p_os
desired_caps['platformVersion'] = p_version
desired_caps['deviceName'] = p_deviceName
desired_caps['udid'] = p_udid
desired_caps['noReset'] = 'true'
desired_caps['systemPort'] = p_systemPort
desired_caps['chromeDriverPort'] = p_systemPort
desired_caps['appWaitDuration'] = 100000
desired_caps['newCommandTimeout'] = 0
desired_caps['wdaStartupRetries'] = 4
desired_caps['wdaStartupRetryInterval'] = 20000
desired_caps['uiautomator2ServerLaunchTimeout'] = 100000
desired_caps['appPackage'] = 'com.facebook.katana'
desired_caps['appActivity'] = 'com.facebook.katana.LoginActivity'

Appium log:

[info] [Appium] Welcome to Appium v1.17.1
[info] [Appium] Non-default server args:
[info] [Appium]   sessionOverride: true
[info] [Appium]   allowInsecure: {
[info] [Appium]   }
[info] [Appium]   denyInsecure: {
[info] [Appium]   }
[info] [Appium] Appium REST http interface listener started on 0.0.0.0:4723[info] [HTTP] --> POST /wd/hub/session
[info] [HTTP] {"capabilities":{"firstMatch":[{"appium:automationName":"UiAutomator2","platformName":"Android","appium:platformVersion":"8.1","appium:deviceName":"i11","appium:udid":"0123456789ABCDEF","appium:noReset":"true","appium:systemPort":"4728","appium:chromeDriverPort":"4728","appium:appWaitDuration":100000,"appium:newCommandTimeout":0,"appium:wdaStartupRetries":4,"appium:wdaStartupRetryInterval":20000,"appium:uiautomator2ServerLaunchTimeout":100000,"appium:appPackage":"com.facebook.katana","appium:appActivity":"com.facebook.katana.LoginActivity"}]},"desiredCapabilities":{"automationName":"UiAutomator2","platformName":"Android","platformVersion":"8.1","deviceName":"i11","udid":"0123456789ABCDEF","noReset":"true","systemPort":"4728","chromeDriverPort":"4728","appWaitDuration":100000,"newCommandTimeout":0,"wdaStartupRetries":4,"wdaStartupRetryInterval":20000,"uiautomator2ServerLaunchTimeout":100000,"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity"}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"automationName":"UiAutomator2","platformName":"Android","platformVersion":"8.1","deviceName":"i11","udid":"0123456789ABCDEF","noReset":"true","systemPort":"4728","chromeDriverPort":"4728","appWaitDuration":100000,"newCommandTimeout":0,"wdaStartupRetries":4,"wdaStartupRetryInterval":20000,"uiautomator2ServerLaunchTimeout":100000,"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity"},null,{"firstMatch":[{"appium:automationName":"UiAutomator2","platformName":"Android","appium:platformVersion":"8.1","appium:deviceName":"i11","appium:udid":"0123456789ABCDEF","appium:noReset":"true","appium:systemPort":"4728","appium:chromeDriverPort":"4728","appium:appWaitDuration":100000,"appium:newCommandTimeout":0,"appium:wdaStartupRetries":4,"appium:wdaStartupRetryInterval":20000,"appium:uiautomator2ServerLaunchTimeout":100000,"appium:appPackage":"com.facebook.katana","appium:appActivity":"com.facebook.katana.LoginActivity"}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1594982149396 (12:35:49 GMT+0200 (heure d’été d’Europe centrale))
[info] [Appium] Appium v1.17.1 creating new AndroidUiautomator2Driver (v1.44.2) session
[debug] [Appium] There are no active sessions for cleanup
[debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {
[debug] [BaseDriver]   "alwaysMatch": {
[debug] [BaseDriver]     "platformName": "Android",
[debug] [BaseDriver]     "appium:automationName": "UiAutomator2",
[debug] [BaseDriver]     "appium:platformVersion": "8.1",
[debug] [BaseDriver]     "appium:deviceName": "i11",
[debug] [BaseDriver]     "appium:udid": "0123456789ABCDEF",
[debug] [BaseDriver]     "appium:noReset": "true",
[debug] [BaseDriver]     "appium:systemPort": "4728",
[debug] [BaseDriver]     "appium:chromeDriverPort": "4728",
[debug] [BaseDriver]     "appium:appWaitDuration": 100000,
[debug] [BaseDriver]     "appium:newCommandTimeout": 0,
[debug] [BaseDriver]     "appium:wdaStartupRetries": 4,
[debug] [BaseDriver]     "appium:wdaStartupRetryInterval": 20000,
[debug] [BaseDriver]     "appium:uiautomator2ServerLaunchTimeout": 100000,
[debug] [BaseDriver]     "appium:appPackage": "com.facebook.katana",
[debug] [BaseDriver]     "appium:appActivity": "com.facebook.katana.LoginActivity"
[debug] [BaseDriver]   },
[debug] [BaseDriver]   "firstMatch": [
[debug] [BaseDriver]     {}
[debug] [BaseDriver]   ]
[debug] [BaseDriver] }
[warn] [BaseDriver] Number capability passed in as string. Functionality may be compromised.
[warn] [BaseDriver] Number capability passed in as string. Functionality may be compromised.
[warn] [BaseDriver] Capability 'noReset' changed from string to boolean. This may cause unexpected behavior
[warn] [BaseDriver] Capability 'systemPort' changed from string ('4728') to integer (4728). This may cause unexpected behavior
[warn] [BaseDriver] Capability 'chromeDriverPort' changed from string ('4728') to integer (4728). This may cause unexpected behavior
[warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium:
[warn] [BaseDriver]   wdaStartupRetries
[warn] [BaseDriver]   wdaStartupRetryInterval
[info] [BaseDriver] Session created with session id: 62d0db65-0161-41ba-92fe-d7b3fd1cada1
[info] [UiAutomator2] Starting 'com.facebook.katana' directly on the device[debug] [ADB] Connected devices: [{"udid":"0123456789ABCDEF","state":"device"}]
[info] [AndroidDriver] Using device: 0123456789ABCDEF
[info] [ADB] Using 'adb.exe' from 'C:\Users\Nino\AppData\Local\Android\platform-tools\adb.exe'
[debug] [ADB] Setting device id to 0123456789ABCDEF
[debug] [ADB] Running 'C:\Users\Nino\AppData\Local\Android\platform-tools\adb.exe -P 5037 -s 0123456789ABCDEF shell getprop ro.build.version.sdk'[debug] [ADB] Current device property 'ro.build.version.sdk': 23
[debug] [ADB] Device API level: 23
[warn] [AndroidDriver] No app sent in, not parsing package/activity
[debug] [ADB] Running 'C:\Users\Nino\AppData\Local\Android\platform-tools\adb.exe -P 5037 -s 0123456789ABCDEF wait-for-device'
[debug] [ADB] Running 'C:\Users\Nino\AppData\Local\Android\platform-tools\adb.exe -P 5037 -s 0123456789ABCDEF shell echo ping'
[debug] [AndroidDriver] Pushing settings apk to device...
[debug] [ADB] Getting install status for io.appium.settings
[debug] [ADB] Running 'C:\Users\Nino\AppData\Local\Android\platform-tools\adb.exe -P 5037 -s 0123456789ABCDEF shell dumpsys package io.appium.settings'[debug] [ADB] 'io.appium.settings' is installed
[debug] [ADB] Getting package info for 'io.appium.settings'
[debug] [ADB] Running 'C:\Users\Nino\AppData\Local\Android\platform-tools\adb.exe -P 5037 -s 0123456789ABCDEF shell dumpsys package io.appium.settings'[debug] [ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('3.1.0' >= '3.1.0')
[debug] [ADB] There is no need to install/upgrade 'C:\Users\Nino\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk'
[debug] [ADB] Getting IDs of all 'io.appium.settings' processes
[debug] [ADB] Running 'C:\Users\Nino\AppData\Local\Android\platform-tools\adb.exe -P 5037 -s 0123456789ABCDEF shell 'pgrep --help; echo $?''[debug] [ADB] Running 'C:\Users\Nino\AppData\Local\Android\platform-tools\adb.exe -P 5037 -s 0123456789ABCDEF shell pgrep -f io\\.appium\\.settings'[debug] [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions.
[debug] [ADB] Running 'C:\Users\Nino\AppData\Local\Android\platform-tools\adb.exe -P 5037 -s 0123456789ABCDEF shell appops set io.appium.settings android\:mock_location allow'[debug] [Logcat] Starting logcat capture[debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 4728
[debug] [ADB] Forwarding system: 4728 to device: 6790
[debug] [ADB] Running 'C:\Users\Nino\AppData\Local\Android\platform-tools\adb.exe -P 5037 -s 0123456789ABCDEF forward tcp\:4728 tcp\:6790'
[debug] [ADB] Getting install status for io.appium.uiautomator2.server
[debug] [ADB] Running 'C:\Users\Nino\AppData\Local\Android\platform-tools\adb.exe -P 5037 -s 0123456789ABCDEF shell dumpsys package io.appium.uiautomator2.server'[debug] [ADB] 'io.appium.uiautomator2.server' is installed
[debug] [ADB] Getting package info for 'io.appium.uiautomator2.server'
[debug] [ADB] Running 'C:\Users\Nino\AppData\Local\Android\platform-tools\adb.exe -P 5037 -s 0123456789ABCDEF shell dumpsys package io.appium.uiautomator2.server'[debug] [ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.5.5' >= '4.5.5')
[debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled
[debug] [ADB] Checking app cert for C:\Users\Nino\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk
[info] [ADB] Using 'apksigner.jar' from 'C:\Users\Nino\AppData\Local\Android\build-tools\30.0.1\lib\apksigner.jar'
[debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jre1.8.0_261\\bin\\java.exe' -Xmx1024M -Xss1m -jar C:\\Users\\Nino\\AppData\\Local\\Android\\build-tools\\30.0.1\\lib\\apksigner.jar verify --print-certs C:\\Users\\Nino\\AppData\\Local\\Programs\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v4.5.5.apk[warn] [ADB] Cannot use apksigner tool for signature verification. Original error: Command ''C:\\Program Files\\Java\\jre1.8.0_261\\bin\\java.exe' -Xmx1024M -Xss1m -jar C:\\Users\\Nino\\AppData\\Local\\Android\\build-tools\\30.0.1\\lib\\apksigner.jar verify --print-certs C:\\Users\\Nino\\AppData\\Local\\Programs\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v4.5.5.apk' exited with code 1
[debug] [ADB] Defaulting to verify.jar[debug] [ADB] 'C:\Users\Nino\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk' is signed with the default certificate
[debug] [ADB] Getting install status for io.appium.uiautomator2.server.test
[debug] [ADB] Running 'C:\Users\Nino\AppData\Local\Android\platform-tools\adb.exe -P 5037 -s 0123456789ABCDEF shell dumpsys package io.appium.uiautomator2.server.test'
[debug] [ADB] 'io.appium.uiautomator2.server.test' is not installed
[debug] [ADB] Checking app cert for C:\Users\Nino\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk
[debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jre1.8.0_261\\bin\\java.exe' -Xmx1024M -Xss1m -jar C:\\Users\\Nino\\AppData\\Local\\Android\\build-tools\\30.0.1\\lib\\apksigner.jar verify --print-certs C:\\Users\\Nino\\AppData\\Local\\Programs\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.apk[warn] [ADB] Cannot use apksigner tool for signature verification. Original error: Command ''C:\\Program Files\\Java\\jre1.8.0_261\\bin\\java.exe' -Xmx1024M -Xss1m -jar C:\\Users\\Nino\\AppData\\Local\\Android\\build-tools\\30.0.1\\lib\\apksigner.jar verify --print-certs C:\\Users\\Nino\\AppData\\Local\\Programs\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.apk' exited with code 1
[debug] [ADB] Defaulting to verify.jar[debug] [ADB] 'C:\Users\Nino\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' is signed with the default certificate
[info] [UiAutomator2] Server packages are going to be (re)installed
[debug] [ADB] Running 'C:\Users\Nino\AppData\Local\Android\platform-tools\adb.exe -P 5037 -s 0123456789ABCDEF help'
[debug] [ADB] Running 'C:\Users\Nino\AppData\Local\Android\platform-tools\adb.exe -P 5037 -s 0123456789ABCDEF features'[debug] [ADB] Running 'C:\Users\Nino\AppData\Local\Android\platform-tools\adb.exe -P 5037 -s 0123456789ABCDEF shell 'ls -t -1 /data/local/tmp/appium_cache 2>&1 || echo _ERROR_''
[debug] [ADB] The current Android API does not support extended ls options. Defaulting to no-options call
[debug] [ADB] Running 'C:\Users\Nino\AppData\Local\Android\platform-tools\adb.exe -P 5037 -s 0123456789ABCDEF shell 'ls /data/local/tmp/appium_cache 2>&1 || echo _ERROR_''[debug] [ADB] The count of applications in the cache: 6
[info] [ADB] The application at 'C:\Users\Nino\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk' is already cached to '/data/local/tmp/appium_cache/75e2638551246b73c8e1fef0017fc2163110ac3c.apk'
[debug] [ADB] Running 'C:\Users\Nino\AppData\Local\Android\platform-tools\adb.exe -P 5037 -s 0123456789ABCDEF shell touch -am /data/local/tmp/appium_cache/75e2638551246b73c8e1fef0017fc2163110ac3c.apk'
[debug] [ADB] Running 'C:\Users\Nino\AppData\Local\Android\platform-tools\adb.exe -P 5037 -s 0123456789ABCDEF shell pm install -r /data/local/tmp/appium_cache/75e2638551246b73c8e1fef0017fc2163110ac3c.apk'[info] [ADB] The installation of 'appium-uiautomator2-server-v4.5.5.apk' took 10542ms
[debug] [ADB] Install command stdout: pkg: /data/local/tmp/appium_cache/75e2638551246b73c8e1fef0017fc2163110ac3c.apk

[debug] [ADB] Success
[debug] [ADB] Running 'C:\Users\Nino\AppData\Local\Android\platform-tools\adb.exe -P 5037 -s 0123456789ABCDEF shell 'ls /data/local/tmp/appium_cache 2>&1 || echo _ERROR_''[debug] [ADB] The count of applications in the cache: 6
[info] [ADB] The application at 'C:\Users\Nino\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' is already cached to '/data/local/tmp/appium_cache/337225c94683de622d6effd223b524dc8d16ef48.apk'
[debug] [ADB] Running 'C:\Users\Nino\AppData\Local\Android\platform-tools\adb.exe -P 5037 -s 0123456789ABCDEF shell touch -am /data/local/tmp/appium_cache/337225c94683de622d6effd223b524dc8d16ef48.apk'
[debug] [ADB] Running 'C:\Users\Nino\AppData\Local\Android\platform-tools\adb.exe -P 5037 -s 0123456789ABCDEF shell pm install -r /data/local/tmp/appium_cache/337225c94683de622d6effd223b524dc8d16ef48.apk'[info] [ADB] The installation of 'appium-uiautomator2-server-debug-androidTest.apk' took 1976ms
[debug] [ADB] Install command stdout: pkg: /data/local/tmp/appium_cache/337225c94683de622d6effd223b524dc8d16ef48.apk

[debug] [ADB] Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]
[debug] [UiAutomator2] Deleting UiAutomator2 session
[debug] [UiAutomator2] Deleting UiAutomator2 server session
[debug] [WD Proxy] Matched '/' to command name 'deleteSession'
[warn] [UiAutomator2] Did not get confirmation UiAutomator2 deleteSession worked; Error was: UnknownError: An unknown server-side error occurred while processing the command. Original error: Trying to proxy a session command without session id
[debug] [ADB] Running 'C:\Users\Nino\AppData\Local\Android\platform-tools\adb.exe -P 5037 -s 0123456789ABCDEF shell am force-stop com.facebook.katana'[debug] [Logcat] Stopping logcat capture
[debug] [ADB] Removing forwarded port socket connection: 4728 
[debug] [ADB] Running 'C:\Users\Nino\AppData\Local\Android\platform-tools\adb.exe -P 5037 -s 0123456789ABCDEF forward --remove tcp\:4728'
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1594982170100 (12:36:10 GMT+0200 (heure d’été d’Europe centrale))
[debug] [W3C] Encountered internal error running command: Error: pkg: /data/local/tmp/appium_cache/337225c94683de622d6effd223b524dc8d16ef48.apk

[debug] [W3C] Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]
[debug] [W3C]     at ADB.install (C:\Users\Nino\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-adb\lib\tools\apk-utils.js:582:13)
[debug] [W3C]     at UiAutomator2Server.installServerApk (C:\Users\Nino\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-driver\lib\uiautomator2.js:121:11)
[debug] [W3C]     at AndroidUiautomator2Driver.initUiAutomator2Server (C:\Users\Nino\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-driver\lib\driver.js:440:7)
[debug] [W3C]     at AndroidUiautomator2Driver.startUiAutomator2Session (C:\Users\Nino\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-driver\lib\driver.js:338:5)
[debug] [W3C]     at AndroidUiautomator2Driver.createSession (C:\Users\Nino\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-driver\lib\driver.js:212:7)
[debug] [W3C]     at AppiumDriver.createSession (C:\Users\Nino\AppData\Local\Programs\Appium\resources\app\node_modules\appium\lib\appium.js:358:35)
[debug] [W3C] Destroying socket connection
[info] [HTTP] <-- POST /wd/hub/session 500 20826 ms - 873
[info] [HTTP] 

Python error output:

Traceback (most recent call last):
  File "E:/DropboxBACKUP14112018/Cff/Python/phonebot_lockV2/Facebook_bot.py", line 3236, in <module>
    StartBot("FACEBOOK ","0123456789ABCDEF","4728","i11", "8.1","Android",2,2,2,2,lock)
  File "E:/DropboxBACKUP14112018/Cff/Python/phonebot_lockV2/Facebook_bot.py", line 885, in StartBot
    driver = Initialisation_Driver(p_name_action, p_udid, p_systemPort, p_deviceName, p_version, p_os)
  File "E:/DropboxBACKUP14112018/Cff/Python/phonebot_lockV2/Facebook_bot.py", line 352, in Initialisation_Driver
    driver = webdriver.Remote('http://localhost:4723/wd/hub', desired_caps)
  File "E:\DropboxBACKUP14112018\Cff\Python\PhoneBot\venv\lib\site-packages\appium\webdriver\webdriver.py", line 151, in __init__
    proxy
  File "E:\DropboxBACKUP14112018\Cff\Python\PhoneBot\venv\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 157, in __init__
    self.start_session(capabilities, browser_profile)
  File "E:\DropboxBACKUP14112018\Cff\Python\PhoneBot\venv\lib\site-packages\appium\webdriver\webdriver.py", line 227, in start_session
    response = self.execute(RemoteCommand.NEW_SESSION, parameters)
  File "E:\DropboxBACKUP14112018\Cff\Python\PhoneBot\venv\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
    self.error_handler.check_response(response)
  File "E:\DropboxBACKUP14112018\Cff\Python\PhoneBot\venv\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
    raise exception_class(message, screen, stacktrace)

Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]

What did I try to fix this issue?

After reading some similar issues here in Appium github, I tried different things but without any successful result:

  1. clean cache with “npm cache clean --force”
  2. Remove all files of my %TEMP% folder
  3. Update last version of JAVA, build-tools, sdkmanager,npm,appium-uiautomator2-driver and Appium.
  4. Restart my computer
  5. Restart the smartphone.
  6. I run Appium as Administrator.
  7. Reinstall Desktop Appium server.
  8. Run Appium with Advanced Option>Allow session override.
  9. I removed "appium-uiautomator2-driver " from smartphone and cleaned cache.

All these solutions were suggested in similar issues but they didn’t work with me. Does anyone has any idea what is the source of my problem?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:12

github_iconTop GitHub Comments

1reaction
mykola-mokhnachcommented, Jul 17, 2020

Also, for info, Java8 works for me with build-tools 30

It might be that a fallback (sign.jar) is used in such case. Like I said, look at the method above to understand the flow better.

1reaction
mykola-mokhnachcommented, Jul 17, 2020

The flow is more complicated than it looks. You could check https://github.com/appium/appium-adb/blob/07ddb4bc1a31955c15d0bab6a726dbd5a29d5af5/lib/tools/apk-signing.js#L143 to get more details on how it works.

To disable the cache feature set the remoteAppsCacheLimit capability to zero.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot use apksigner tool for signature verification. Original ...
The problem Appium fails to use apksigner tool for signature verification. Original error: spawn ENOTDIR Environment Appium version (or git ...
Read more >
What is INSTALL_PARSE_FAILED_NO_CERTIFICATES error?
It appears jarsigner can't cope with the carriage return in the filename and, although it will claim the signing is valid if you...
Read more >
INSTALL_PARSE_FAILED_NO_...
INSTALL_PARSE_FAILED_NO_CERTIFICATES error in android studiothe application could not be installed ... Your browser can't play this video.
Read more >
APK signature verification failed. : r/AndroidStudio - Reddit
Hello, i got a problem, i installed android studio to develop an android project, i've choosen the "basic activity" and tried to run...
Read more >
apksigner - Android Developers
Learn about the apksigner tool which allows you to sign APKs and to confirm that an APK's signature will be verified successfully on...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found