在 Android 模拟器上安装大 .apk 需要很长时间
我正在为 Android 编写应用程序。应用程序大小超过 200 MB。而且在Android模拟器上安装需要很长时间。我想知道
- 如何在 Android 模拟器上加快大文件的安装。
- 如何加快 Android 模拟器的速度(例如为其提供更多RAM或提供更多内部内存对于它)。
我的操作系统是Windows 7 64位。
I am writing application for Android. Application size is more then 200 MB. And it take very long time to install on the Android Emulator. I want to know
- How can I speed up installation of huge file on Android Emulator.
- How I can speed up Android Emulator ( for example to give more RAM for it or to give more Internal Memory for it ).
My operating system is Windows 7 64bit.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
为什么你会有 200mb 的 APK?我可以想象你会有某种数据(它肯定不是 200mb 的纯代码,对吧?)?
您可以/应该删除它并将其放在模拟器的(虚拟)SD 卡上。 APK 大小会小很多,无需继续加载该数据文件。
最后你还是想在发布时这样做:200mb 太大了。发布一个较小的 APK 并提供数据供下载。
如果它都是代码......那么你就不走运了。
Why would you have a 200mb APK? I can imagine you'd have some sort of data (it's surely not 200mb of pure code, right?) ?
You could/should remove this and put it on the (virtual) SD card of your emulator. APK size will be lot smaller, no need to keep loading that datafile.
In the end you'd want to do this for release anyway: 200mb is way too big. Release a small(er) APK and make the data available as download.
And if it is all code.. well, then you're out of luck.
我认为您无法采取任何措施来加快安装速度。 200mb 是一个大得离谱的 APK。
当您创建 AVD(或选择稍后编辑它)时,您可以指定它拥有的内存量。
请参阅此处的参考:管理虚拟设备
I don't think there's anything you can do to speed up the installation. 200mb is a ridiculously huge APK.
When you create the AVD (or choose to edit it later), you can specify the amount of memory it has.
See reference here: Managing Virtual Devices