gpt4 book ai didi

android - 错误:程序类型已经存在:com.google.android.gms.common.internal.zzb

转载 作者:行者123 更新时间:2023-12-03 05:37:17 28 4
gpt4 key购买 nike

我在执行“Generate Signed Bundle”时出现问题,并显示“Generate Signed Bundle:构建Bundle文件时出错。您可以在“消息” View 中找到错误。

apply plugin: 'com.android.application'

android {
compileSdkVersion 28
defaultConfig {
applicationId "net.persmaeuridice.rppkurikulum2013revisi"
minSdkVersion 16
targetSdkVersion 28
versionCode 3
versionName "3.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
apply plugin: 'com.google.gms.google-services'

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
//noinspection GradleCompatible
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:design:28.0.0'
implementation 'com.android.support:cardview-v7:28.0.0'
implementation 'com.android.support:gridlayout-v7:28.0.0'
implementation 'com.android.support:recyclerview-v7:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation 'com.google.android.gms:play-services-ads:17.1.3'
implementation 'com.github.barteksc:android-pdf-viewer:2.8.2'
implementation 'com.firebaseui:firebase-ui:0.6.2'
implementation 'com.github.hani-momanii:SuperNova-Emoji:1.0'
implementation 'com.github.lguipeng:BubbleView:1.0.1'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
}

我已经采取了许多方法来找到能力极限的解决方案,因为我需要您的帮助来解决我的问题

我在哪里弄错了?
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {

repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.google.gms:google-services:4.2.0'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}

allprojects {
repositories {
google()
jcenter()
maven {
url "https://maven.google.com"
}
maven {url "https://jitpack.io",}
}
}

task clean(type: Delete) {
delete rootProject.buildDir
}

最佳答案

这两个库之间有冲突

implementation 'com.google.android.gms:play-services-ads:17.1.3'
implementation 'com.firebaseui:firebase-ui:0.6.2'

尝试删除是否不需要任何一个

关于android - 错误:程序类型已经存在:com.google.android.gms.common.internal.zzb,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55192989/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com