Android takes more time on application start up during first time launch

前端 未结 2 1365
失恋的感觉
失恋的感觉 2020-12-09 17:16

In my project, I have used libraries which require multidex support. Based on the research I did, I came to know that it causes delay during app start up.

I have ena

2条回答
  •  没有蜡笔的小新
    2020-12-09 17:34

    There is a strange issue with newly released Android Studio 2.0 or 2.1. First time of launching application take longer than usual. This issue happens only in debug mode and not effect to your released APK. Also I was suffering this issue and found this solution.

    Settings/Preferences(Mac) → Build, Execution, Deployment → Instant Run and uncheck Instant Run
    

    This will solve your problem and if it is please mark as accepted answer.

提交回复
热议问题