什么原因导致我的设备在重启后卸载应用程序?

huangapple go评论153阅读模式
英文:

What is causing my device to uninstall the application after a reboot?

问题

我有一个正在运行的应用程序,一切正常 - 没有问题。我通过侧载将它放到我的设备上,照常运行,应用程序也没有问题。我的一个测试是重新启动设备,然后检查是否保留了某些信息 - 但出于某种原因,每当我重新启动设备时,我的应用程序就被完全卸载了。它不在“应用”部分,也不在我的任何选项卡或屏幕上 - 它就这么消失了。有人知道是什么原因会导致应用程序在重新启动设备时被完全卸载吗?不久前,我能够在这个设备上和另一个设备上顺利做到这一点,但现在似乎每次我重新启动一个设备时,应用程序都会消失。

我不认为我们最近所做的任何事情会引起这种情况...它刚开始发生。起初我以为是设备本身的问题,但鉴于我现在已经看到两台设备在重新启动后丢失了应用程序,这一定与我在我的集成开发环境(IDE)或应用程序中的某些内容有关。

对于这可能是什么原因,有什么想法吗?

英文:

So I have my application that I'm running, which works normally - no issues. I get it onto my device by sideloading it, as per the norm, and again the application runs just fine. One of my tests is to reboot the device and then check to see if certain info persisted - however, for some reason, whenever I reboot the device, my app is totally uninstalled. It's not in the Apps section, or on any of my tabs or screens - it's just gone. Does anyone know what could cause an app to be completely uninstalled like this from just rebooting the device? I was able to do this just fine on this device and another not too long ago, but now it seems every time I reboot one, the app's gone.

I don't believe anything we've done recently would cause this... it just started to happen. I thought it was the device itself at first, but given I've now seen two devices that lose the app after a reboot, it has to be related to something I have either in my IDE or in my app.

Any thoughts on what this could be?

答案1

得分: 2

以下是翻译好的部分:

There are some possible reasons why the applications on your device uninstall.

  1. The application is installed in the external SD card.

    • 应用程序安装在外部SD卡上。
  2. You have installed or reached an untrusted program that can harm your device.

    • 您可能安装了或达到了一个可能会危害您设备的不受信任的程序。
  3. Your device was hacked, check your Google account if there are suspicious or unknown activities/logins that can confirm that you were hacked.

    • 您的设备可能被黑客入侵,请检查您的Google帐户是否有可确认您被黑客入侵的可疑或未知活动/登录。

How to prevent applications from getting deleted automatically after reboot?

  1. Root the android phone - enables you to add new apps and remove unnecessary programs in your Android phone.

    • 对Android手机进行Root - 允许您添加新应用程序并删除Android手机中不必要的程序。
  2. Convert the user app into the system app - it cannot be changed even if you delete it. So if you want to convert the user app to a system app, you need to move the app APK files to system/app manually.

    • 将用户应用程序转换为系统应用程序 - 即使您删除它,也无法更改它。所以,如果您想将用户应用程序转换为系统应用程序,您需要手动将应用的APK文件移动到system/app目录。
  3. Reboot your phone - if your device is already rooted but still uninstall apps, you should reboot it, but you need to unroot your phone first.

    • 重新启动您的手机 - 如果您的设备已经被Root但仍然卸载应用程序,您应该重新启动它,但首先需要取消Root。
英文:

There are some possible reasons why the applications on your device uninstall.

  1. The application is installed in the external SD card.
  2. You have installed or reached an untrusted program that can harm your device.
  3. Your device was hacked, check your Google account if there are suspicious or unknown activities/logins that can confirm that you were hacked.

How to prevent applications from getting deleted automatically after reboot?

  1. Root the android phone - enables you to add new apps and remove unnecessary programs in your Android phone.
  2. Convert the user app into the system app - it cannot be changed even if you delete it. So if you want to convert the user app to a system app, you need to move the app APK files to system/app manually.
  3. Reboot your phone - if your device is already rooted but still uninstall apps, you should reboot it. but, you need to unroot your phone first.

huangapple
  • 本文由 发表于 2023年3月7日 04:54:46
  • 转载请务必保留本文链接:https://go.coder-hub.com/75655752.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定