简体   繁体   English

设备上的 INSTALL_FAILED_INSUFFICIENT_STORAGE

[英]INSTALL_FAILED_INSUFFICIENT_STORAGE on device

I run my app from Android Studio (clicking the green right-pointing arrow in Android Studio) to a device (Samsung SM-T530NU, rooted) Then I stop it and uninstall it.我将我的应用程序从 Android Studio(单击 Android Studio 中的绿色向右箭头)运行到设备(Samsung SM-T530NU,已植根)然后我停止并卸载它。 Then I run it again I see this in logcat:然后我再次运行它我在logcat中看到了这个:

Executing tasks: [:myapp:assembleDebug]执行任务:[:myapp:assembleDebug]
Gradle build finished in 2s 525ms Gradle 构建在 2 秒 525 毫秒内完成
Session 'myapp': running会话“myapp”:正在运行
Session 'myapp': error会话“myapp”:错误

So the app does not run.所以应用程序不会运行。 Then I do a rebuild.然后我做一个重建。 Then click run and I see this:然后点击运行,我看到这个:
Installation failed with message INSTALL_FAILED_INSUFFICIENT_STORAGE.安装失败并显示消息 INSTALL_FAILED_INSUFFICIENT_STORAGE。
Do you want to remove the application data?您要删除应用程序数据吗?

The device has plenty of storage (about 7 of 16gb used) and about 2/3 of memory is used, with myapp using about 90mb of memory.该设备有足够的存储空间(大约使用了 16gb 中的 7 个)并且使用了大约 2/3 的内存,myapp 使用了大约 90mb 的内存。

I've tried various measures suggest here, Android: Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE but nothing helps.我在这里尝试了各种建议的措施, Android:安装错误:INSTALL_FAILED_INSUFFICIENT_STORAGE但没有任何帮助。

What is the problem?问题是什么?

从设备上卸载一个或两个应用程序

This Warning throws when you have insufficient storage in your device . 如果设备中的存储空间不足,则会引发此Warning

Success Way : You can delete some file or unnecessary Application from your device .Try this way.I hope it will helps you. 成功方式:您可以从设备中删除某些文件或不必要的应用程序。尝试这种方式。希望对您有所帮助。

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

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