Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why app freezes for some time while the first opening.?

My app freezes for some time while the first opening of the app. From there on app fires up with no time. Why is this happening and any ways to fix this? I have tried adding a Simple Activity with one small image, even then it freezes for the first time.

like image 288
Vettiyanakan Avatar asked Oct 24 '25 08:10

Vettiyanakan


1 Answers

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→ Build, Execution, Deployment → Instant Run and uncheck Instant Run

like image 108
Shanto George Avatar answered Oct 26 '25 22:10

Shanto George



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!