Playmaker Forum

Playmaker Help & Tips => Playmaker Help => Topic started by: Carmichael on November 07, 2017, 02:43:07 PM

Title: build error [SOLVED]
Post by: Carmichael on November 07, 2017, 02:43:07 PM
does anyone get this errors when they build? it's a merge manifest error and some other weird errors, i currently cant build my project and the only 3rd party asset i have is stans asset (android native plugin), i already emailed them but was hoping someone here could chip in some good solutions
Title: Re: build error
Post by: djaydino on November 08, 2017, 01:42:58 AM
Hi,
You will need to check your manifest files ( there are probably 2 or 3, can be more)
Search for AndroidManifest in your project folder.

in those files you will have 1 or more of the same elements (@android:name=...)
but with different settings, make sure the settings are the same and only called on 1 AndroidManifest.

If you google : commandinvokationfailure : unable to merge android manifests

You will find some unity answers that solves the issue, it can be that you targetSdkVersion differs or some other settings are different.
Title: Re: build error
Post by: Carmichael on November 08, 2017, 11:47:42 AM
i have about 4 manifest files, 2 xml's and 2 txt's, but i've tired editing the min sdk and i've also googled it, i really need help as i've delayed my project for almost a week.

what settings are you talking about?
Title: Re: build error
Post by: djaydino on November 08, 2017, 12:41:16 PM
Hi,
Can you show the text from that files, or share them so i can check them out.

The  targetSdkVersion was only a sample of what could be wrong, there are other things that could be wrong also.
Title: Re: build error
Post by: Carmichael on November 08, 2017, 12:48:38 PM
hi djaydino i just pmd you my test project,

thanks for your help
Title: Re: build error
Post by: Carmichael on November 08, 2017, 04:47:46 PM
bump djaydino, just want to know if you got the file.

thanks
Title: Re: build error
Post by: djaydino on November 09, 2017, 04:13:14 AM
Hi,
Yes i did and i think the issue is that your sdk is not updated.
i did get the error also, and i updated the sdkmanager to include 8.0.0 and the latest 8.1.0
Then i did not get the error anymore.
I could not fully build as in needed the build identifier, but i think it should work @ your end.

Here is a picture of the sdk manager.

(https://i.imgur.com/rRWyz8d.png)
Title: Re: build error
Post by: Carmichael on November 09, 2017, 03:45:24 PM
thank you so much djaydino!! it worked! you are truly amazing
Title: Re: build error
Post by: djaydino on November 09, 2017, 04:22:41 PM
 8)

Thanks, Happy to help :D