我收到此错误,但我已经下载了API 25缺少的组件,并将gradle文件更改为以下代码。 我已经同步了所有内容,它给了我0个错误,但我仍然在每个文件的包名称后面得到此消息。
apply plugin: 'com.android.application'
android {
compileSdkVersion 25
buildToolsVersion '25'
defaultConfig {
applicationId 'foodlebeeapp.com.foodlebeeapp'
minSdkVersion 16
targetSdkVersion 25
versionCode 7
versionName "1.3"
multiDexEnabled true
}
repositories {
mavenCentral()
}
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
productFlavors {
}
}
dependencies {
compile 'uk.co.chrisjenx:calligraphy:2.2.0'
compile 'com.android.support:design:25.0.1'
compile 'com.google.android.gms:play-services-location:9.8.0'
compile 'ch.acra:acra:4.9.0'
compile('de.keyboardsurfer.android.widget:crouton:1.8.4@aar') {
exclude group: 'com.google.android', module: 'support-v4'
}
compile project(':volley')
compile project(':payUMoneysdk')
compile('com.mikepenz:materialdrawer:5.4.0@aar') {
transitive = true
}
compile 'com.google.firebase:firebase-core:9.6.1'
compile 'com.urbanairship.android:urbanairship-sdk:8.2.4'
compile 'com.android.support:cardview-v7:25.0.1'
}
apply plugin: 'com.google.gms.google-services'
完整的报告是: