-
Notifications
You must be signed in to change notification settings - Fork 352
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
[Bug] gradle modifications not compatible with gradle version latest Unity uses #715
Comments
This issue does not seem to follow the issue template. Make sure you provide all the required information. |
Hey @idamaeng, thanks for reaching out. It seems that the latest EDM4U unity-jar-resolver/source/AndroidResolver/src/PlayServicesResolver.cs Lines 2354 to 2356 in 3e97c8d
I wonder if it's being overwritten somewhere else. I tried using any Firebase products from the Firebase Unity Quickstart to test this but so far I'm getting the expected output. mainTemplate.gradle // Android Resolver Exclusions Start
android {
packagingOptions {
exclude ('/lib/arm64-v8a/*' + '*')
exclude ('/lib/armeabi/*' + '*')
exclude ('/lib/mips/*' + '*')
exclude ('/lib/mips64/*' + '*')
exclude ('/lib/x86/*' + '*')
exclude ('/lib/x86_64/*' + '*')
} In this case, could you provide me a minimal reproducible example. Or perhaps steps how you were able to reproduce this behavior so I can investigate this further? Thanks a bunch! |
Hey @idamaeng. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically. If you have more information that will help us get to the bottom of this, just add a comment! |
@argzdev I think the problem is opposite
It seem unity 6 was telling that |
[REQUIRED] Please fill in the following fields:
[REQUIRED] Please describe the issue here:
EDM4U adds following information to mainTemplate.gradle:
// Android Resolver Exclusions Start android { packaging { exclude ('/lib/armeabi/*' + '*') exclude ('/lib/mips/*' + '*') exclude ('/lib/mips64/*' + '*') exclude ('/lib/x86/*' + '*') exclude ('/lib/x86_64/*' + '*') } } // Android Resolver Exclusions End
This is not compatible with the gradle version Untiy is using. When triggering the build process Unity is complaining about this and converts this the snippet above to:
// Android Resolver Exclusions Start android { packagingOptions { exclude ('/lib/armeabi/*' + '*') exclude ('/lib/mips/*' + '*') exclude ('/lib/mips64/*' + '*') exclude ('/lib/x86/*' + '*') exclude ('/lib/x86_64/*' + '*') } } // Android Resolver Exclusions End
Which always creates a mainTemplate.gradle.backup files cluttering my project. Please adjust the plugin to use packagingOptions instead of packaging.
Thank you
The text was updated successfully, but these errors were encountered: