错误:(35)错误:面向O时版本必须至少为10.2.1 [GradleCompatible]

时间:2018-08-03 16:32:17

标签: android

我的构建gradle文件,我在尝试构建签名的apk时遇到上述错误,此错误在谈论哪个版本?

compile fileTree(dir: 'libs', include: ['*.jar'])
    compile 'com.android.support:appcompat-v7:23.4.0'
    compile 'com.android.support:design:23.4.0'
    compile 'com.android.support:cardview-v7:23.0.+'
    compile 'com.google.firebase:firebase-core:9.4.0'
    compile 'com.google.firebase:firebase-messaging:9.4.0'

1 个答案:

答案 0 :(得分:0)

compile 'com.google.firebase:firebase-messaging:9.4.0'

用下面一行替换这一行

implementation 'com.google.firebase:firebase-messaging:11.0.4'