نوشته شده توسط
mahdibahramih
سلام ممنون که وقت گذاشتین جواب دادین
دوست عزیز اخرین نسخه بیلد تولز پایدار نسخه 27.0.3 هست اما انگار شما کل sdk رو اپدیت کردید و الان نسخه 28 تنظیم شده...پس این بیلد تولز رو پاک کنید و نسخه 27.0.3 رو دانلود کنید همچنین Platform-Tools 27.0.1
گریدلتون باید به این شکل باشه :
apply plugin: 'com.android.application'
android {
compileSdkVersion 27
defaultConfig {
applicationId "com.samisoft.civildic"
minSdkVersion 17
targetSdkVersion 27
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunne r"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.android.support:appcompat-v7:27.1.1'
implementation 'com.android.support.constraint:constraint-layout:1.1.2'
}