1、
Jack is disabled, but one of the plugins you are using supports Java 8 language features.
解决办法:在build.gradle(app)里增加
jackOptions {
enabled true
}
defaultConfig {
applicationId "com.hotbitmapgg.ohmybilibili"
minSdkVersion 21
targetSdkVersion 25
versionCode props.getAt("versionCode") as int
versionName props['versionName']
jackOptions {
enabled true
}
}
2、之后出现的Cannot get property 'destinationDir' on null object
解决办法:注掉build.gradle(app)中的“apply plugin: 'me.tatarka.retrolambda'”