Android Studio asked me to upgrade the gradle to version 3.5.1, but once I do it it simply doesn't sync anymore, though I don't report any apparent bugs ...
The only error message that appears says "Gradle project sync failed. Basic functionality (eg editing, debugging) will not work properly."
22:32 Gradle sync failed: org / jetbrains / plugins / gradle / util / GradleConstants Consult IDE log for more details (Help | Show Log) (18 s 224 ms)
Already tried to clean the project, rebuild, and invalidate / restart, but nothing worked
Can someone help me?
My build script:
buildscript {
ext.kotlin_version = '1.3.50'
ext.anko_version='0.10.8'
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
And some of my "idea.log" last entries
2019-10-03 22:32:41,266 [e-1483-b03] INFO - rationStore.ComponentStoreImpl - Saving Project 'C:\Users\mathe\Pictures\Design\ANDROID\ResistCalc' ResistCalcProjectCodeStyleConfiguration took 40 ms
2019-10-03 22:32:41,266 [Alarm Pool] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 163 ms
2019-10-03 22:32:46,056 [e-1483-b03] WARN - un.AndroidRunConfigurationBase - Can't get application ID: Android module missing
2019-10-03 22:32:46,056 [e-1483-b03] WARN - un.AndroidRunConfigurationBase - Can't get application ID: Android module missing
2019-10-03 22:32:46,056 [e-1483-b03] WARN - un.AndroidRunConfigurationBase - Can't get application ID: Android module missing
2019-10-03 22:32:46,056 [e-1483-b03] WARN - un.AndroidRunConfigurationBase - Can't get application ID: Android module missing