I keep getting this error (Gradle project sync failed. Basic functionality will not work properly)
up vote
-1
down vote
favorite
I keep receiving this Gradle error, although I did update every Gradle configurations key and I double-checked every line. I still don't understand what's the issue?
Gradle project sync failed.Basic functionality(eg editing,debugging)
will not work properly
It tells me to see the view window for error info and this in it:
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
:wrapper UP-TO-DATE
BUILD SUCCESSFUL in 0s
1 actionable task: 1 up-to-date
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
CONFIGURE SUCCESSFUL in 0s
Gradle
apply plugin: 'com.android.application'
android {
compileSdkVersion 26
dexOptions {
javaMaxHeapSize "4g"
}
lintOptions {
quiet true
abortOnError false
ignoreWarnings true
}
configurations {
all*.exclude group: 'commons-io'
}
packagingOptions {
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/ASL2.0'
exclude 'META-INF/NOTICE'
exclude 'META-INF/LICENSE'
exclude 'META-INF/LICENSE-FIREBASE.txt'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/DEPENDENCIES.txt'
exclude 'BinaryEncoder.java'
}
defaultConfig {
applicationId 'com.xxx.xxx'
minSdkVersion 16
targetSdkVersion 26
versionCode 3
versionName '1.2'
multiDexEnabled true
ndk {
abiFilters 'armeabi', 'armeabi-v7a', 'x86', 'mips'
}
resConfigs 'en'
}
sourceSets {
main {
java {
exclude 'com.twilio:client-android:1.2.18.org.apache.http.lejacy.jar.org.apache.BinaryEncoder.java'
exclude 'org.apache.commons.codec.BinaryEncoder.java'
}
}
androidTest {
java {
exclude 'commons-codec-1.10/**'
}
}
}
buildTypes {
release {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
repositories {
mavenCentral()
}
dependencies {
configurations { all*.exclude group: 'com.android.support', module: 'support-v13' }
implementation fileTree(include: '*.jar', dir: 'libs')
implementation files('libs/YouTubeAndroidPlayerApi.jar')
implementation('com.github.hotchemi:permissionsdispatcher:2.4.0') { exclude module: 'support-v13'}
implementation 'com.stripe:stripe-android:7.0.1'
implementation 'com.braintreepayments.api:braintree:2.7.0'
implementation 'com.braintreepayments.api:drop-in:3.1.0'
implementation 'jp.wasabeef:recyclerview-animators:2.2.7'
implementation 'com.github.markomilos:paginate:0.5.1'
implementation 'com.github.czy1121:segmentedview:1.0.0'
implementation 'com.orhanobut:logger:2.2.0'
implementation 'com.twilio:client-android:1.2.18'
implementation 'com.squareup.okio:okio:1.11.0'
implementation 'com.squareup.retrofit2:retrofit:2.2.0'
implementation 'com.squareup.okhttp3:logging-interceptor:3.6.0'
implementation 'com.github.mukeshsolanki:country-picker-android:1.1.9'
implementation 'com.google.android.gms:play-services-gcm:11.4.0'
implementation 'com.google.android.gms:play-services-identity:11.4.0'
implementation 'com.google.android.gms:play-services-plus:11.4.0'
implementation 'com.google.android.gms:play-services-maps:11.4.0'
implementation 'lib.kingja.switchbutton:switchbutton:1.1.3'
implementation 'com.orhanobut:hawk:2.0.1'
implementation 'com.afollestad:material-camera:0.4.4'
implementation 'com.werb.pickphotoview:pickphotoview:0.3.0'
implementation 'com.github.Kennyc1012:BottomSheet:2.3.4'
implementation 'com.facebook.android:facebook-android-sdk:4.35.0'
implementation 'com.android.support:design:26.0.1'
implementation 'com.android.support:cardview-v7:26.0.1'
implementation 'com.android.support:multidex:1.0.1'
implementation 'com.google.code.gson:gson:2.8.1'
implementation 'com.squareup.okhttp:okhttp:2.5.0'
implementation 'de.greenrobot:eventbus:2.4.0'
implementation 'com.squareup.picasso:picasso:2.5.2'
implementation 'com.paypal.sdk:paypal-android-sdk:2.14.4'
implementation 'com.koushikdutta.ion:ion:2.1.8'
implementation 'com.afollestad.material-dialogs:core:0.8.6.0'
implementation 'com.amitshekhar.android:android-networking:1.0.0'
implementation 'de.hdodenhof:circleimageview:2.1.0'
implementation 'com.android.support:support-v4:26.0.1'
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
implementation 'com.google.firebase:firebase-messaging:11.4.0'
implementation 'com.google.firebase:firebase-core:11.4.0'
testImplementation 'junit:junit:4.12'
annotationProcessor 'com.github.hotchemi:permissionsdispatcher-processor:2.4.0'
}
apply plugin: 'com.google.gms.google-services'
UPDATE
here's the porject gradle file
buildscript {
repositories {
jcenter()
maven {
url 'https://maven.google.com/'
name 'Google'
}
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.google.gms:google-services:4.1.0'
}
}
allprojects {
repositories {
google()
jcenter()
mavenCentral()
maven { url 'https://dl.bintray.com/drummer-aidan/maven' }
maven { url 'https://jitpack.io' }
maven {
url 'https://maven.google.com/'
name 'Google'
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
java android gradle
|
show 1 more comment
up vote
-1
down vote
favorite
I keep receiving this Gradle error, although I did update every Gradle configurations key and I double-checked every line. I still don't understand what's the issue?
Gradle project sync failed.Basic functionality(eg editing,debugging)
will not work properly
It tells me to see the view window for error info and this in it:
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
:wrapper UP-TO-DATE
BUILD SUCCESSFUL in 0s
1 actionable task: 1 up-to-date
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
CONFIGURE SUCCESSFUL in 0s
Gradle
apply plugin: 'com.android.application'
android {
compileSdkVersion 26
dexOptions {
javaMaxHeapSize "4g"
}
lintOptions {
quiet true
abortOnError false
ignoreWarnings true
}
configurations {
all*.exclude group: 'commons-io'
}
packagingOptions {
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/ASL2.0'
exclude 'META-INF/NOTICE'
exclude 'META-INF/LICENSE'
exclude 'META-INF/LICENSE-FIREBASE.txt'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/DEPENDENCIES.txt'
exclude 'BinaryEncoder.java'
}
defaultConfig {
applicationId 'com.xxx.xxx'
minSdkVersion 16
targetSdkVersion 26
versionCode 3
versionName '1.2'
multiDexEnabled true
ndk {
abiFilters 'armeabi', 'armeabi-v7a', 'x86', 'mips'
}
resConfigs 'en'
}
sourceSets {
main {
java {
exclude 'com.twilio:client-android:1.2.18.org.apache.http.lejacy.jar.org.apache.BinaryEncoder.java'
exclude 'org.apache.commons.codec.BinaryEncoder.java'
}
}
androidTest {
java {
exclude 'commons-codec-1.10/**'
}
}
}
buildTypes {
release {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
repositories {
mavenCentral()
}
dependencies {
configurations { all*.exclude group: 'com.android.support', module: 'support-v13' }
implementation fileTree(include: '*.jar', dir: 'libs')
implementation files('libs/YouTubeAndroidPlayerApi.jar')
implementation('com.github.hotchemi:permissionsdispatcher:2.4.0') { exclude module: 'support-v13'}
implementation 'com.stripe:stripe-android:7.0.1'
implementation 'com.braintreepayments.api:braintree:2.7.0'
implementation 'com.braintreepayments.api:drop-in:3.1.0'
implementation 'jp.wasabeef:recyclerview-animators:2.2.7'
implementation 'com.github.markomilos:paginate:0.5.1'
implementation 'com.github.czy1121:segmentedview:1.0.0'
implementation 'com.orhanobut:logger:2.2.0'
implementation 'com.twilio:client-android:1.2.18'
implementation 'com.squareup.okio:okio:1.11.0'
implementation 'com.squareup.retrofit2:retrofit:2.2.0'
implementation 'com.squareup.okhttp3:logging-interceptor:3.6.0'
implementation 'com.github.mukeshsolanki:country-picker-android:1.1.9'
implementation 'com.google.android.gms:play-services-gcm:11.4.0'
implementation 'com.google.android.gms:play-services-identity:11.4.0'
implementation 'com.google.android.gms:play-services-plus:11.4.0'
implementation 'com.google.android.gms:play-services-maps:11.4.0'
implementation 'lib.kingja.switchbutton:switchbutton:1.1.3'
implementation 'com.orhanobut:hawk:2.0.1'
implementation 'com.afollestad:material-camera:0.4.4'
implementation 'com.werb.pickphotoview:pickphotoview:0.3.0'
implementation 'com.github.Kennyc1012:BottomSheet:2.3.4'
implementation 'com.facebook.android:facebook-android-sdk:4.35.0'
implementation 'com.android.support:design:26.0.1'
implementation 'com.android.support:cardview-v7:26.0.1'
implementation 'com.android.support:multidex:1.0.1'
implementation 'com.google.code.gson:gson:2.8.1'
implementation 'com.squareup.okhttp:okhttp:2.5.0'
implementation 'de.greenrobot:eventbus:2.4.0'
implementation 'com.squareup.picasso:picasso:2.5.2'
implementation 'com.paypal.sdk:paypal-android-sdk:2.14.4'
implementation 'com.koushikdutta.ion:ion:2.1.8'
implementation 'com.afollestad.material-dialogs:core:0.8.6.0'
implementation 'com.amitshekhar.android:android-networking:1.0.0'
implementation 'de.hdodenhof:circleimageview:2.1.0'
implementation 'com.android.support:support-v4:26.0.1'
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
implementation 'com.google.firebase:firebase-messaging:11.4.0'
implementation 'com.google.firebase:firebase-core:11.4.0'
testImplementation 'junit:junit:4.12'
annotationProcessor 'com.github.hotchemi:permissionsdispatcher-processor:2.4.0'
}
apply plugin: 'com.google.gms.google-services'
UPDATE
here's the porject gradle file
buildscript {
repositories {
jcenter()
maven {
url 'https://maven.google.com/'
name 'Google'
}
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.google.gms:google-services:4.1.0'
}
}
allprojects {
repositories {
google()
jcenter()
mavenCentral()
maven { url 'https://dl.bintray.com/drummer-aidan/maven' }
maven { url 'https://jitpack.io' }
maven {
url 'https://maven.google.com/'
name 'Google'
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
java android gradle
@finki what? they're NOT even the same error? how's is that a duplicate!?
– Alaa AbuZarifa
Nov 7 at 10:30
Have you tried cleaning your project ?
– Karthic Srinivasan
Nov 7 at 10:52
Which android studio version are you using? Also provide your top levelbuild.gradle
file. Also the warning has nothing to do with the error above! It's pretty sure an issue because of your outdated dependencies
– finki
Nov 7 at 11:31
@KarthicSrinivasan I've tried everything, clean, rebuild, make, invalidate and restart...etc still happening :/
– Alaa AbuZarifa
Nov 7 at 13:34
@finki I'm using the latest verison 3.2.1 and see the update for the project 'build.gradle' file.
– Alaa AbuZarifa
Nov 7 at 13:35
|
show 1 more comment
up vote
-1
down vote
favorite
up vote
-1
down vote
favorite
I keep receiving this Gradle error, although I did update every Gradle configurations key and I double-checked every line. I still don't understand what's the issue?
Gradle project sync failed.Basic functionality(eg editing,debugging)
will not work properly
It tells me to see the view window for error info and this in it:
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
:wrapper UP-TO-DATE
BUILD SUCCESSFUL in 0s
1 actionable task: 1 up-to-date
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
CONFIGURE SUCCESSFUL in 0s
Gradle
apply plugin: 'com.android.application'
android {
compileSdkVersion 26
dexOptions {
javaMaxHeapSize "4g"
}
lintOptions {
quiet true
abortOnError false
ignoreWarnings true
}
configurations {
all*.exclude group: 'commons-io'
}
packagingOptions {
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/ASL2.0'
exclude 'META-INF/NOTICE'
exclude 'META-INF/LICENSE'
exclude 'META-INF/LICENSE-FIREBASE.txt'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/DEPENDENCIES.txt'
exclude 'BinaryEncoder.java'
}
defaultConfig {
applicationId 'com.xxx.xxx'
minSdkVersion 16
targetSdkVersion 26
versionCode 3
versionName '1.2'
multiDexEnabled true
ndk {
abiFilters 'armeabi', 'armeabi-v7a', 'x86', 'mips'
}
resConfigs 'en'
}
sourceSets {
main {
java {
exclude 'com.twilio:client-android:1.2.18.org.apache.http.lejacy.jar.org.apache.BinaryEncoder.java'
exclude 'org.apache.commons.codec.BinaryEncoder.java'
}
}
androidTest {
java {
exclude 'commons-codec-1.10/**'
}
}
}
buildTypes {
release {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
repositories {
mavenCentral()
}
dependencies {
configurations { all*.exclude group: 'com.android.support', module: 'support-v13' }
implementation fileTree(include: '*.jar', dir: 'libs')
implementation files('libs/YouTubeAndroidPlayerApi.jar')
implementation('com.github.hotchemi:permissionsdispatcher:2.4.0') { exclude module: 'support-v13'}
implementation 'com.stripe:stripe-android:7.0.1'
implementation 'com.braintreepayments.api:braintree:2.7.0'
implementation 'com.braintreepayments.api:drop-in:3.1.0'
implementation 'jp.wasabeef:recyclerview-animators:2.2.7'
implementation 'com.github.markomilos:paginate:0.5.1'
implementation 'com.github.czy1121:segmentedview:1.0.0'
implementation 'com.orhanobut:logger:2.2.0'
implementation 'com.twilio:client-android:1.2.18'
implementation 'com.squareup.okio:okio:1.11.0'
implementation 'com.squareup.retrofit2:retrofit:2.2.0'
implementation 'com.squareup.okhttp3:logging-interceptor:3.6.0'
implementation 'com.github.mukeshsolanki:country-picker-android:1.1.9'
implementation 'com.google.android.gms:play-services-gcm:11.4.0'
implementation 'com.google.android.gms:play-services-identity:11.4.0'
implementation 'com.google.android.gms:play-services-plus:11.4.0'
implementation 'com.google.android.gms:play-services-maps:11.4.0'
implementation 'lib.kingja.switchbutton:switchbutton:1.1.3'
implementation 'com.orhanobut:hawk:2.0.1'
implementation 'com.afollestad:material-camera:0.4.4'
implementation 'com.werb.pickphotoview:pickphotoview:0.3.0'
implementation 'com.github.Kennyc1012:BottomSheet:2.3.4'
implementation 'com.facebook.android:facebook-android-sdk:4.35.0'
implementation 'com.android.support:design:26.0.1'
implementation 'com.android.support:cardview-v7:26.0.1'
implementation 'com.android.support:multidex:1.0.1'
implementation 'com.google.code.gson:gson:2.8.1'
implementation 'com.squareup.okhttp:okhttp:2.5.0'
implementation 'de.greenrobot:eventbus:2.4.0'
implementation 'com.squareup.picasso:picasso:2.5.2'
implementation 'com.paypal.sdk:paypal-android-sdk:2.14.4'
implementation 'com.koushikdutta.ion:ion:2.1.8'
implementation 'com.afollestad.material-dialogs:core:0.8.6.0'
implementation 'com.amitshekhar.android:android-networking:1.0.0'
implementation 'de.hdodenhof:circleimageview:2.1.0'
implementation 'com.android.support:support-v4:26.0.1'
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
implementation 'com.google.firebase:firebase-messaging:11.4.0'
implementation 'com.google.firebase:firebase-core:11.4.0'
testImplementation 'junit:junit:4.12'
annotationProcessor 'com.github.hotchemi:permissionsdispatcher-processor:2.4.0'
}
apply plugin: 'com.google.gms.google-services'
UPDATE
here's the porject gradle file
buildscript {
repositories {
jcenter()
maven {
url 'https://maven.google.com/'
name 'Google'
}
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.google.gms:google-services:4.1.0'
}
}
allprojects {
repositories {
google()
jcenter()
mavenCentral()
maven { url 'https://dl.bintray.com/drummer-aidan/maven' }
maven { url 'https://jitpack.io' }
maven {
url 'https://maven.google.com/'
name 'Google'
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
java android gradle
I keep receiving this Gradle error, although I did update every Gradle configurations key and I double-checked every line. I still don't understand what's the issue?
Gradle project sync failed.Basic functionality(eg editing,debugging)
will not work properly
It tells me to see the view window for error info and this in it:
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
:wrapper UP-TO-DATE
BUILD SUCCESSFUL in 0s
1 actionable task: 1 up-to-date
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
CONFIGURE SUCCESSFUL in 0s
Gradle
apply plugin: 'com.android.application'
android {
compileSdkVersion 26
dexOptions {
javaMaxHeapSize "4g"
}
lintOptions {
quiet true
abortOnError false
ignoreWarnings true
}
configurations {
all*.exclude group: 'commons-io'
}
packagingOptions {
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/ASL2.0'
exclude 'META-INF/NOTICE'
exclude 'META-INF/LICENSE'
exclude 'META-INF/LICENSE-FIREBASE.txt'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/DEPENDENCIES.txt'
exclude 'BinaryEncoder.java'
}
defaultConfig {
applicationId 'com.xxx.xxx'
minSdkVersion 16
targetSdkVersion 26
versionCode 3
versionName '1.2'
multiDexEnabled true
ndk {
abiFilters 'armeabi', 'armeabi-v7a', 'x86', 'mips'
}
resConfigs 'en'
}
sourceSets {
main {
java {
exclude 'com.twilio:client-android:1.2.18.org.apache.http.lejacy.jar.org.apache.BinaryEncoder.java'
exclude 'org.apache.commons.codec.BinaryEncoder.java'
}
}
androidTest {
java {
exclude 'commons-codec-1.10/**'
}
}
}
buildTypes {
release {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
repositories {
mavenCentral()
}
dependencies {
configurations { all*.exclude group: 'com.android.support', module: 'support-v13' }
implementation fileTree(include: '*.jar', dir: 'libs')
implementation files('libs/YouTubeAndroidPlayerApi.jar')
implementation('com.github.hotchemi:permissionsdispatcher:2.4.0') { exclude module: 'support-v13'}
implementation 'com.stripe:stripe-android:7.0.1'
implementation 'com.braintreepayments.api:braintree:2.7.0'
implementation 'com.braintreepayments.api:drop-in:3.1.0'
implementation 'jp.wasabeef:recyclerview-animators:2.2.7'
implementation 'com.github.markomilos:paginate:0.5.1'
implementation 'com.github.czy1121:segmentedview:1.0.0'
implementation 'com.orhanobut:logger:2.2.0'
implementation 'com.twilio:client-android:1.2.18'
implementation 'com.squareup.okio:okio:1.11.0'
implementation 'com.squareup.retrofit2:retrofit:2.2.0'
implementation 'com.squareup.okhttp3:logging-interceptor:3.6.0'
implementation 'com.github.mukeshsolanki:country-picker-android:1.1.9'
implementation 'com.google.android.gms:play-services-gcm:11.4.0'
implementation 'com.google.android.gms:play-services-identity:11.4.0'
implementation 'com.google.android.gms:play-services-plus:11.4.0'
implementation 'com.google.android.gms:play-services-maps:11.4.0'
implementation 'lib.kingja.switchbutton:switchbutton:1.1.3'
implementation 'com.orhanobut:hawk:2.0.1'
implementation 'com.afollestad:material-camera:0.4.4'
implementation 'com.werb.pickphotoview:pickphotoview:0.3.0'
implementation 'com.github.Kennyc1012:BottomSheet:2.3.4'
implementation 'com.facebook.android:facebook-android-sdk:4.35.0'
implementation 'com.android.support:design:26.0.1'
implementation 'com.android.support:cardview-v7:26.0.1'
implementation 'com.android.support:multidex:1.0.1'
implementation 'com.google.code.gson:gson:2.8.1'
implementation 'com.squareup.okhttp:okhttp:2.5.0'
implementation 'de.greenrobot:eventbus:2.4.0'
implementation 'com.squareup.picasso:picasso:2.5.2'
implementation 'com.paypal.sdk:paypal-android-sdk:2.14.4'
implementation 'com.koushikdutta.ion:ion:2.1.8'
implementation 'com.afollestad.material-dialogs:core:0.8.6.0'
implementation 'com.amitshekhar.android:android-networking:1.0.0'
implementation 'de.hdodenhof:circleimageview:2.1.0'
implementation 'com.android.support:support-v4:26.0.1'
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
implementation 'com.google.firebase:firebase-messaging:11.4.0'
implementation 'com.google.firebase:firebase-core:11.4.0'
testImplementation 'junit:junit:4.12'
annotationProcessor 'com.github.hotchemi:permissionsdispatcher-processor:2.4.0'
}
apply plugin: 'com.google.gms.google-services'
UPDATE
here's the porject gradle file
buildscript {
repositories {
jcenter()
maven {
url 'https://maven.google.com/'
name 'Google'
}
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.google.gms:google-services:4.1.0'
}
}
allprojects {
repositories {
google()
jcenter()
mavenCentral()
maven { url 'https://dl.bintray.com/drummer-aidan/maven' }
maven { url 'https://jitpack.io' }
maven {
url 'https://maven.google.com/'
name 'Google'
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
java android gradle
java android gradle
edited Nov 7 at 13:37
asked Nov 7 at 10:15
Alaa AbuZarifa
319316
319316
@finki what? they're NOT even the same error? how's is that a duplicate!?
– Alaa AbuZarifa
Nov 7 at 10:30
Have you tried cleaning your project ?
– Karthic Srinivasan
Nov 7 at 10:52
Which android studio version are you using? Also provide your top levelbuild.gradle
file. Also the warning has nothing to do with the error above! It's pretty sure an issue because of your outdated dependencies
– finki
Nov 7 at 11:31
@KarthicSrinivasan I've tried everything, clean, rebuild, make, invalidate and restart...etc still happening :/
– Alaa AbuZarifa
Nov 7 at 13:34
@finki I'm using the latest verison 3.2.1 and see the update for the project 'build.gradle' file.
– Alaa AbuZarifa
Nov 7 at 13:35
|
show 1 more comment
@finki what? they're NOT even the same error? how's is that a duplicate!?
– Alaa AbuZarifa
Nov 7 at 10:30
Have you tried cleaning your project ?
– Karthic Srinivasan
Nov 7 at 10:52
Which android studio version are you using? Also provide your top levelbuild.gradle
file. Also the warning has nothing to do with the error above! It's pretty sure an issue because of your outdated dependencies
– finki
Nov 7 at 11:31
@KarthicSrinivasan I've tried everything, clean, rebuild, make, invalidate and restart...etc still happening :/
– Alaa AbuZarifa
Nov 7 at 13:34
@finki I'm using the latest verison 3.2.1 and see the update for the project 'build.gradle' file.
– Alaa AbuZarifa
Nov 7 at 13:35
@finki what? they're NOT even the same error? how's is that a duplicate!?
– Alaa AbuZarifa
Nov 7 at 10:30
@finki what? they're NOT even the same error? how's is that a duplicate!?
– Alaa AbuZarifa
Nov 7 at 10:30
Have you tried cleaning your project ?
– Karthic Srinivasan
Nov 7 at 10:52
Have you tried cleaning your project ?
– Karthic Srinivasan
Nov 7 at 10:52
Which android studio version are you using? Also provide your top level
build.gradle
file. Also the warning has nothing to do with the error above! It's pretty sure an issue because of your outdated dependencies– finki
Nov 7 at 11:31
Which android studio version are you using? Also provide your top level
build.gradle
file. Also the warning has nothing to do with the error above! It's pretty sure an issue because of your outdated dependencies– finki
Nov 7 at 11:31
@KarthicSrinivasan I've tried everything, clean, rebuild, make, invalidate and restart...etc still happening :/
– Alaa AbuZarifa
Nov 7 at 13:34
@KarthicSrinivasan I've tried everything, clean, rebuild, make, invalidate and restart...etc still happening :/
– Alaa AbuZarifa
Nov 7 at 13:34
@finki I'm using the latest verison 3.2.1 and see the update for the project 'build.gradle' file.
– Alaa AbuZarifa
Nov 7 at 13:35
@finki I'm using the latest verison 3.2.1 and see the update for the project 'build.gradle' file.
– Alaa AbuZarifa
Nov 7 at 13:35
|
show 1 more comment
2 Answers
2
active
oldest
votes
up vote
0
down vote
You can identify you compile
configuration dependencies with the following command:
./gradlew app:dependencies --configuration compile
still nothing..
– Alaa AbuZarifa
Nov 7 at 13:37
@Alaa AbuZarifa maybe in anther module, try changeapp:dependencies
toyour-module-name:dependencies
– ggaier
Nov 8 at 1:17
add a comment |
up vote
0
down vote
accepted
I noticed that Android Studio suggested an action Remove minSdkVersion and sync project
and I clicked it and it fixed..! it didn't remove the line from the build.grdale
file of my module though and I don't what did he mean by that action, but it's fixed anyhow.! if anyone knows more info please tell.
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
You can identify you compile
configuration dependencies with the following command:
./gradlew app:dependencies --configuration compile
still nothing..
– Alaa AbuZarifa
Nov 7 at 13:37
@Alaa AbuZarifa maybe in anther module, try changeapp:dependencies
toyour-module-name:dependencies
– ggaier
Nov 8 at 1:17
add a comment |
up vote
0
down vote
You can identify you compile
configuration dependencies with the following command:
./gradlew app:dependencies --configuration compile
still nothing..
– Alaa AbuZarifa
Nov 7 at 13:37
@Alaa AbuZarifa maybe in anther module, try changeapp:dependencies
toyour-module-name:dependencies
– ggaier
Nov 8 at 1:17
add a comment |
up vote
0
down vote
up vote
0
down vote
You can identify you compile
configuration dependencies with the following command:
./gradlew app:dependencies --configuration compile
You can identify you compile
configuration dependencies with the following command:
./gradlew app:dependencies --configuration compile
answered Nov 7 at 10:35
ggaier
412
412
still nothing..
– Alaa AbuZarifa
Nov 7 at 13:37
@Alaa AbuZarifa maybe in anther module, try changeapp:dependencies
toyour-module-name:dependencies
– ggaier
Nov 8 at 1:17
add a comment |
still nothing..
– Alaa AbuZarifa
Nov 7 at 13:37
@Alaa AbuZarifa maybe in anther module, try changeapp:dependencies
toyour-module-name:dependencies
– ggaier
Nov 8 at 1:17
still nothing..
– Alaa AbuZarifa
Nov 7 at 13:37
still nothing..
– Alaa AbuZarifa
Nov 7 at 13:37
@Alaa AbuZarifa maybe in anther module, try change
app:dependencies
to your-module-name:dependencies
– ggaier
Nov 8 at 1:17
@Alaa AbuZarifa maybe in anther module, try change
app:dependencies
to your-module-name:dependencies
– ggaier
Nov 8 at 1:17
add a comment |
up vote
0
down vote
accepted
I noticed that Android Studio suggested an action Remove minSdkVersion and sync project
and I clicked it and it fixed..! it didn't remove the line from the build.grdale
file of my module though and I don't what did he mean by that action, but it's fixed anyhow.! if anyone knows more info please tell.
add a comment |
up vote
0
down vote
accepted
I noticed that Android Studio suggested an action Remove minSdkVersion and sync project
and I clicked it and it fixed..! it didn't remove the line from the build.grdale
file of my module though and I don't what did he mean by that action, but it's fixed anyhow.! if anyone knows more info please tell.
add a comment |
up vote
0
down vote
accepted
up vote
0
down vote
accepted
I noticed that Android Studio suggested an action Remove minSdkVersion and sync project
and I clicked it and it fixed..! it didn't remove the line from the build.grdale
file of my module though and I don't what did he mean by that action, but it's fixed anyhow.! if anyone knows more info please tell.
I noticed that Android Studio suggested an action Remove minSdkVersion and sync project
and I clicked it and it fixed..! it didn't remove the line from the build.grdale
file of my module though and I don't what did he mean by that action, but it's fixed anyhow.! if anyone knows more info please tell.
answered Nov 12 at 11:36
Alaa AbuZarifa
319316
319316
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53187410%2fi-keep-getting-this-error-gradle-project-sync-failed-basic-functionality-will%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
@finki what? they're NOT even the same error? how's is that a duplicate!?
– Alaa AbuZarifa
Nov 7 at 10:30
Have you tried cleaning your project ?
– Karthic Srinivasan
Nov 7 at 10:52
Which android studio version are you using? Also provide your top level
build.gradle
file. Also the warning has nothing to do with the error above! It's pretty sure an issue because of your outdated dependencies– finki
Nov 7 at 11:31
@KarthicSrinivasan I've tried everything, clean, rebuild, make, invalidate and restart...etc still happening :/
– Alaa AbuZarifa
Nov 7 at 13:34
@finki I'm using the latest verison 3.2.1 and see the update for the project 'build.gradle' file.
– Alaa AbuZarifa
Nov 7 at 13:35