Mapbox: Gradle sync failed with DexArchiveMergerException
I am integrating the dependencies for the mapbox-sdk into my gradle build files and run into the error that I have duplicates in my dependency tree. How can I exclude the necessary dependencies?
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
implementation 'com.android.support:appcompat-v7:28.1.1'
implementation 'com.android.support:recyclerview-v7:28.1.1'
implementation 'androidx.constraintlayout:constraintlayout:2.0.0-alpha2'
implementation 'com.android.support:support-v4:28.0.0'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
// android exinterface
implementation 'com.android.support:exifinterface:28.0.0'
// mapbox sdk
implementation 'com.mapbox.mapboxsdk:mapbox-android-sdk:6.7.0'
// navigation sdk will transitively bring maps-sdk
implementation 'com.mapbox.mapboxsdk:mapbox-android-navigation-ui:0.24.0-beta.1'
implementation 'com.android.support:support-v4:28.0.0'
implementation 'com.google.android:support-v4:r7'
// multidex enabling
implementation 'com.android.support:multidex:1.0.3'
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'
}
I have multiple entries for androidx.fragment:fragment:1.0.0 (*) which seems to be the issue.
+--- androidx.legacy:legacy-support-v4:1.0.0
| +--- androidx.core:core:1.0.0 (*)
| +--- androidx.media:media:1.0.0
| | +--- androidx.annotation:annotation:1.0.0
| | +--- androidx.core:core:1.0.0 (*)
| | --- androidx.versionedparcelable:versionedparcelable:1.0.0 (*)
| +--- androidx.legacy:legacy-support-core-utils:1.0.0 (*)
| +--- androidx.legacy:legacy-support-core-ui:1.0.0 (*)
| --- androidx.fragment:fragment:1.0.0 (*)
+--- com.mapbox.mapboxsdk:mapbox-android-sdk:6.7.0
| +--- com.mapbox.mapboxsdk:mapbox-android-telemetry:3.5.2
| | +--- com.mapbox.mapboxsdk:mapbox-android-core:0.2.1
| | | --- androidx.appcompat:appcompat:1.0.0 (*)
| | +--- com.squareup.okhttp3:okhttp:3.10.0 -> 3.11.0
| | | --- com.squareup.okio:okio:1.14.0
| | +--- com.google.code.gson:gson:2.8.2 -> 2.8.5
| | +--- androidx.appcompat:appcompat:1.0.0 (*)
| | --- androidx.lifecycle:lifecycle-extensions:2.0.0
| | +--- androidx.lifecycle:lifecycle-runtime:2.0.0 (*)
| | +--- androidx.arch.core:core-common:2.0.0 (*)
| | +--- androidx.arch.core:core-runtime:2.0.0 (*)
| | +--- androidx.fragment:fragment:1.0.0 (*)
The exception I get is a DexArchiveMergerException as followed:
BUILD FAILED in 17s
19 actionable tasks: 7 executed, 12 up-to-date
./gradlew build
> Task :app:transformDexArchiveWithExternalLibsDexMergerForDebug FAILED
D8: Program type already present: androidx.fragment.app.Fragment$InstantiationException
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.
> com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives:
Program type already present: androidx.fragment.app.Fragment$InstantiationException
Learn how to resolve the issue at https://developer.android.com/studio/build/dependencies#duplicate_classes.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.0-milestone-1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 8s
19 actionable tasks: 4 executed, 15 up-to-date
android gradle android-gradle mapbox-android
add a comment |
I am integrating the dependencies for the mapbox-sdk into my gradle build files and run into the error that I have duplicates in my dependency tree. How can I exclude the necessary dependencies?
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
implementation 'com.android.support:appcompat-v7:28.1.1'
implementation 'com.android.support:recyclerview-v7:28.1.1'
implementation 'androidx.constraintlayout:constraintlayout:2.0.0-alpha2'
implementation 'com.android.support:support-v4:28.0.0'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
// android exinterface
implementation 'com.android.support:exifinterface:28.0.0'
// mapbox sdk
implementation 'com.mapbox.mapboxsdk:mapbox-android-sdk:6.7.0'
// navigation sdk will transitively bring maps-sdk
implementation 'com.mapbox.mapboxsdk:mapbox-android-navigation-ui:0.24.0-beta.1'
implementation 'com.android.support:support-v4:28.0.0'
implementation 'com.google.android:support-v4:r7'
// multidex enabling
implementation 'com.android.support:multidex:1.0.3'
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'
}
I have multiple entries for androidx.fragment:fragment:1.0.0 (*) which seems to be the issue.
+--- androidx.legacy:legacy-support-v4:1.0.0
| +--- androidx.core:core:1.0.0 (*)
| +--- androidx.media:media:1.0.0
| | +--- androidx.annotation:annotation:1.0.0
| | +--- androidx.core:core:1.0.0 (*)
| | --- androidx.versionedparcelable:versionedparcelable:1.0.0 (*)
| +--- androidx.legacy:legacy-support-core-utils:1.0.0 (*)
| +--- androidx.legacy:legacy-support-core-ui:1.0.0 (*)
| --- androidx.fragment:fragment:1.0.0 (*)
+--- com.mapbox.mapboxsdk:mapbox-android-sdk:6.7.0
| +--- com.mapbox.mapboxsdk:mapbox-android-telemetry:3.5.2
| | +--- com.mapbox.mapboxsdk:mapbox-android-core:0.2.1
| | | --- androidx.appcompat:appcompat:1.0.0 (*)
| | +--- com.squareup.okhttp3:okhttp:3.10.0 -> 3.11.0
| | | --- com.squareup.okio:okio:1.14.0
| | +--- com.google.code.gson:gson:2.8.2 -> 2.8.5
| | +--- androidx.appcompat:appcompat:1.0.0 (*)
| | --- androidx.lifecycle:lifecycle-extensions:2.0.0
| | +--- androidx.lifecycle:lifecycle-runtime:2.0.0 (*)
| | +--- androidx.arch.core:core-common:2.0.0 (*)
| | +--- androidx.arch.core:core-runtime:2.0.0 (*)
| | +--- androidx.fragment:fragment:1.0.0 (*)
The exception I get is a DexArchiveMergerException as followed:
BUILD FAILED in 17s
19 actionable tasks: 7 executed, 12 up-to-date
./gradlew build
> Task :app:transformDexArchiveWithExternalLibsDexMergerForDebug FAILED
D8: Program type already present: androidx.fragment.app.Fragment$InstantiationException
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.
> com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives:
Program type already present: androidx.fragment.app.Fragment$InstantiationException
Learn how to resolve the issue at https://developer.android.com/studio/build/dependencies#duplicate_classes.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.0-milestone-1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 8s
19 actionable tasks: 4 executed, 15 up-to-date
android gradle android-gradle mapbox-android
have you looked at here:stackoverflow.com/a/50301692/8034839?
– shizhen
Nov 22 '18 at 0:55
add a comment |
I am integrating the dependencies for the mapbox-sdk into my gradle build files and run into the error that I have duplicates in my dependency tree. How can I exclude the necessary dependencies?
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
implementation 'com.android.support:appcompat-v7:28.1.1'
implementation 'com.android.support:recyclerview-v7:28.1.1'
implementation 'androidx.constraintlayout:constraintlayout:2.0.0-alpha2'
implementation 'com.android.support:support-v4:28.0.0'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
// android exinterface
implementation 'com.android.support:exifinterface:28.0.0'
// mapbox sdk
implementation 'com.mapbox.mapboxsdk:mapbox-android-sdk:6.7.0'
// navigation sdk will transitively bring maps-sdk
implementation 'com.mapbox.mapboxsdk:mapbox-android-navigation-ui:0.24.0-beta.1'
implementation 'com.android.support:support-v4:28.0.0'
implementation 'com.google.android:support-v4:r7'
// multidex enabling
implementation 'com.android.support:multidex:1.0.3'
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'
}
I have multiple entries for androidx.fragment:fragment:1.0.0 (*) which seems to be the issue.
+--- androidx.legacy:legacy-support-v4:1.0.0
| +--- androidx.core:core:1.0.0 (*)
| +--- androidx.media:media:1.0.0
| | +--- androidx.annotation:annotation:1.0.0
| | +--- androidx.core:core:1.0.0 (*)
| | --- androidx.versionedparcelable:versionedparcelable:1.0.0 (*)
| +--- androidx.legacy:legacy-support-core-utils:1.0.0 (*)
| +--- androidx.legacy:legacy-support-core-ui:1.0.0 (*)
| --- androidx.fragment:fragment:1.0.0 (*)
+--- com.mapbox.mapboxsdk:mapbox-android-sdk:6.7.0
| +--- com.mapbox.mapboxsdk:mapbox-android-telemetry:3.5.2
| | +--- com.mapbox.mapboxsdk:mapbox-android-core:0.2.1
| | | --- androidx.appcompat:appcompat:1.0.0 (*)
| | +--- com.squareup.okhttp3:okhttp:3.10.0 -> 3.11.0
| | | --- com.squareup.okio:okio:1.14.0
| | +--- com.google.code.gson:gson:2.8.2 -> 2.8.5
| | +--- androidx.appcompat:appcompat:1.0.0 (*)
| | --- androidx.lifecycle:lifecycle-extensions:2.0.0
| | +--- androidx.lifecycle:lifecycle-runtime:2.0.0 (*)
| | +--- androidx.arch.core:core-common:2.0.0 (*)
| | +--- androidx.arch.core:core-runtime:2.0.0 (*)
| | +--- androidx.fragment:fragment:1.0.0 (*)
The exception I get is a DexArchiveMergerException as followed:
BUILD FAILED in 17s
19 actionable tasks: 7 executed, 12 up-to-date
./gradlew build
> Task :app:transformDexArchiveWithExternalLibsDexMergerForDebug FAILED
D8: Program type already present: androidx.fragment.app.Fragment$InstantiationException
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.
> com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives:
Program type already present: androidx.fragment.app.Fragment$InstantiationException
Learn how to resolve the issue at https://developer.android.com/studio/build/dependencies#duplicate_classes.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.0-milestone-1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 8s
19 actionable tasks: 4 executed, 15 up-to-date
android gradle android-gradle mapbox-android
I am integrating the dependencies for the mapbox-sdk into my gradle build files and run into the error that I have duplicates in my dependency tree. How can I exclude the necessary dependencies?
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
implementation 'com.android.support:appcompat-v7:28.1.1'
implementation 'com.android.support:recyclerview-v7:28.1.1'
implementation 'androidx.constraintlayout:constraintlayout:2.0.0-alpha2'
implementation 'com.android.support:support-v4:28.0.0'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
// android exinterface
implementation 'com.android.support:exifinterface:28.0.0'
// mapbox sdk
implementation 'com.mapbox.mapboxsdk:mapbox-android-sdk:6.7.0'
// navigation sdk will transitively bring maps-sdk
implementation 'com.mapbox.mapboxsdk:mapbox-android-navigation-ui:0.24.0-beta.1'
implementation 'com.android.support:support-v4:28.0.0'
implementation 'com.google.android:support-v4:r7'
// multidex enabling
implementation 'com.android.support:multidex:1.0.3'
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'
}
I have multiple entries for androidx.fragment:fragment:1.0.0 (*) which seems to be the issue.
+--- androidx.legacy:legacy-support-v4:1.0.0
| +--- androidx.core:core:1.0.0 (*)
| +--- androidx.media:media:1.0.0
| | +--- androidx.annotation:annotation:1.0.0
| | +--- androidx.core:core:1.0.0 (*)
| | --- androidx.versionedparcelable:versionedparcelable:1.0.0 (*)
| +--- androidx.legacy:legacy-support-core-utils:1.0.0 (*)
| +--- androidx.legacy:legacy-support-core-ui:1.0.0 (*)
| --- androidx.fragment:fragment:1.0.0 (*)
+--- com.mapbox.mapboxsdk:mapbox-android-sdk:6.7.0
| +--- com.mapbox.mapboxsdk:mapbox-android-telemetry:3.5.2
| | +--- com.mapbox.mapboxsdk:mapbox-android-core:0.2.1
| | | --- androidx.appcompat:appcompat:1.0.0 (*)
| | +--- com.squareup.okhttp3:okhttp:3.10.0 -> 3.11.0
| | | --- com.squareup.okio:okio:1.14.0
| | +--- com.google.code.gson:gson:2.8.2 -> 2.8.5
| | +--- androidx.appcompat:appcompat:1.0.0 (*)
| | --- androidx.lifecycle:lifecycle-extensions:2.0.0
| | +--- androidx.lifecycle:lifecycle-runtime:2.0.0 (*)
| | +--- androidx.arch.core:core-common:2.0.0 (*)
| | +--- androidx.arch.core:core-runtime:2.0.0 (*)
| | +--- androidx.fragment:fragment:1.0.0 (*)
The exception I get is a DexArchiveMergerException as followed:
BUILD FAILED in 17s
19 actionable tasks: 7 executed, 12 up-to-date
./gradlew build
> Task :app:transformDexArchiveWithExternalLibsDexMergerForDebug FAILED
D8: Program type already present: androidx.fragment.app.Fragment$InstantiationException
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.
> com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives:
Program type already present: androidx.fragment.app.Fragment$InstantiationException
Learn how to resolve the issue at https://developer.android.com/studio/build/dependencies#duplicate_classes.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.0-milestone-1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 8s
19 actionable tasks: 4 executed, 15 up-to-date
android gradle android-gradle mapbox-android
android gradle android-gradle mapbox-android
asked Nov 22 '18 at 0:52
Janina AlisárJanina Alisár
64
64
have you looked at here:stackoverflow.com/a/50301692/8034839?
– shizhen
Nov 22 '18 at 0:55
add a comment |
have you looked at here:stackoverflow.com/a/50301692/8034839?
– shizhen
Nov 22 '18 at 0:55
have you looked at here:stackoverflow.com/a/50301692/8034839?
– shizhen
Nov 22 '18 at 0:55
have you looked at here:stackoverflow.com/a/50301692/8034839?
– shizhen
Nov 22 '18 at 0:55
add a comment |
1 Answer
1
active
oldest
votes
In gradle.properties
add below lines
android.useAndroidX=true
android.enableJetifier=true
This error typically occurs due to one of the following circumstances:
- A binary dependency includes a library that your app also includes as
a direct dependency. For example, your app declares a direct
dependency on Library A and Library B, but Library A already includes
Library B in its binary. To resolve this issue, remove Library B as a
direct dependency.
- Your app has a local binary dependency and a remote
binary dependency on the same library. To resolve this issue, remove
one of the binary dependencies.
Please refer to here: https://developer.android.com/studio/build/dependencies#duplicate_classes
Hi @shizhen, thank you for the help. I have had added these lines in my gradle.properties. I couldn't solve the issue so far.
– Janina Alisár
Nov 24 '18 at 18:15
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53422471%2fmapbox-gradle-sync-failed-with-dexarchivemergerexception%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
In gradle.properties
add below lines
android.useAndroidX=true
android.enableJetifier=true
This error typically occurs due to one of the following circumstances:
- A binary dependency includes a library that your app also includes as
a direct dependency. For example, your app declares a direct
dependency on Library A and Library B, but Library A already includes
Library B in its binary. To resolve this issue, remove Library B as a
direct dependency.
- Your app has a local binary dependency and a remote
binary dependency on the same library. To resolve this issue, remove
one of the binary dependencies.
Please refer to here: https://developer.android.com/studio/build/dependencies#duplicate_classes
Hi @shizhen, thank you for the help. I have had added these lines in my gradle.properties. I couldn't solve the issue so far.
– Janina Alisár
Nov 24 '18 at 18:15
add a comment |
In gradle.properties
add below lines
android.useAndroidX=true
android.enableJetifier=true
This error typically occurs due to one of the following circumstances:
- A binary dependency includes a library that your app also includes as
a direct dependency. For example, your app declares a direct
dependency on Library A and Library B, but Library A already includes
Library B in its binary. To resolve this issue, remove Library B as a
direct dependency.
- Your app has a local binary dependency and a remote
binary dependency on the same library. To resolve this issue, remove
one of the binary dependencies.
Please refer to here: https://developer.android.com/studio/build/dependencies#duplicate_classes
Hi @shizhen, thank you for the help. I have had added these lines in my gradle.properties. I couldn't solve the issue so far.
– Janina Alisár
Nov 24 '18 at 18:15
add a comment |
In gradle.properties
add below lines
android.useAndroidX=true
android.enableJetifier=true
This error typically occurs due to one of the following circumstances:
- A binary dependency includes a library that your app also includes as
a direct dependency. For example, your app declares a direct
dependency on Library A and Library B, but Library A already includes
Library B in its binary. To resolve this issue, remove Library B as a
direct dependency.
- Your app has a local binary dependency and a remote
binary dependency on the same library. To resolve this issue, remove
one of the binary dependencies.
Please refer to here: https://developer.android.com/studio/build/dependencies#duplicate_classes
In gradle.properties
add below lines
android.useAndroidX=true
android.enableJetifier=true
This error typically occurs due to one of the following circumstances:
- A binary dependency includes a library that your app also includes as
a direct dependency. For example, your app declares a direct
dependency on Library A and Library B, but Library A already includes
Library B in its binary. To resolve this issue, remove Library B as a
direct dependency.
- Your app has a local binary dependency and a remote
binary dependency on the same library. To resolve this issue, remove
one of the binary dependencies.
Please refer to here: https://developer.android.com/studio/build/dependencies#duplicate_classes
answered Nov 22 '18 at 0:57
shizhenshizhen
4,03441337
4,03441337
Hi @shizhen, thank you for the help. I have had added these lines in my gradle.properties. I couldn't solve the issue so far.
– Janina Alisár
Nov 24 '18 at 18:15
add a comment |
Hi @shizhen, thank you for the help. I have had added these lines in my gradle.properties. I couldn't solve the issue so far.
– Janina Alisár
Nov 24 '18 at 18:15
Hi @shizhen, thank you for the help. I have had added these lines in my gradle.properties. I couldn't solve the issue so far.
– Janina Alisár
Nov 24 '18 at 18:15
Hi @shizhen, thank you for the help. I have had added these lines in my gradle.properties. I couldn't solve the issue so far.
– Janina Alisár
Nov 24 '18 at 18:15
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53422471%2fmapbox-gradle-sync-failed-with-dexarchivemergerexception%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
have you looked at here:stackoverflow.com/a/50301692/8034839?
– shizhen
Nov 22 '18 at 0:55