gpt4 book ai didi

android - 程序类型已经存在 : com. google.android.gms.internal.measurement.zzfe

转载 作者:太空狗 更新时间:2023-10-29 14:36:30 24 4
gpt4 key购买 nike

这是我在移动设备上运行的错误,这是我的构建。 Gradle

apply plugin: 'com.android.application'

android {
compileSdkVersion 27
useLibrary 'org.apache.http.legacy'

defaultConfig {
applicationId "com.medianova.doctorfinder"
minSdkVersion 17
targetSdkVersion 27
multiDexEnabled true
testInstrumentationRunner 'android.support.test.runner.AndroidJUnitRunner'
}

packagingOptions {
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/NOTICE'
exclude 'META-INF/LICENSE'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE.txt'
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
}
dependencies {
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
testImplementation 'junit:junit:4.12'
implementation 'com.android.support:design:27.1.1'
implementation 'com.android.support:customtabs:27.1.1'
implementation 'com.google.android.gms:play-services-analytics:16.0.4'
implementation 'com.facebook.android:facebook-login:4.37.0'
api 'com.facebook.android:facebook-share:4.37.0'
implementation 'com.google.firebase:firebase-messaging:17.3.4'
implementation 'com.google.firebase:firebase-core:16.0.6'
implementation 'com.firebase:firebase-jobdispatcher:0.8.5'
implementation 'com.android.volley:volley:1.1.1'

implementation 'com.android.support:cardview-v7:27.1.1'
implementation 'com.squareup.picasso:picasso:2.71828'
implementation 'com.android.support:appcompat-v7:27.1.1'
implementation 'com.google.android.gms:play-services-ads:17.0.0'
implementation 'com.google.android.gms:play-services-location:16.0.0'
implementation 'com.google.android.gms:play-services-maps:16.0.0'
implementation 'com.android.support:multidex:1.0.3'
implementation files('libs/httpclient-android-4.3.5.1.jar')
implementation 'com.github.yesidlazaro:GmailBackground:1.2.0'
implementation files('libs/httpmime-4.3.5.jar')
//database
implementation 'com.readystatesoftware.sqliteasset:sqliteassethelper:+'

}
apply plugin: 'com.google.gms.google-services'

我搜索了很多,但我没有找到关于这个问题的任何解决方案。我使用 android studio 3.1.0 和 Gradle 4.4。

我还在构建选项卡的底部显示了这个错误。当我在移动设备上运行时显示 MultiDex 错误。

org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:transformClassesWithMultidexlistForDebug'.
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:103)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:73)

最佳答案

它使用这些版本构建:

dependencies {
implementation "com.android.support:multidex:1.0.3"
implementation "com.android.support:design:28.0.0"
implementation "com.android.support:appcompat-v7:28.0.0"
implementation "com.android.support:cardview-v7:28.0.0"
implementation "com.android.support:customtabs:28.0.0"
implementation "com.android.support:support-v4:28.0.0"

implementation ("com.google.firebase:firebase-messaging:17.3.4") {
exclude group: "com.android.support", module:"support-v4"
}
implementation "com.google.firebase:firebase-core:16.0.7"
implementation "com.firebase:firebase-jobdispatcher:0.8.5"

implementation "com.android.volley:volley:1.1.1"
implementation ("com.squareup.picasso:picasso:2.71828") {
exclude group: "com.android.support"
}

implementation ("com.google.android.gms:play-services-ads:17.1.3") {
exclude group: "com.android.support"
}
implementation "com.google.android.gms:play-services-location:16.0.0"
implementation "com.google.android.gms:play-services-analytics:16.0.7"
implementation "com.google.android.gms:play-services-maps:16.1.0"
}

另见 Migrating from Firebase JobDispatcher to WorkManager ...

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

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