Mas*_*sum 6 android crashlytics android-studio google-fabric
我已经更新了我的android工作室.之后我的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
Run Code Online (Sandbox Code Playgroud)
Vla*_*nko 17
最新版本的Fabric gradle插件1.28.0已修复此问题。在您的顶级build.gradle中具有以下内容:
buildscript {
// ... repositories, etc. ...
dependencies {
// ...other dependencies ...
classpath 'io.fabric.tools:gradle:1.28.0'
}
}
Run Code Online (Sandbox Code Playgroud)
小智 6
你可以加
android.debug.obsoleteApi=true
Run Code Online (Sandbox Code Playgroud)
到gradle.properties文件,它将显示堆栈跟踪,因此您可以确定哪个模块使用过时的API
但是,这被视为目前的警告,而不是错误.每次同步gradle时都会很烦人.将来模块将更新,此警告将消失
希望这可以帮助 :)
| 归档时间: |
|
| 查看次数: |
4229 次 |
| 最近记录: |