Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bolts-android-1.4.0.jar causes Unity 5.5 gradle build to fail #46

Closed
tallior opened this issue Nov 26, 2016 · 5 comments
Closed

bolts-android-1.4.0.jar causes Unity 5.5 gradle build to fail #46

tallior opened this issue Nov 26, 2016 · 5 comments

Comments

@tallior
Copy link

tallior commented Nov 26, 2016

The included bolts android library contains an AndroidManifest.xml as well as no code inside (not sure this is what its meant to include):
image

When trying to build a game that includes the FB SDK with Unity 5.5f1 (using gradle), the build fails due to an error (AndroidManifest.xml already exists).

Looking at the Bolts repository, i see they have 2 artifacts (tasks and applinks). I am not even sure this .jar is needed at all.

@PimDeWitte
Copy link

+1

@tallior
Copy link
Author

tallior commented Nov 30, 2016

any updates?

@tallior
Copy link
Author

tallior commented Nov 30, 2016

Also reported as a Facebook bug: https://developers.facebook.com/bugs/1354325697931975/

@tallior
Copy link
Author

tallior commented Nov 30, 2016

Sorry, the issue is that AndroidManifest.xml is contained twice in the .jar:

No, AndroidManifest.xml is included twice inside the JAR in the repro project attached to this issue (GradleJAR.zip)

unzip -l bolts-android-1.4.0.jar

Archive: bolts-android-1.4.0.jar
Length Date Time Name


  334  01-15-16 15:37   AndroidManifest.xml
  836  01-15-16 15:37   classes.jar
    0  01-15-16 15:37   aapt/
  334  01-15-16 15:37   aapt/AndroidManifest.xml
    0  01-15-16 15:37   assets/
    0  01-15-16 15:37   aidl/
    0  01-15-16 15:37   res/

@swiese
Copy link
Contributor

swiese commented Dec 1, 2016

@swiese swiese closed this as completed Dec 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants