版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/hfy8971613/article/details/84541481
解决方法——gradle添加 :
android {
compileOptions {
sourceCompatibility 1.8
targetCompatibility 1.8
}
}
即可。
报错信息:
解决方法——gradle添加 :
android {
compileOptions {
sourceCompatibility 1.8
targetCompatibility 1.8
}
}
即可。
报错信息: