You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When install apk using adbkit.install(serial, apk), it will push the apk to temp dir then install it with the shell command pm install -r remote_apk_file . But in my case the errors such as "Signature conflicts", "UID changes" and "Package downgrade" were encountered sometimes on a few devices, so I changed the code in adbkit/lib/adb/command/host-transport/install.js:
Now the apk can be installed successfully for almost all the devices. Is there any other(elegant) way instead of changing code to install apk without the option '-r'? Thanks.
The text was updated successfully, but these errors were encountered:
Now I first clear app data and unisntall pkg, then install the apk, all the code is written with adbkit. It might be due to incomplete cleaning after uninstall pkg on some devices.
When install apk using adbkit.install(serial, apk), it will push the apk to temp dir then install it with the shell command
pm install -r remote_apk_file
. But in my case the errors such as "Signature conflicts", "UID changes" and "Package downgrade" were encountered sometimes on a few devices, so I changed the code in adbkit/lib/adb/command/host-transport/install.js:Now the apk can be installed successfully for almost all the devices. Is there any other(elegant) way instead of changing code to install apk without the option '-r'? Thanks.
The text was updated successfully, but these errors were encountered: