-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
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
Android mono export with 2 or more cpu architectures fails #98064
Comments
The PR you mentioned (#88803) has not been backported to 4.3. Did you mean 4.4? It looks like you are exporting using Gradle builds. I'm unable to reproduce using the pre-built export template APK. |
Yes. I did mean 4.4. My bad. |
@raulsntos which would explain why you couldn't reproduce it. I had a typo. I meant to say 4.4. I do have a PR here that fixes it: #98064 |
No, I assumed you meant 4.4 and tested with a new build from commit 4c4e673. The issue is likely exclusive to Gradle builds, since non-Gradle builds don't care about these |
@raulsntos I updated my repro steps and mentioned you. Thanks for the clarification! :) |
Hey @akien-mga . Can we add this as a 4.4 release blocker? Otherwise it will break android + mono / c# devs. Which I presume is a lot of devs. I have a PR with a fix in here: #98066 But there is still discussion around whether they want to take the approach in that PR. I am personally fine. The fix is in our fork. But it will hurt a lot of other devs if 4.4 releases with this issue. |
Tested versions
4.4.dev [842f982]
System information
Linux Pop OS 22.04
Issue description
Note: I have a fix in my fork and will have a PR shortly.
Exporting an android mono build with 2 or more cpu architectures fails. This is due to libSystem.Security.Cryptography.Native.Android.jar being included twice in the export. 1 per cpu architecture. However, jars are cpu agnostic. Attempting to include 2 causes conflicts as Android attempts to load both. This was introduced in this PR here: #88803
Here is my error log:
Steps to reproduce
Minimal reproduction project (MRP)
N/A
The text was updated successfully, but these errors were encountered: