playMaker

Author Topic: build error [SOLVED]  (Read 123 times)

Carmichael

  • Full Member
  • ***
  • Posts: 220
    • View Profile
build error [SOLVED]
« 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
« Last Edit: November 09, 2017, 04:22:55 PM by djaydino »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 2256
    • View Profile
    • jinxtergames
Re: build error
« Reply #1 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.

Carmichael

  • Full Member
  • ***
  • Posts: 220
    • View Profile
Re: build error
« Reply #2 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?

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 2256
    • View Profile
    • jinxtergames
Re: build error
« Reply #3 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.

Carmichael

  • Full Member
  • ***
  • Posts: 220
    • View Profile
Re: build error
« Reply #4 on: November 08, 2017, 12:48:38 PM »
hi djaydino i just pmd you my test project,

thanks for your help

Carmichael

  • Full Member
  • ***
  • Posts: 220
    • View Profile
Re: build error
« Reply #5 on: November 08, 2017, 04:47:46 PM »
bump djaydino, just want to know if you got the file.

thanks

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 2256
    • View Profile
    • jinxtergames
Re: build error
« Reply #6 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.


Carmichael

  • Full Member
  • ***
  • Posts: 220
    • View Profile
Re: build error
« Reply #7 on: November 09, 2017, 03:45:24 PM »
thank you so much djaydino!! it worked! you are truly amazing

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 2256
    • View Profile
    • jinxtergames
Re: build error
« Reply #8 on: November 09, 2017, 04:22:41 PM »
 8)

Thanks, Happy to help :D