everytime when I start Android Studio 3.0 it is hanging when trying to make the grade build. See here
I tried already nearly everything I could find to fix that problem in the i-net but without any success. My AS is running with the newest updates and plugins for AS and Gradle. I also set up gradle to run offline. Instant run is disabled.
Here is my build.gradle (project):
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
And here is my gradle.build (module app):
apply plugin: 'com.android.application'
android {
compileSdkVersion 25
buildToolsVersion "26.0.2"
defaultConfig {
applicationId "com.wbapps.wbshoppinglist"
minSdkVersion 17
targetSdkVersion 25
versionCode 1
versionName "2.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:25.3.1'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
testCompile 'junit:junit:4.12'
}
As a workaround I try to close the loading project AS is trying to open when it starts immediatelly and open the project from the welcome screen of AS. This works - but not always!
Meanwhile I am a little bit desperate with the situation. What went wrong with AS and whatt can I do to avoid the situation?
Please let me know what kind of information I could provide additional. I am quit new to AS and so I do not know all the resources which are needed - sorry! Any idea would be great!