Android Studio 3.0.1 makes my app laggy and slow!
I don't know why, but when I updated to version 3.0, and build my apps, they act laggy on opening activities especially if it is a list activity.
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.
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.
According to developers.android.com, minimum requirement for android studio is: 4 GB RAM minimum, 8 GB RAM recommended. 2 GB of available disk space minimum, 4 GB Recommended (500 MB for IDE + 1.5 GB for Android SDK and emulator system image)
There is a cache partition on most Android devices that stores items that are accessed the most. After a while, it can become clogged with junk, causing slow performance. You can usually wipe the cache by accessing the recovery screen at startup. Each device has it's own method for accessing the screen.
Since Instant Run doesn't work fine with some SDKs, it might be slowing your application down. Try turning off Instant Run for your project:
To disable this default setting: Open the Settings or Preferences dialog: On Windows or Linux, select File > Settings from the menu bar. On Mac OSX, select Android Studio > Preferences from the menu bar.
Navigate to Build, Execution, Deployment > Instant Run.
Uncheck the box next to Restart activity on code changes.
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