I'm having an issue relatively to gradle which I don't know how to solve it...
If I put this command on my terminal : gradle --scan :<module A>:debugCompileClasspath
This is what it shows me :
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project '<root_project_file>'.
> Could not resolve all files for configuration ':classpath'.
> Could not find gradle-core.jar (com.android.tools.build:gradle-core:3.1.2).
Searched in the following locations:
https://plugins.gradle.org/m2/com/android/tools/build/gradle-core/3.1.2/gradle-core-3.1.2.jar
> Could not find layoutlib-api.jar (com.android.tools.layoutlib:layoutlib-api:26.1.2).
Searched in the following locations:
https://plugins.gradle.org/m2/com/android/tools/layoutlib/layoutlib-api/26.1.2/layoutlib-api-26.1.2.jar
How can I solve this ?
P.S: My Gradle Android plugin is 3.1.2
and gradle version : distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip
P.S.2 : Clearing the cache of gradle, now disappears those errors but i have this problem now ... Task 'debugCompileClasspath' not found in project ':<Module_porject>'.