Android Studio is a useful tool for every android app development company. But, it’s not the best in the market.
For starters, it’s not the fastest among all IDEs (Integrated Development Environment) available. But more importantly, it also faces performance issues while working with low-end Android devices.
To fix this problem among many others, Google had initiated ‘Project Marble’ in November 2018.
Project Marble was basically focused on improving the overall product quality of Android Studio.
Under this project, Google Engineers spent about the last eight months to improve the build speed, memory settings, and bring many other updates in its preferred IDE Android Studio.
Specifically, Google identified and fixed around 600 bugs, 20 defects, and over 50 memory leakages.
Apart from this, Google also came up with a new infrastructure for Android Studio to upgrade its system health. And as a result, the new Android Studio 3.5 can now detect performance issues seamlessly.
While this is just the tip of the iceberg, in this blog, we’ve shared everything, from new features to bugs fixes and improvements Google made in its latest Android Studio 3.5 version.
What’s new in android studio 3.5 (and what has changed)?
If you have already updated Android Studio to its latest version 3.5, then you might have found that writing code in XML files is much more responsive than it was in previous versions.
While this is just a surface-level change, Google has brought many less visible improvements in Android Studio 3.5.
Let’s explore new features and improvements integrated into the latest version of Android Studio.
Auto-recommend memory settings
The latest Android Studio 3.5 is now capable of automatically anticipating if your Android app project needs more RAM in case your machine has a higher capacity of RAM.
In fact, when the Android Studio recognizes that your project requires more RAM, it not only automatically increase the memory heap size, but it also notifies the android app developer for the same.
In addition to this, the Android Studio also allows manually adjusting the memory heap size by clicking on ‘Appearance & Behavior’ > ‘Memory Settings’.
Whether you hire android app developer with over a decade of experience or a fresher, the time taken in developing an Android app using Android Studio was always been a longstanding problem.
Unless your developer has a very high-end system, the project compilation always takes more than 3 minutes in Android Studio.
Now, 3 minutes for compilation might not seem much of a big deal. But just think about waiting for 3 minutes for each small change you make in the code.
In order to combat this problem, Google has made numerous build speed enhancements.
Specifically, Google optimized the key annotation processes with incremental support, which includes Dagger, Kotlin (KAPT), Glide, AndroidX data binding, and Realm.
As a result, it has had a significant effect on the build speed.
If you’ve ever build android app using Android Studio, then you might know that the Android Studio sometimes freezes out of nowhere for 1 second to 1 minute and sometimes it just crashes and needs to be force closed.
Particularly, writing code in XML files often resulted in slow performance and crashes while Android Studio.
Thankfully, Google identified this issue and under Project Marble, they optimized the coding experience in XML files by upgrading the typing latency, which pacified the process of editing the data-binding expressions.
Though the issue is still not completely resolved, but we would definitely call it a major improvement.
One of the major changes Google brought in Android Studio 3.5 is ‘Apply Changes’ feature.
It is basically a modern replacement of the ‘Instant Run’ framework, which was supposed to make it easier for android app developers to make minor changes instantly and test them.
But, the ‘Instant Run’ framework had actually ended up creating more problems than fixing them.
So, under the ‘Project Marble’, Google eliminated the ‘Instant Run’ and developed ‘Apply Changes’ from ground zero.
Chrome OS support
If you may recall, during Google I/O 2019 Developer event, Google presented a preview version of Android Studio for its Chrome OS (Operating System).
The good news is, Android Studio is now fully supported on Chromebooks with the release of Android Studio 3.5, making Chrome OS one of the main platforms for Android app development.
So, if you own a Chromebook, you can easily download and start using Android Studio from its official website.
Speaking of Chromebooks, here’s the list of recommended hardware requirements & Google’s list of recommended Chromebook devices.
Hardware requirements for chromebooks:
- 8 GB RAM (Minimum)
- Intel i5 or Higher
- 1280 x 800 Screen Resolution (Minimum)
- 4 GB Disk Space (Minimum)
Google’s list of recommended chromebooks:
- Acer Chromebook Spin 13
- Acer Chromebook CXI3
- Lenovo Yoga C630 Chromebook
- HP Chromebook G2
- HP Chromebook x360
File access apeed in disk I/O
Compared to other OS, Google identified that the Windows users were experiencing higher access time for Disk I/O.
After investigating properly, Google realized that folders created for the build output were not excluded by Android Studio’s default configuration of scanners.
So, in Android Studio 3.5, Google integrated an optimal setup, which has improved the access time for Disk I/O for the Windows users.
Google has brought a wide range of fixes, features, enhancements, and changes in core areas of Android Studio.
You can download the Android Studio 3.5 for Windows, Linux, Mac, and Chromebook from here.
That being said, if you have any doubts, feel free to ask them in the comment section below!