[英]Delay in first time Android app launch
I am facing an issue with Android Studio build. 我正面临Android Studio版本的问题。 When I create a build for any app, the app takes 8-10 sec to launch on first time and then works smoothly.This is not just when launched from IDE even when installed with apk file it launch with a delay.
当我为任何应用程序创建构建时,该应用程序需要8-10秒才能在第一时间启动,然后顺利运行。这不仅仅是从IDE启动时,即使安装了apk文件,它也会延迟启动。 I tried creating build on different systems but mine has this issue.
我尝试在不同的系统上创建构建,但我有这个问题。 I am not sure this issue is with Android Studio or System preferences.
我不确定此问题是否适用于Android Studio或系统偏好设置。 I am using Android Studio 2.1 on a Macbook Pro.
我在Macbook Pro上使用Android Studio 2.1。
You can use Android Profiler to check what is happening with CPU/Memory when the performance drops occurs. 您可以使用Android Profiler检查性能下降时CPU /内存的情况。 Get Android Studio 3 and check your app with Android Profiler https://developer.android.com/studio/profile/cpu-profiler
获取Android Studio 3并使用Android Profiler检查您的应用程序https://developer.android.com/studio/profile/cpu-profiler
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.