gpt4 book ai didi

android - Android Studio生成签名的APK

转载 作者:行者123 更新时间:2023-12-03 04:31:54 24 4
gpt4 key购买 nike

我需要帮助:

Error:Execution failed for task ':app:transformClassesWithJarMergingForRelease'.

com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/github/mikephil/charting/highlight/Highlight.class



apply plugin: 'com.android.application'

android {
compileSdkVersion 23
buildToolsVersion "23.0.3"

defaultConfig {
applicationId "cqdevelopers.incrediblediet"
minSdkVersion 15
targetSdkVersion 23
versionCode 1
versionName "1.0"
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
}
repositories {
maven { url "https://jitpack.io" }
}



dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.3.0'
compile 'com.android.support:design:23.3.0'
compile 'com.android.support:cardview-v7:23.3.0'
compile 'com.android.support:recyclerview-v7:23.3.0'
compile 'com.github.ksoichiro:android-observablescrollview:1.6.0'
compile 'com.github.PhilJay:MPAndroidChart:v2.2.5'
compile files('libs/GraphView-4.0.1.jar')
compile 'com.android.support:support-v4:23.3.0'
compile 'com.google.zxing:core:3.2.0'
}

最佳答案

在Windows上,
Ctrl + N:搜索您的类(class)“突出显示”

在知道哪两个是导致此问题的更多库之后,
查找应用程序依赖结构,执行

  gradlew app:dependencies 

命令以查找层次结构并排除其中之一。

关于android - Android Studio生成签名的APK,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37711857/

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