When i run my app, it takes about 10 min to display on my phone. And every change in code also takes 10 min. What should I do? I am using Android Studio 2.0
.
There may be many plugins in Android Studio that you are not using it. Disabling it will free up some space and reduce complex processes. To do so, Open Preferences >> Plugins and Disable the plugins you are not using.
Android Studio needs at least 8 GB RAM to run better. Change your Hard Disk to SSD. Loading/Compiling/Designing/Writing time will be reduced even in 4GB RAM. Use Power Save mode from File Menu that will reduce lots of background work.
In android studio goto
If you are using android 2.0 or higher and if you have enabled Instant Run.
File > Settings > Build,Execution,Deployment > Instant
Run and uncheck all four checkboxes.
**
Sometimes enabling Instant run causes app to launch activity too slowly with white screen after running. Disabling instant run will remove the problem.
Restart Android studio
Upgrade to the Android Studio 2.1. I also faced the same problem in 2.0
hope it will work.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With