接入SDK遇到报错:
com.android.tools.r8.CompilationFailedException: Compilation failed to complete, position: Lcom/github/gzuliyujiang/oaid/IRegisterCallback;onComplete()V
解决方案:
在主项目的build.gradle中添加JDK1.8的支持
compileOptions {
//加载了gradle构建工具的情况下可以使用
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}