Closed
Description
Getting this error while building.
Execution failed for task ':app:mergeExtDexDebug'.
Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Failed to transform artifact 'iconics-core.aar (com.mikepenz:iconics-core:3.2.5)' to match attributes {artifactType=android-dex, dexing-is-debuggable=true, dexing-min-sdk=21}
> Execution failed for DexingTransform: /Users/apple/.gradle/caches/transforms-2/files-2.1/d5a9e46b08fc3a87a4eb4c070e854658/jars/classes.jar.
> Error while dexing.
Metadata
Metadata
Assignees
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
ibrahimbroachwala commentedon May 9, 2019
Some more error info:
AGPBI: {"kind":"error","text":"Default interface methods are only supported starting with Android N (--min-api 24): void com.mikepenz.iconics.animation.IconicsAnimationListener.onAnimationCancel(com.mikepenz.iconics.animation.IconicsAnimationProcessor)","sources":[{}],"tool":"D8"}
mikepenz commentedon May 10, 2019
@ibrahimbroachwala this version requires Java8 support:
https://github.com/mikepenz/Android-Iconics/blob/develop/library-core/build.gradle#L26
ibrahimbroachwala commentedon May 13, 2019
Thanks a lot. It worked :D
gauravsngarg commentedon Jun 24, 2019
android {
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
chrisoemma commentedon Jun 3, 2020
Hi I solved the same issue by setting multiDexEnabled true in /android/app/build.gradle
like:
android {
compileSdkVersion rootProject.ext.compileSdkVersion
}
itzpradip commentedon Jun 3, 2020
@chrisoemma Thanks bro, you're a true life savior.
Shalabyer commentedon Jun 25, 2020
@chrisoemma Thanks man, it did work .
Ramanpreet6532 commentedon Jul 2, 2020
@chrisoemma i tried above solution but it doesn't work... is there any alternative for this
Bruno-hub19 commentedon Jul 9, 2020
@chrisoemma Thanks bro, success.
magic990619 commentedon Jul 9, 2020
Success.
ghost commentedon Aug 8, 2020
great
pgThiago commentedon Aug 19, 2020
why it fixed the problem? anyone knows?
14 remaining items