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
EDIT
This issue has been fixed in Fabric 1.28.0. In your build.gradle of the project level, add the following line:
classpath 'io.fabric.tools:gradle:1.28.1'
Previous Answer
It happens after I updated Android Studio to 3.3.0. apply plugin: 'io.fabric' is the cause. I have sent a bug report to Firebase team about this issue.
You have 3 options:
Wait until the next version of Fabric plugin is released. Check the latest version here.
Downgrade to Android Studio 3.2.1.
Comment out io.fabric plugin.
In build.gradle of your app's module:
apply plugin: 'com.android.application'
// apply plugin: 'io.fabric' <== this plugin causes the error
However, you can still build and run your projects even though this error appears. Just ignore it.