Gradle error: configuration declares dependency which is not declared
问题 I'm making my first android wear app, but I can't get Android Studio working. First I got the error "Project with path ':wear' could not be found in project ':mobile'. This was resolved by adding "include ':wear" in settings.gradle . But then a new error occurs: "Error:Module version Test2:mobile:unspecified, configuration 'wearApp' declares a dependency on configuration 'default' which is not declared in the module descriptor for Test2:wear:unspecified" . What do I have to do to resolve that