我已经更新了我的 android studio。之后,我的 Crashlytics 造成了问题。 crashlytics 有问题吗?或者我该如何解决这个问题?
这是错误
API 'variant.getExternalNativeBuildTasks()' is obsolete and has been
replaced with 'variant.getExternalNativeBuildProviders()'.
It will be removed at the end of 2019.
For more information, see https://d.android.com/r/tools/task-configuration-
avoidance.
To determine what is calling variant.getExternalNativeBuildTasks(), use -
Pandroid.debug.obsoleteApi=true on the command line to display a stack
trace.
Affected Modules: app
最佳答案
这已在最新版本的 Fabric gradle 插件 1.28.0 中修复。在你的顶级 build.gradle 中有这个:
buildscript {
// ... repositories, etc. ...
dependencies {
// ...other dependencies ...
classpath 'io.fabric.tools:gradle:1.28.0'
}
}
关于android - API 'variant.getExternalNativeBuildTasks()' 已过时,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54264172/