在 Android 模拟器上安装大 .apk 需要很长时间

发布于 2024-12-20 20:33:57 字数 280 浏览 3 评论 0原文

我正在为 Android 编写应用程序。应用程序大小超过 200 MB。而且在Android模拟器上安装需要很长时间。我想知道

  1. 如何在 Android 模拟器上加快大文件的安装
  2. 如何加快 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

  1. How can I speed up installation of huge file on Android Emulator.
  2. 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

呆° 2024-12-27 20:33:57

为什么你会有 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.

淡淡の花香 2024-12-27 20:33:57
How can I speed up installation of huge file on Android Emulator.

我认为您无法采取任何措施来加快安装速度。 200mb 是一个大得离谱的 APK。

 How I can speed up Android Emulator ( for example to give more RAM for 
it or to give more Internal Memory for it ).

当您创建 AVD(或选择稍后编辑它)时,您可以指定它拥有的内存量。

请参阅此处的参考:管理虚拟设备

How can I speed up installation of huge file on Android Emulator.

I don't think there's anything you can do to speed up the installation. 200mb is a ridiculously huge APK.

 How I can speed up Android Emulator ( for example to give more RAM for 
it or to give more Internal Memory for it ).

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文