out of the blue, I got this error that I can not find a way to fix. Plugin with id 'com.android.application' not found. If there are any more files that you guys need to see, feel free to ask me. Thank you!
It's referring me to this file:
Here is my build.gradle(Project OddJob):
apply plugin: 'com.android.application' android { compileSdkVersion 28 defaultConfig { applicationId "com.tamir.offen.actionbar" minSdkVersion 21 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' } } } repositories { maven { url 'https://dl.bintray.com/spark/maven' } } configurations.all { resolutionStrategy { force 'com.android.support:support-annotations:23.1.1' } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'com.android.support:appcompat-v7:27.1.1' implementation 'com.android.support.constraint:constraint-layout:1.1.2' implementation 'com.google.android.gms:play-services-maps:15.0.1' implementation "com.google.android.gms:play-services-location:15.0.1" implementation 'com.android.support:support-v4:26.1.0' 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' implementation 'me.spark:submitbutton:1.0.1' implementation 'com.wdullaer:materialdatetimepicker:3.1.3' // for the bottom nav bar: implementation 'com.android.support:design:27.1.1' } Here is build.gradle(Module App):
apply plugin: 'com.android.application' android { compileSdkVersion 28 defaultConfig { applicationId "com.tamir.offen.actionbar" minSdkVersion 21 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:27.1.1' implementation 'com.android.support.constraint:constraint-layout:1.1.2' implementation 'com.google.android.gms:play-services-maps:15.0.1' implementation "com.google.android.gms:play-services-location:15.0.1" implementation 'com.android.support:support-v4:26.1.0' 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' implementation 'me.spark:submitbutton:1.0.1' implementation 'com.wdullaer:materialdatetimepicker:3.1.3' // for the bottom nav bar: implementation 'com.android.support:design:27.1.1' }