Error:A problem occurred configuring project ':app'.
Could not resolve all dependencies for configuration ':app:_debugApkCopy'. Could not find com.google.firebase:firebase-core:10.1.0. Required by: FirstApp:app:unspecified Could not find com.google.firebase:firebase-database:10.1.0. Required by: FirstApp:app:unspecified
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.google.firebase:firebase-core:10.1.0'
compile 'com.google.firebase:firebase-database:10.1.0'
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support',
module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:25.1.1'
testCompile 'junit:junit:4.12'
}
apply plugin: 'com.google.gms.google-services'