An issue was found when checking AAR metadata
An issue was found when checking AAR metadata:
1. Dependency ':androlua' requires core library desugaring to be enabled
for :luastudio_demo.
See https://developer.android.com/studio/write/java8-support.html for more
details.
在项目内 build.gradle.kts文件中 compileOptions 添加:
// Flag to enable support for the new language APIs
isCoreLibraryDesugaringEnabled = true
所属结构如下所示:
android {
compileOptions {
// Flag to enable support for the new language APIs
isCoreLibraryDesugaringEnabled = true
}
}
扫描二维码,在手机上阅读
收藏