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.
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'.
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'.
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`