我正在为hairStylers构建一个新的应用程序,但是Android Studio的最新更新是3.4版。我看到这是要应用的新代码,我做到了,然后,在该错误后添加了错误代码。我无法继续建设,因为它位于基础格兰特。
基本模块gradle:
`apply plugin: 'com.android.instantapp'
android {
compileSdkVersion 28
apply plugin: 'application'
defaultConfig {
minSdkVersion 23
targetSdkVersion 28
}
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
targetCompatibility = '1.8'
}
}
dependencies {
api 'com.android.support:appcompat-v7:28.0.0'
api 'com.android.support.constraint:constraint-layout:2.0.0-alpha4'
implementation 'com.google.firebase:firebase-auth:16.2.1'
}
apply plugin: 'com.android.instantapp'
android {
compileSdkVersion 28
apply plugin: 'application'
defaultConfig {
minSdkVersion 23
targetSdkVersion 28
}
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
targetCompatibility = '1.8'
}
}
dependencies {
api 'com.android.support:appcompat-v7:28.0.0'
api 'com.android.support.constraint:constraint-layout:2.0.0-alpha4'
implementation 'com.google.firebase:firebase-auth:16.2.1'
}`