Is it possible to prevent gradle from being updated from the Internet?

    2 answers 2

    In the settings of Android Studio, you can enable gradle offline mode

    File> Settings> Build, Execution, Deployment> Build tools> Gradle

    • gradle offile mode , an error appeared > A problem occurred starting proocess 'command '/home/android/android-sdk-update-manager/build-tools/24.0.0-preview/aapt'' error he does not like? - ravend
    • Before assembly, you should try to make a clean project - nick_kryloff

    Clear what is inside the repositories block and use only AAR / JAR files:

     allprojects { repositories { } } compile fileTree(dir: 'libs', include: '*.jar')