Par*_*sha 5 android gradle firebase google-cloud-messaging
我正在尝试在我的应用程序中实施Firebase云消息传递(FCM).我在Build.gradle中添加了以下依赖项,并尝试构建一个发布版本变体.
编译'com.google.firebase:firebase-messaging:15.0.0'
的build.gradle
dependencies {
compile 'com.google.firebase:firebase-core:15.0.0'
compile 'com.google.firebase:firebase-messaging:15.0.0'
}
apply plugin: 'com.google.gms.google-services'
Run Code Online (Sandbox Code Playgroud)
一旦我尝试构建"调试"变体,它工作正常,Firebase消息传递没有任何错误.但是当我尝试构建'release'构建的varient时,它会输出以下错误.
警告:com.google.firebase.messaging.zza:找不到引用的类android.graphics.drawable.AdaptiveIconDrawable
谁能帮我这个.非常感谢您的评论.谢谢
| 归档时间: |
|
| 查看次数: |
1562 次 |
| 最近记录: |