Reputation: 21
This is an eclipse project that I migrated to android studio, it was working just fine till I upgraded android studio to the latest version today and I have this problem for hours now, can you please help me?
This is my build.gradle (module):
apply plugin: 'com.android.application'
android {
compileSdkVersion 27
buildToolsVersion '27.0.3'
defaultConfig {
applicationId "com.example.com"
minSdkVersion 14
targetSdkVersion 27
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'),
'proguard-rules.txt'
}
}
}
dependencies {
implementation 'com.android.support:appcompat-v7:27.0.3'
implementation 'com.google.android.gms:play-services:12.0.1'
}
This is my build.gradle (project):
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.2'
}
}
allprojects {
repositories {
jcenter()
google()
}
}
Upvotes: 1
Views: 3810
Reputation: 58934
Replace
implementation 'com.android.support:appcompat-v7:27.0.3'
with
implementation 'com.android.support:appcompat-v7:27.0.2'
Perhaps you pasted buildToolVersion
in this.
Upvotes: 1