Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
11
Question by Jeryl · May 25, 2017 at 02:54 PM · androidunity 5build-errorsdkandroid-manifest

Error while saving blame file

Hey all. I updated an existing project from Unity 5.6.0 to 5.6.1 and a error I've never encountered appeared. I've looked around but couldn't find anything about it. The consol text mentions Tools and AndroidSDK so I made sure to update everything from Android Studio but the issue is not fixed. SDK & JDK are setup correctly. I still can't build (Nothing has changed except the update and the game has been working well for months). If anyone could give me pointers on how to fix this, it'd be awesome.

Here is the consol text that appears :

Error: Error while saving blame file, build will continue

Error: Le préfixe "tools" de l'attribut "tools:overrideLibrary" associé à un type d'élément "uses-sdk" n'est pas lié

UnityEditor.HostView:OnGUI()

(The french part is weird since my whole system is in English, but it means : Error: The "tools" prefix of the "Tools:overrideLibrary" associated with a type of element "uses-sdk" is not linked).

Then an other error appears, but I think it is related to the first :

 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, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)
 UnityEditor.Android.AndroidSDKTools.RunCommandSafe (System.String javaExe, System.String sdkToolsDir, System.String[] sdkToolCommand, Int32 memoryMB, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)
 UnityEditor.Android.AndroidSDKTools.RunCommand (System.String[] sdkToolCommand, Int32 memoryMB, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)
 UnityEditor.Android.AndroidSDKTools.RunCommand (System.String[] sdkToolCommand, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)
 UnityEditor.Android.AndroidSDKTools.RunCommand (System.String[] sdkToolCommand, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)
 UnityEditor.Android.AndroidSDKTools.MergeManifests (System.String target, System.String mainManifest, System.String[] libraryManifests, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit)
 UnityEditor.Android.PostProcessor.Tasks.GenerateManifest.MergeManifests (UnityEditor.Android.PostProcessor.PostProcessorContext context, System.String targetManifest, System.String mainManifest)
 UnityEditor.Android.PostProcessor.Tasks.GenerateManifest.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context)
 UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context)
 UnityEditor.HostView:OnGUI()

Thanks.

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Chikist · May 25, 2017 at 10:31 PM 0
Share

Have same problem: "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."

6 Replies

· Add your reply
  • Sort: 
avatar image
52
Best Answer

Answer by NEBR · Jun 27, 2017 at 07:43 AM

I added line xmlns:tools="http://schemas.android.com/tools" into android manifest file (under package line), it's fixed problem

Comment
Add comment · Show 15 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image barciu · Jun 29, 2017 at 04:32 PM 6
Share

It worked for me too. Android$$anonymous$$anifest.xml can be found in Assets/Plugins/Android. The corrected opening tag should look like this:

 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
     xmlns:tools="http://schemas.android.com/tools"
     package="com.unity3d.player"
     android:installLocation="preferExternal"
     android:versionCode="1"
     android:versionName="1.0">
avatar image PrisedRabbit · Jul 03, 2017 at 11:20 AM 0
Share

Thank you!

avatar image tsondhi2006 · Jul 06, 2017 at 07:44 AM 0
Share

Thanks a ton man......stuck in this problem for 3 weeks now..........finally solved

avatar image kukuhbasuki · Aug 17, 2017 at 04:53 PM 0
Share

Yeahhh! It works! Thanks!

avatar image thedarcsage kukuhbasuki · Sep 04, 2017 at 08:27 PM 0
Share

This worked for me as well - 2017.1 And with Vuforia

Thanks!!! :-)

avatar image myfinz · Dec 07, 2017 at 01:22 PM 1
Share

It worked perfectly man, Thank you so much, but what is the reason behind this error?

Show more comments
avatar image
1

Answer by Chikist · May 25, 2017 at 11:46 PM

Downgrading sdk-tools to v25.x helps to resolve this issue. https://github.com/googleads/googleads-mobile-unity/issues/423

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image PlanetVaster · Jun 02, 2017 at 07:33 PM 0
Share

Thanks this worked for me!

avatar image munity23 · Jun 24, 2018 at 12:34 AM 0
Share

@Chikist
I've tried adding the "xmlns:tools="http://schemas.android.com/tools"as said, now it builds the android apk both using Build alone and Build and Run options.


Another problem The screen (on my devices: I tested different android devices, same issue) is completely white. Not showing anything! except for the game name on the top,

I Appreciate anyone's help!

avatar image
0

Answer by ThorstenBux · May 31, 2017 at 12:02 AM

Yeah, but what if you want/need to use sdk-tools v25.x?

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image meat5000 ♦ · Dec 08, 2017 at 02:05 PM 0
Share

You probably have more than 1 manifest file. Find the other and eli$$anonymous$$ate it.

avatar image
0

Answer by ShowGames_Shoji · Jun 03, 2017 at 09:37 AM

I was on the same Error while saving blame file, but since AndroidManifest.xml was an error, I deleted AndroidManifest.xml of Assets / Plugins / Android, I could create an apk.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by $$anonymous$$ · Sep 27, 2017 at 04:21 AM

Thanks, add tools works for me!!!!

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
  • 1
  • 2
  • ›

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

185 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

AndroidManifest-main.xml merging error 6 Answers

Unable to merge Android manifests. (5.6.0p3) 2 Answers

Getting odd compiler error when I try to build my game to my Android phone. 0 Answers

Unity detect wrong androidSDK version 0 Answers

Android build problem 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges