android - Gradle: Resolve dependencies ':app:_debugApk' -


i have problem in android studio. of sudden, stucks @ starting app building. tried changing repos , nothing changes.

if create new project have no errors.

this error message: gradle: resolve dependencies ':app:_debugapk'. loading bar moving endlessly.

this entire project build.gradle:

buildscript {     repositories {         jcenter()     }     dependencies {         classpath 'com.android.tools.build:gradle:2.3.3'         classpath 'com.google.gms:google-services:3.0.0'     } }   allprojects {     repositories {         mavencentral()     } }  task clean(type: delete) {     delete rootproject.builddir } 

here app build.gradle:

apply plugin: 'com.android.application'  android {     compilesdkversion 25     buildtoolsversion '25.0.3'      defaultconfig {         applicationid "app id"         minsdkversion 17         targetsdkversion 25         versioncode 1         versionname "1.0"         testinstrumentationrunner "android.support.test.runner.androidjunitrunner"     }     buildtypes {         debug {             resvalue "string", "google_maps_api_key", "api key"             minifyenabled true             proguardfiles getdefaultproguardfile('proguard-android.txt'), 'proguard-rules.pro'             debuggable true         }         release {             resvalue "string", "google_maps_api_key", "api key"             minifyenabled true             proguardfiles getdefaultproguardfile('proguard-android.txt'), 'proguard-rules.pro'             debuggable true         }     } }  dependencies {     compile filetree(include: ['*.jar'], dir: 'libs')     androidtestcompile('com.android.support.test.espresso:espresso-core:2.2.2', {         exclude group: 'com.android.support', module: 'support-annotations' })       compile 'com.google.android.gms:play-services-auth:11.0.4'     compile 'com.facebook.android:facebook-android-sdk:4.+'      compile 'com.google.android.gms:play-services:11.0.4'     compile 'com.google.android.gms:play-services-ads:11.0.4'      compile 'com.android.support:appcompat-v7:25.3.1'     compile 'com.android.support:support-v4:25.3.1'     compile 'com.android.support:design:25.3.1'     compile 'com.google.firebase:firebase-core:11.0.2'     compile 'com.google.firebase:firebase-crash:10.0.1'     compile 'com.google.firebase:firebase-auth:10.0.1'     compile 'com.google.firebase:firebase-messaging:10.0.1'     compile 'com.google.firebase:firebase-config:10.0.1'     compile 'com.google.firebase:firebase-ads:10.0.1'     compile 'com.android.support.constraint:constraint-layout:1.0.2'      compile 'com.google.code.gson:gson:2.8.0'     compile 'com.github.bumptech.glide:glide:3.7.0'     compile 'org.osmdroid:osmdroid-android:5.6.3'     compile 'com.sothree.slidinguppanel:library:3.3.1'     compile 'com.mikhaellopez:circularimageview:3.0.2'     compile 'com.github.florent37:materialtextfield:1.0.7'      testcompile 'junit:junit:4.12' }  apply plugin: 'com.google.gms.google-services' 

what should correct error?


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -