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

前端 未结 2 1360
失恋的感觉
失恋的感觉 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:27

    There is an issue in version 2.0 and 2.1 of android studio, but the answer is simple. You must go to Preferences/Build, Execution, Deployment/Instant Run.

    Then when you click on "Instant Run" in the right side will appear 4 options with a checkbox for echa one, you must uncheck the first and the last one. Finally click Apply,Ok. And that's all.

    That will solve the problem

提交回复
热议问题