Quando tento rodar as dependias da erro, já olhei no fórum mas os métodos usados não deu certo na minha maquina.
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = "1.5.0"
repositories {
google()
mavenCentral()
}
dependencies {
classpath "com.android.tools.build:gradle:4.2.1"
implementation 'com.android.support:cardview-v7:24.0.0'
implementation 'com.android.support:design:28.0.0'
implementation 'com.android.support:cardview-v7:28.0.0'
implementation 'com.github.clans:fab:1.6.4'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
mavenCentral()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
Erro: Build file 'C:\Users\Wernen\AndroidStudioProjects\FinancasK\build.gradle' line: 10
A problem occurred evaluating root project 'FinancasK'.
Could not find method implementation() for arguments [org.jetbrains.kotlin:kotlin-stdlib:1.5.0] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
- Try: Run with --info or --debug option to get more log output. Run with --scan to get full insights.