728x90 AdSpace

  • Latest Post

    Monday, May 16, 2016

    Android Studio is too slow: How to Speed up Android Studio


    Android Studio is the official IDE for Android app development, based on IntelliJ IDEA. On top of IntelliJ's powerful code editor and developer tools, Android Studio offers even more features that enhance your productivity when building Android apps, such as:

    •     A flexible Gradle-based build system
    •     Build variants and multiple APK file generation
    •     Code templates to help you build common app features
    •     A rich layout editor with support for drag and drop theme editing
    •     Lint tools to catch performance, usability, version compatibility, and other problems
    •     Code shrinking with ProGuard and resource shrinking with Gradle
    •     Built-in support for Google Cloud Platform, making it easy to integrate Google Cloud Messaging and App Engine
    But one of the big problems for android developers is, it sometime runs slowly.

    In this article I am going to show how to make your android studio run faster.

    Tips to make android studio fast:
    Enable Offline Work:

        1. Click File -> Settings. Search for "gradle" and click in Offline work box.

        2. Go to Compiler (in same settings dialog just below Gradle) and add --offline to Command-line Options text box.


    Improve Gradle Performance

       3. Add following two line of code in your gradle.properties file.
    org.gradle.daemon=true
    org.gradle.parallel=true
     
    
    
    
    Note: Restart your Android Studio after completing.

    Also read:
    • Blogger Comments
    • Facebook Comments

    0 comments:

    Post a Comment

    Item Reviewed: Android Studio is too slow: How to Speed up Android Studio Rating: 5 Reviewed By: Mark John Dee
    Scroll to Top