Android Guide 2. Android Studio 설정

2-1. gradle 설정
Bizpush 에 필요한 dependency 내용을 넣어 줍니다.

  1. Build.gradle(Project) - > dependencies 에 추가
  2. classpath 'com.google.gms:google-services:3.1.0'

    allprojects {
        repositories {
            maven {
                url "https://maven.google.com" // Google's Maven repository
            }
            google()
            jcenter()
        }
    }


  3. Build.gradle(Module) - > dependencies 에 추가
  4. compile "com.google.android.gms:play-services-gcm:11.8.0"
    compile "com.google.android.gms:play-services-location:11.8.0"
    //firebase
    compile "com.google.firebase:firebase-core:11.8.0" compile "com.google.firebase:firebase-messaging:11.8.0" //http compile "com.squareup.retrofit2:retrofit:2.3.0"
    compile "com.squareup.retrofit2:converter-gson:2.3.0"
    compile "com.squareup.okhttp3:okhttp:3.9.1" //image lib
    compile "com.github.bumptech.glide:glide:3.7.0"