我收到此错误,但我已经下载了 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'
完整的报告是: