Ad Section

Saturday, 31 March 2018

SOLVED!!! ANDROID STUDIO WILL WORK FINE EVEN IN 2 GB RAM. - FRIENDOTECH

Android is the most used OS around the world with 88% share in the market. Being owned by Google, it is expanding at a very rapid rate along with huge market share. The graphs hadn't went down since Android was introduced to the world. In fact, it was launched after Apple introduced iOS but the graphs of iOS domination fallen down drastically.

ANDROID DEVELOPERS:

As Android is the most used OS, the Android developers are also available in huge number. Many are experts while many are beginners.
ANDROID-STUDIO-WILL-FINE

Becoming an Android application developer isn't an easy task and I can feel it too. This post is specially written for all the new Android app developer who have many questions or confusion related to the development of the Android apps through Android studio.

PROBLEMS:

Coming to the some common questions:

Many new programmers want to start develop apps on Android studio but the main problem with Android studio is that it needs minimum of 3 GB of RAM (8 GB is recommended by Google) and 1 GB extra for Android emulator. As the beginners are usually a students and that's why they generally don't have any high end laptops or computers to run and develop apps on Android studio.

Generally, beginners search for an alternative of Android Studio and finally they come to know about Eclipse. The problem with Eclipse is that it is no longer supported by Google and also it is not as good as Android studio and that is why when you will develop any application in Eclipse, all your efforts will go into vain. So, try to ignore it completely and simply admit that there is no any alternative available for Android studio.

SMALL TIPS:

You might be wanted to know that how can we run Android Studio on low configuration machine, the solution is here:

1. Close the unnecessary web tabs in browser
2. For Antivirus users, exclude the build folder which is auto generated
3. Android studio have 1.2 GB default heap can decrease to 512 MB
> Help > Edit custom VM options
studio.vmoptions
-Xmx512m
Layouts performace will be speed up
4. For Gradle one of the core component in Android studio Make sure like right now 3.0beta is latest one.

Below tips can affect the code quality so please use with cautions:

1. Studio contain Power safe Mode when turned on it will close background operations that lint , code completions and so on.
2. You can run manually lint check when needed ./gradlew lint
3. Most of are using Android emulators on average it consume 2 GB RAM so if possible use actual Android device these will reduce your resource load on your computer. Alternatively you can reduce the RAM of the emulator and it will automatically reduce the virtual memory consumption on your computer. you can find this in virtual device configuration and advance setting.
4. Gradle offline mode is a feature for bandwidth limited users to disable the downloading of build dependencies. It will reduce the background operation that will help to increase the performance of Android studio.
5. Android studio offers an optimization to compile multiple modules in parallel. On low RAM machines this feature will likely have a negative impact on the performance. You can disable it in the compiler settings dialog.

(Note: Using Android mobile phones over emulators will be helpful in order to manage the RAM and performance of your computer. Emulators consumes too much of RAM in your computer but your smartphone has Android as native OS which will make your work easy.)
One more thing which I would like to mention that:
"If possible, you should buy a laptop with enough specs which can fulfill the requirements for Android Studio..."
Share it!!!
Follow Us: TWITTER
Subscribe us for more interesting and useful contents :)...

About Author

Unknown
Unknown

A tech and gadget lover who is passionate about writing. Life Goals: To shout from the Mountain Peak: Yes, I did it.

0 comments:

Post a Comment

2018. FriendOTech