so I am trying to use the Firebase storage, and when I copied and pasted these lines of code in dependencies:
compile 'com.google.firebase:firebase-storage:9.2.0'
compile 'com.google.firebase:firebase-auth:9.2.0'
I get a build error that states:
Error:(33, 13) Failed to resolve: com.google.firebase:firebase-storage:9.2.0
Show in File
Show in Project Structure dialog
AND
Error:Failed to resolve: com.google.firebase:firebase-core:9.2.0
Open File
Show in Project Structure dialog
and
Error:(34, 13) Failed to resolve: com.google.firebase:firebase-auth:9.2.0
Show in File
Show in Project Structure dialog
Here is what my dependencies look like.
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:24.0.0-beta1'
compile 'com.android.support:design:24.0.0-beta1'
compile 'com.firebase:firebase-client-android:2.3.1'
compile 'com.firebaseui:firebase-ui:0.3.1'
compile 'com.google.firebase:firebase-storage:9.2.0'
compile 'com.google.firebase:firebase-auth:9.2.0'
}
apply plugin: 'com.google.gms.google-services'
Also, what is the difference between Firebase database and firebase storage? when would you use one over the other, dont they both store information for you?