제가 적용해야하는 FingerPush 라는 기능은 튜토리얼에서
아래와 같이 앱수준 build.gradle 과 프로젝트 build.gradle로 나뉘어 집니다.

그러나 제가 지금 이 기능을 적용시키려는 프로젝트에는 이와같은 구조가 아닙니다 ..
아래와 같은 구조입니다.

하나뿐인 build.gradle(Module: 앱명) 안에는
이게 끝이네요 ㅠ 도와주세요
buildscript {
repositories {
mavenCentral()
maven {
url 'https://maven.google.com/'
name 'Google'
}
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
//
// classpath 'com.google.gms:google-services:3.1.0'
}
}
apply plugin: 'android'
//
//apply plugin: 'com.google.gms.google-services'
dependencies {
compile fileTree(include: '*.jar', dir: 'libs')
compile 'com.android.support:appcompat-v7:22.0.0'
//
/*
compile 'com.google.firebase:firebase-messaging:9.0.0'
compile 'com.squareup.okhttp3:okhttp:3.2.0'
*/
}
android {
compileSdkVersion 22
buildToolsVersion '26.0.2'
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ['src']
resources.srcDirs = ['src']
aidl.srcDirs = ['src']
renderscript.srcDirs = ['src']
res.srcDirs = ['res']
assets.srcDirs = ['assets']
}
// Move the tests to tests/java, tests/res, etc...
instrumentTest.setRoot('tests')
// Move the build types to build-types/<type>
// For instance, build-types/debug/java, build-types/debug/AndroidManifest.xml, ...
// This moves them out of them default location under src/<type>/... which would
// conflict with src/ being used by the main source set.
// Adding new build types or product flavors should be accompanied
// by a similar customization.
debug.setRoot('build-types/debug')
release.setRoot('build-types/release')
}
defaultConfig {
minSdkVersion 16
targetSdkVersion 19
versionName '22'
}
productFlavors {
}
}
repositories {
maven {
url 'https://maven.google.com/'
name 'Google'
}
}