简体   繁体   English

Android在Device上开发测试吃掉手机内部硬盘空间

[英]Android Development and testing on Device eats the phone internal hard disk space

I'm new to android development and right now I'm working on a game.我是 android 开发的新手,现在我正在开发一款游戏。 However I was using the emulator first, which I found extremely slow (even though my PC is really good).但是我首先使用的是模拟器,我发现它非常慢(即使我的电脑非常好)。 So I started testing my app on my android device using the usb cable and the "debugging mode" set to "on".所以我开始使用 usb 电缆在我的 android 设备上测试我的应用程序,并将“调试模式”设置为“开启”。 Later I got the error that my phone has almost run out of internal hard disk storage.后来我得到了我的手机几乎用完内部硬盘存储的错误。 first it was around 70 mb free and now its like 17mb..This is no good as now I would have to format my android phone to release the space... I dont know how Google can leave this bug in the first place..首先它大约有 70 mb 免费,现在它像 17mb 一样。这不好,因为现在我必须格式化我的 android 手机以释放空间......我不知道谷歌如何能把这个错误放在首位......

Is there any other way to clear the invisible occupied space hogged by the app.有没有其他方法可以清除应用程序占用的不可见空间。 I only tested the app on the phone.我只测试了手机上的应用程序。 It wasnt Installed via market or manually.它不是通过市场或手动安装的。

My android phone is Samsung Galaxy Mini, and I was using eclipse for development我的 android 手机是三星 Galaxy Mini,我使用 eclipse 进行开发

Apps you installed through Eclipse are available to be removed through the normal way.您通过 Eclipse 安装的应用程序可以通过正常方式删除。 Go to Settings -> Applications -> Manage Applications (or whatever it is for your Android version) and select your app. Go 到设置 -> 应用程序 -> 管理应用程序(或任何适用于您的 Android 版本)和 select 您的应用程序。 Within this screen, you can delete the app and you can also "Clear Data" and "Clear cache".在此屏幕中,您可以删除应用程序,也可以“清除数据”和“清除缓存”。 Clearing these items should free up that space.清除这些项目应释放该空间。

That said, I have never heard of an app eating space just for fun.也就是说,我从来没有听说过一个应用程序吃空间只是为了好玩。 Please make sure you don't have a leak of some sort.请确保您没有某种形式的泄漏。

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

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