转自:https://blog.csdn.net/csdn9228/article/details/90905430
代码添加到app的build.gradle的android节点下
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
转自:https://blog.csdn.net/csdn9228/article/details/90905430
代码添加到app的build.gradle的android节点下
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}