简体   繁体   English

在Android设备中使用ADB Shell删除非系统应用

[英]Removing non-system app using ADB shell in Android device

I removed an app existing in data folder of my device using adb shell , but while installing the app from my code in device its showing error that can not install over already existing signature. 我使用adb shell删除了设备数据文件夹中现有的应用程序,但是从设备中的代码安装该应用程序时,显示的错误无法安装在现有签名上。 As of now, no app or package exist in my device of the same application. 截至目前,同一应用程序的我的设备中不存在任何应用程序或程序包。

Try to install it with help of "pm install" (not adb install) and post error text here. 尝试在“ pm install”(不是adb install)的帮助下安装它,并在此处发布错误文本。 Possibly it's not fully uninstalled (which is ridiculous but possible in some cases). 可能它没有完全卸载(这很荒谬,但在某些情况下可能)。 Also you need to be sure that app signed with production key and (if it's preinstalled app) with vendor key. 另外,您还需要确保该应用使用生产密钥签名,并且(如果是预安装的应用)使用供应商密钥签名。 In other case it's work would be unpredictable. 在其他情况下,它的工作是无法预测的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM