android - 卸载应用程序时未删除数据文件夹
问题描述
当我卸载我的应用程序时,我希望Android> data > (package name) 文件夹也被删除。
我在清单中添加了以下代码:
<application
android:allowBackup="false"
android:fullBackupContent="false"
android:fullBackupOnly="false"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:largeHeap="true"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:hardwareAccelerated="true"
android:theme="@style/AppTheme.Launcher">
但是该文件夹仍然被留下。我检查了设备的备份和还原设置,但它已关闭。
我错过了什么?
解决方案
推荐阅读
- python - 我使用 chomedriver 和 selenium 遇到节点连接错误
- c - 网络设备驱动程序中的不完整类型错误
- unity3d - 强制文件夹中的 Unity 游戏以窗口方式运行
- java - 使用 maven Spigot 编译 mysql 依赖项
- flutter - Dart:解析 api 响应并从父级动态创建子 T
- amazon-web-services - 适用于 SaaS 应用程序的 AWS ECS
- mysql - 如何在 MySQL 中显示所有结果,不包括特定行中多个项目共享的结果?
- python - Python提取数据框中两个特殊字符之间的数字
- amazon-web-services - AWS CloudFormation 模板格式错误:未解决的资源依赖关系
在模板的资源块中 - reactjs - 如何告诉打字稿地图方法中的数组不为空?