API 'variant.getExternalNativeBuildTasks()' is obsolete and has been replaced with 'variant.getExternalNativeBuildProviders()

前端 未结 21 1475
离开以前
离开以前 2020-12-02 04:19

Using Android Studio 3.3 Canary 11 with the gradle plugin version 3.3.0-alpha11. It throws the following error when trying to sync gradle

WARNI         


        
21条回答
  •  抹茶落季
    2020-12-02 04:52

    It's confirmed as bug for Crashlytics and they are working on it.

    https://issuetracker.google.com/issues/116408637

    Quoted from Google assignee:

    je...@google.com #23 Jan 23, 2019 01:40AM
    Hi all,

    Thank you for your patience.

    It looks like the bug in all cases is coming from crashlytics and I've filed a bug with them.

    I will keep you updated on the status.

    For me, my debug app is working fine on my device just by running and ignoring the warning without commenting Crashlytics or Fabric. I have not try for production.

    Update:

    Google Issue Tracker had mark this issues as Won't Fix (Infeasible) because all the issues was from Crashlytics, and let fixes done by Crashlytics team (despite they are same Googler...).

    They suggest to follow this link for Crashlytics updates:

    https://github.com/firebase/firebase-android-sdk/issues/198

    Note: I'm still using Android Studio 3.3 with io.fabric.tools:gradle:1.26.0 without commenting any of Craslytics and it's works fine on my debug app.

    Update:

    I can confirm now that it works fine on my production/release version app. How do I know it works? Because it had sent me back a crash reports -_-'

    Anyway, just ignore the warning, they should fix it eventually.

    Aww, just read that it had fixed with fabric 1.28.0 :)

提交回复
热议问题