I am trying to use android studio canary 4 with native java support. But I keep getting the message saying that one of the modules is not found
Error:Failed to resolve: Could not resolve project :MyProject
project :BaseProject
MyProject is present in the directory. It appears in the list of modules in android studio. It is present in settings.gradle
. This is a very weird thing that I am noticing. What could be the problem? This is my root build.gradle
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
mavenCentral()
jcenter()
}
dependencies {
classpath gradlePlugin
classpath 'com.google.gms:google-services:1.5.0-beta2'
}
}
allprojects {
repositories {
flatDir {
dir 'libs'
}
maven {
url "https://s3-ap-southeast-1.amazonaws.com/godel-elease/godel/"
}
maven { url "https://jitpack.io" }
maven { url 'http://download.crashlytics.com/maven' }
maven { url 'https://maven.fabric.io/public' }
}
}