Vettiyanakan
Vettiyanakan

Reputation: 8500

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.

Upvotes: 4

Views: 1760

Answers (2)

Tushar Rajput
Tushar Rajput

Reputation: 1

I think you're not using Multithreading

Upvotes: 0

Shanto George
Shanto George

Reputation: 994

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

Upvotes: 5

Related Questions