Aby Mathew Aby Mathew - 4 days ago 8
Android Question

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.

Answer

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

Comments