简体   繁体   English

如何从android完全卸载应用程序(以解决签名错误)?

[英]How to uninstall an app completely from android(to solve signature errors)?

I am developing an app from so many days and i use my phone to test the app.我开发了这么多天的应用程序,我用我的手机来测试应用程序。 So android studio always installs my app in my phone directly through ADB.所以 android studio 总是直接通过 ADB 在我的手机中安装我的应用程序。

Today i made a signed apk from android studio and when i tried to install it.今天我从android studio制作了一个签名的apk,当我尝试安装它时。 It gave me an error "App not installed - an existing package by the same name with a conflicting signature is already installed"它给了我一个错误“未安装应用程序 - 已经安装了具有冲突签名的同名现有包”

Check This Image :- http://i.stack.imgur.com/qumOm.png检查此图像:- http://i.stack.imgur.com/qumOm.png

So i uninstalled the old app and when i tried to install the signed apk it gave me error again"App not installed"所以我卸载了旧的应用程序,当我尝试安装签名的 apk 时,它再次给我错误“未安装应用程序”

I Think my old app still left some Data in my phone.我认为我的旧应用程序仍然在我的手机中留下了一些数据。

So i used Titanium BackUp Manager and in first removed the app data and then uninstalled the old app.所以我使用了钛备份管理器,首先删除了应用程序数据,然后卸载了旧应用程序。

This solved the problem and i was able to install my new app now.这解决了问题,我现在可以安装我的新应用程序。

Any,Other suggestions are welcome ??任何,欢迎其他建议?

You can get rid of the signature by removing /system/app/ folder from the device.您可以通过从设备中删除 /system/app/ 文件夹来摆脱签名。 I also had issues installing gcam ports on my android device.我在我的 android 设备上安装 gcam 端口时也遇到了问题。 The above solution worked for me and I was able to install the app after removing /system/app/GoogleCameraLegacy folder through TWRP recovery.上述解决方案对我有用,在通过 TWRP 恢复删除 /system/app/GoogleCameraLegacy 文件夹后,我能够安装该应用程序。

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

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