简体   繁体   English

推迟首次推出Android应用

[英]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.

相关问题 Android应用程序首次启动启动需要花费更多时间甚至30秒甚至更长时间 - Android app launch first time launch is taking more time even some time 30 sec and more 检查应用程序在 Monkey 工具中启动的时间延迟 - Inspect time delay for the app to launch in Monkey tool Android:检查首次启动 - Android: Check for first time launch 应用在首次启动android时崩溃 - App crashes on first launch android Android应用程序可以在没有第一次启动的情况下做一些工作吗(第一次运行)? - Can android app do some work without first time launch ( Running it for first time)? Android Instant Run首次安装后启动应用程序需要花费太多时间 - Android Instant Run First-time takes too much time to launch app after installed 首次应用启动时再次加载活动 - Activity load again in first time app Launch 除了第一次Rxjava Android以外的延迟 - Delay except the First time Rxjava Android 首次访问启动应用程序中的存储问题 - Accessing storage problem on launch app first time Firebase 时间戳延迟 android 导致应用程序在第一次添加到集合时崩溃。(orderby时间戳) - Firebase Timestamp delay android causing app to crash when first document added to a collection for the first time.(orderby time stamp)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM