question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Manifest merger failed after SDK Update 26.0.0

See original GitHub issue

Dear friend, we, the rest of the NativeScript community really appreciate your feedback! While we are doing all we can to take care of every issue, sometimes we get overwhelmed. Because of that, we will consider issues that are not constructive or problems that cannot be reproduced “dead”. Additionally, we will treat feature requests or bug reports with unanswered questions regarding the behavior/reproduction for more than 20 days “dead”. All “dead” issues will get closed.

Please, provide the details below:

I updated SDK from android sdk manager. After sdk update tns run android shows error.

Execution failed for task ':processF0F1F2F3F4F5F6F7F8F9F10F11F12DebugManifest'.
> Manifest merger failed : Attribute meta-data#android.support.VERSION@value value=(26.0.0-alpha1) from [com.android.support:design:26.0.0-alpha1] AndroidManifest.xml:27:9-38
        is also present at [com.android.support:customtabs:25.3.1] AndroidManifest.xml:24:9-31 value=(25.3.1).
        Suggestion: add 'tools:replace="android:value"' to <meta-data> element at AndroidManifest.xml:25:5-27:41 to override.

Did you verify this is a real problem by searching Stack Overflow and the other open issues in this repo?

Tell us about the problem

Please, ensure your title is less than 63 characters long and starts with a capital letter.

Which platform(s) does your issue occur on?

iOS/Android/Both

Please provide the following version numbers that your issue occurs with:

  • CLI: (run tns --version to fetch it)
  • Cross-platform modules: (check the ‘version’ attribute in the node_modules/tns-core-modules/package.json file in your project)
  • Runtime(s): (look for the "tns-android" and "tns-ios" properties in the package.json file of your project)
  • Plugin(s): (look for the version number in the package.json file of your project)
│ Component        │ Current version │ Latest version │ Information   │
│ nativescript     │ 3.1.3           │ 3.1.3          │ Up to date    │
│ tns-core-modules │ 3.1.1           │ 3.1.1          │ Up to date    │
│ tns-android      │ 3.1.1           │ 3.1.1          │ Up to date    │
│ tns-ios          │                 │ 3.1.0          │ Not installed

Please tell us how to recreate the issue in as much detail as possible.

Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

12reactions
DickSmithcommented, Aug 9, 2017
dependencies {
    configurations.all {
        resolutionStrategy.eachDependency { DependencyResolveDetails details ->
            def requested = details.requested
            if (requested.group == 'com.android.support') {
                details.useVersion '26.0.+'
            }
        }
    }
}

Add that to your app/App_Resources/Android/app.gradle or merge it with whatever you have in dependencies {...} already and you should be good.

2reactions
Burgovcommented, Mar 19, 2018

@DickSmith 's suggestion resolved the problem for me. Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting "Manifest merger failed" error after updating to a new ...
Error:Execution failed for task ':app:processDebugManifest'. Manifest merger failed : Attribute meta-data#android.support.VERSION@value value=(26.0.0- ...
Read more >
manifest merger failed with multiple errors see logs - Edureka
Following which, Click on the merged manifest option. An Error would be visible at the right column and then one must try to...
Read more >
Manage manifest files - Android Developers
The manifest merger tool combines all XML elements from each file by following merge heuristics and obeying merge preferences that you have ...
Read more >
Firebase Android SDK Release Notes - Google
Fixed a parsing error in MultiFactorInfo.getEnrollmentTimestamp() . Authentication Kotlin extensions version 21.1.0. The Kotlin extensions library transitively ...
Read more >
Troubleshooting Android - OneSignal Documentation
If you see the following error make sure you have completed step 1.2 correctly. Execution failed for task ':app:processDebugManifest' Manifest merger failed ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found