Android app with specific package name cannot install

情到浓时终转凉″ 提交于 2019-12-06 15:24:30

One reason why this could happen is because during the last uninstall, not all relevant application files have been removed. I don't know why this happens, but i know that it does sometimes happen.

There might be files left over that are owned by a user/group id that is no longer assigned to an application. When you now install an app with the same packagename, it will get a new user/group because it is not an update, but a fresh install. As your app still has the same package name it wants to create the same files, but it can't because one or more files/dirs still exists from the previous install and it can't overwrite/delete them as it lacks the permission because the are owned by different user/group ids.

You could check the following location for files/dirs relating to your packagename, but i doubt you will able to do much without root access.

  • /data/data
  • /data/app
  • /data/app-asec
  • /data/app-lib
  • /data/dalvik-cache
  • /data/local/tmp
  • /mnt/asec
  • /mnt/obb
  • /mnt/sdcard/Android/obb

(Full disclosure: This is my app)

With root, the "CorpseFinder" feature of SD Maid will check the most common locations (see settings) for this issue.

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