本文介绍了多个dex文件定义了Lcom/google/android/gms/internal/measurement/zzabn的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从今天早上开始,由于出现此错误,我无法构建Android应用程序

Since this morning I cannot build my Android app because I get this error

我尝试将Firebase版本相应地提高到15.0.2,但随后出现另一个错误...

I have tried bumping the Firebase versions accordingly to 15.0.2 but then I get an other error...

com.google.android.gms:play-services-maps:15.0.2尚未发布?

com.google.android.gms:play-services-maps:15.0.2 is not even released yet?

我有一个要推向生产的版本,构建该应用程序的最佳方法是什么?

I have a build to push to production, what is the best way to build the app?

推荐答案

请将google-service插件更新为:

classpath 'com.google.gms:google-services:3.3.0'

能够使用最新版本的Firebase并避免错误.

to be able to use the latest version of Firebase and to avoid the errors.

阅读以下内容以获取更多信息:

Read the following for more information:

https://android-developers.googleblog. com/2018/05/announcing-new-sdk-versioning.html

编译无法完成:程序类型已经存在:com.google.android.gms.internal.measurement.zzabn

这篇关于多个dex文件定义了Lcom/google/android/gms/internal/measurement/zzabn的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-23 05:32
查看更多