报错

java.lang.NoSuchMethodError: No static method metafactory_android

解决办法

build.gradle中将Java版本设置为1.8

android {
......
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}