can-i-drop-jetifier icon indicating copy to clipboard operation
can-i-drop-jetifier copied to clipboard

Error failed to apply plugin [id 'com.google.firebase.crashlytics']

Open chrisonline opened this issue 5 years ago • 2 comments

I get 2 errors when I run the task. If I build it with Android Studio all is working fine. `FAILURE: Build completed with 2 failures.

1: Task failed with an exception.

  • Where: Build file 'F:\Projekte\AndroidProjekte\COLReminder\app\build.gradle' line: 12

  • What went wrong: A problem occurred evaluating project ':app'.

Failed to apply plugin [id 'com.google.firebase.crashlytics'] No such property: defaultConfig for class: java.lang.String

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. ==============================================================================

2: Task failed with an exception.

  • What went wrong: A problem occurred configuring project ':app'.

compileSdkVersion is not specified. Please add it to build.gradle

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. ==============================================================================

  • Get more help at https://help.gradle.org

BUILD FAILED in 2s`

chrisonline avatar Aug 30 '20 15:08 chrisonline

It worked for me to disable android.enableJetifier=false in the gradle.properties and run just the task canIDropJetifier

3dmg avatar Sep 22 '20 14:09 3dmg

Thanks, but this makes no difference on my side :-(

chrisonline avatar Sep 23 '20 12:09 chrisonline