Search Issue Tracker

Won't Fix

Votes

0

Found in

5.5.4p1

Issue ID

924792

Regression

No

[Android] Unity fails merging Android manifest with sdk tools 26.0.2

Mobile

-

Reproduction steps:
1) Download and open attached project
2) Press Build and run
-- Notice that build fails with errors:

Error: Error while saving blame file, build will continue
Error: The prefix "tools" for attribute "tools:overrideLibrary" associated with an element type "uses-sdk" is not bound.

UnityEditor.HostView:OnGUI()

and

AndroidSDKToolsException: Unable to merge android manifests. See the Console for more details.
UnityEditor.Android.AndroidSDKTools.DetectErrorsAndWarnings (System.String logMessages, System.String errorMsg)
UnityEditor.Android.AndroidSDKTools.RunCommandInternal (System.String javaExe, System.String sdkToolsDir, System.String[] sdkToolCommand, Int32 memoryMB, <...> (full error pasted in edit section)

Note: This reproduces only with 26.0.1 and 26.0.2 (currently newest) versions of sdk tools

Reproduced with:
2017.2.0b1, 2017.1.0f1, 5.6.1p2, 5.5.4p1, 5.4.5p3

RESOLUTION: WONTFIX. The issue is caused by a bug in the project. Specifically, Assets/Plugins/Android/AndroidManifest.xml is invalid and broken. The exact issue is that the manifest lacks xmlns:tools="http://schemas.android.com/tools" namespace declaration and thus the new manifest merger tool from 26.0.2 fails to merge it with another manifest (specifically support-v4-25.2.0.aar), which uses the tools XML namespace.

Comments (39)

  1. Vikramsingh123

    Aug 06, 2021 08:19

    <a href="https://issuetracker.unity3d.com/">issue tracker on unity</a>

  2. sakilal

    Jun 27, 2021 06:33

    I liked your website very much, because I got the content of my choice, that's why I will keep visiting your blog daily. If you want to check my website, then you can check it from here
    HTTPS://apkspure.com/action-games/battlegrounds-mobile-india-mod-apk/

  3. Roselybet

    Jun 19, 2021 18:19

  4. sajuazdi

    May 29, 2021 18:48

    Thank You for sharing this useful and great information. gtabigs.com

  5. andrewjose

    Apr 29, 2021 11:16

    Hey, Thanks!

  6. warnerd

    Mar 24, 2021 13:19

    As I Very much into Android Apps I really like ApkModl also they have amazing features. apkmodl.com

  7. hollydearthe

    Mar 11, 2021 07:54

    Those manifest files are auto generated at compile time aren't they ? Doesn't seem like adding a line to the manifest files youtubewala.com

  8. hollydearthe

    Mar 11, 2021 07:53

    Those manifest files are auto generated at compile time aren't they ? Doesn't seem like adding a line to the manifest files.

  9. freaksonly42

    Jan 08, 2021 18:40

    We're one of the premier suppliers of <a href="offshoreservers.net/offshore-streaming-servers/">offshoreservers.net/offshore-streaming-servers/</a>. Our servers comes with both managed and unmanaged.

  10. freaksonly42

    Jan 08, 2021 18:38

    We're one of the premier suppliers of offshoreservers.net/offshore-streaming-servers/. Our servers comes with both managed and unmanaged.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.