Error: Invoke-customs are only supported starting with Android O
Error: Invoke-customs are only supported starting with Android O (–min-api 26)解决方法:将代码添加到app的build.gradle的android节点下compileOptions {sourceCompatibility JavaVersion.VERSION_1_8targetCompatibility ...