使用 android studio“即时运行"启动应用程序非常慢 [英] Starting an app with android studio 'instant run' is very slow

查看:45
本文介绍了使用 android studio“即时运行"启动应用程序非常慢的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚为我的项目启用了即时运行.构建和上传速度更快,但我的应用启动时间已从几百毫秒增加到几秒.

I just enabled instant run for my project. Building and uploading is faster but my app startup time has increased from a few hundreds of milliseconds to a few seconds.

我总体上对这种妥协感到满意.我只是想知道我是否是唯一注意到这一点的人,是否也有机会对其进行优化?

I'm generally happy with that compromise. I just wanted to know if I was the only one noticing this and if there can be any chance to optimize that too ?

推荐答案

此主题的一些好消息.我们刚刚发布了 Android Studio 2.3 Canary 1,它应该可以彻底解决 Instant Run 的启动性能问题.

some good news for this thread. We have just release Android Studio 2.3 Canary 1, and it should completely fix the startup performance issue for Instant Run.

请尝试一下,让我们知道您的想法!下载链接:http://tools.android.com/download/studio/builds/android-studio-2-3-canary-1

Please try it out and let us know what you think! Download link: http://tools.android.com/download/studio/builds/android-studio-2-3-canary-1

这篇关于使用 android studio“即时运行"启动应用程序非常慢的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆