14 Şubat 2018 Çarşamba

Android Dersleri 29 -Android Studio'yu nasıl hızlandırabiliriz?

29 - Android Studio'yu nasıl hızlandırabiliriz?
http://www.viralandroid.com/2015/08/how-to-make-android-studio-fast.html

Just follow some tips to speed up your android studio.

1- Enable Offline Work:
In android studio, you can enable offline work to make android studio run faster. To enable offline in android studio, just follow the following steps:

Step 1: Open your Android Studio, Go to file >> settings or simply press ctrl + alt + s, new window appears there which looks like this :
Android Studio Setting

Step 2: From side menu, click Gradle and check Offline work under Global Gradle setting and hit OK button, file >> settings >> Gradle.
Android Studio Setting- Gradle

Step 3: Again, Go to file >> setting and click Compiler from side menu and then type --offline in the command-line options box and hit OK button like this:
Android Studio Setting- Compiler

Note: After Completing these all ways you should restart your Android Studio.

2 - Improve Gradle Performance
After opening android studio, open gradle.properties file from right side of android studio and add the following two lines.
org.gradle.daemon=true
org.gradle.parallel=true

Look at this screenshot to add these two lines in gradle.properties file:

Note: After Completing these all ways, you should restart your Android Studio.
Android Studio Setting- gradle.properties file

Use Real Device to Compile Android Project

We all know that we should always test our application on a real device before releasing any application. If you use real device instead of android emulator any time (running, debugging, and testing your applications) if possible, that helps you to run your project fast and Android Studio too. ( Uygulamanızı android emulator'da değil de gerçek device'da yani telefonda test etmeniz tavsiye edilir, böylece daha yüksek bir Android Studio performansı elde edersiniz. )

If you are unable to use real device, don’t use android default emulator as that makes your android studio slow. Instead of using default emulator, I recommend you to use Genymotion Android EmulatorGenymotionis one of the popular android emulators and this runs fast and smooth. ( Eğer uygulamanızı gerçek bir device'da test etmeyecekseniz, default android emulator'ı kullanmayın çünkü bunun performansı çok kötüdür. GenyMotion Android Emulator kullanmanız tavsiye edilir. )

Hiç yorum yok:

Yorum Gönder