Я новичок в Android Studio, постоянно сталкиваюсь с проблемами (в основном после любого обновления).Эта проблема возникла сразу после того, как я обновил IDE и плагин.Сейчас ни один из моих проектов не собирается.
Вот ошибка
Could not find method implementation() for arguments
[com.android.support:support-v4:28.0.0-alphal] on object of type
org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
Please install the Android Support Repository from the Android SDK Manager.
Когда я захожу в менеджер SDK, он показывает, что отмечен репозиторий поддержки Android (если он присутствует)
Вот мой файл build.gradle
apply plugin: 'com.android.application'
android {
compileSdkVersion 28
defaultConfig {
applicationId "com.example.namey.app"
minSdkVersion 23
targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:28.0.0-alphal'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation 'com.android.support:appcompat-v7:28.0.0' // Added for slide-in menu
implementation 'com.android.support:design:28.0.0' // Added for slide-in menu design
implementation 'com.andkulikov:transitionseverywhere:1.8.1' // For transitions
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
}
Даже после повторной загрузки репозитория поддержки Android я все еще получаю ту же ошибку