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. alexsen07

    May 17, 2024 13:41

    hi

  2. lamkranipaltani

    Aug 19, 2023 07:15

    Your website has truly impressed me. It offers the exact content I'm looking for, ensuring my daily visits. Feel free to explore my website through this link if you're interested animashmodapk.com.

  3. apkking

    Jan 26, 2023 12:14

    APK KING RU.COM

  4. sebt955

    Jan 16, 2023 12:51

    Unity has been reported to have issues merging Android manifests when using SDK Tools version 26.0.2. They recommend using SDK Tools version 25.2.5 instead.

  5. hassan007rao

    Dec 11, 2022 15:47

    forucrack.com
    this is a amazing.

  6. hassan007rao

    Dec 11, 2022 15:46

    this is great stuff

  7. sarahaly

    Nov 06, 2022 13:12

    shorturl.at/qAEFX

  8. sarahaly

    Nov 05, 2022 22:05

    enter the world of modified gaming

  9. emmairisofficial

    Oct 01, 2022 11:24

    The BroadApk website includes apps, games, and platforms. The goal of our site is to provide you with only the most interesting and enjoyable content. Our priority is providing you with the latest and most reliable Apk Games, Apps, and Game Versions.

  10. faxek87716

    Jul 16, 2022 20:49

    mymoddedapk.com

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.