Answer the question
In order to leave comments, you need to log in
Plugin with id 'com.android.application' not found. Where can I find it in Android Studio?
After updating Android Studio - an error occurs when trying to build the project, the studio writes an error: "Plugin with id 'com.android.application' not found. Open File",
The contents of the "build.gradle" file are as follows (tried with apply plugin: 'android ' - didn't help, what has changed in the project and why can't it see it?):
apply plugin: 'com.android.application'
android {
compileSdkVersion 28
defaultConfig {
applicationId "com.example.ivankurdin.myapplication"
minSdkVersion 19
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-alpha3'
implementation 'com.android.support.constraint:constraint-layout:1.1.1'
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'
}
Answer the question
In order to leave comments, you need to log in
It helped - remove Android Studio, demolish the SDK and studio settings files, then install everything from 0, but new projects did not work (same error), checkmarks helped:
1) Enable embedded Maven repository
2) Sync project with Gradle before buildin, if needed
Dance with a tambourine ...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question