使用 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