App cannot be installed after bad uninstall

不打扰是莪最后的温柔 提交于 2020-01-03 02:08:11

问题


Using Eclipse, or even by using an Exported Apk, The App Refuses to install,

LogCat says :

12-03 21:25:34.310: W/PackageManager(1073): Package com.app.example signatures 
do not match the previously installed version; ignoring!

But the Problem is that I have already uninstalled the App before installing it again, I have tried to reboot in Recovery > Wipe Cache/Wipe Dalvik Cache with no luck, I am running LolliPop 5.1 & I Removed the Guest Account too with no luck.

The Apk install fine on Others Devices, So there must be something wrong with My Device(using a Custom ROM),

I have also tried adb pm list packages but the App is Not Listed.

is there something to delete, if so where,

Note : It's maybe due to a Bad Uninstall Process, i have manually unistalled this App before using Root Browser then with the Package Manager as usual,

What can be wrong ?

Thanks


回答1:


In very rare cases an uninstall can go wrong causing the packagemanager to indicate that the app isn't installed anymore. The command:

adb shell 'pm list packages -f'

would not return the app package, nor would you find the app under settings.

However, the app cannot be installed anymore because the OS still thinks its there somehow.

To fix this, just run:

adb uninstall <package-name>

Note that: in my experience the OS would figure out the app isn't installed anymore by itself after a day or so. (Thus autofixing the issue)



来源:https://stackoverflow.com/questions/34076104/app-cannot-be-installed-after-bad-uninstall

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!