-
Notifications
You must be signed in to change notification settings - Fork 533
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
Split up assembly store files in app bundles per architecture #5249
Comments
Two solutions have been suggested so far:
|
Not immediately seeing a good way to do this, filed: google/bundletool#190 |
The latest comment is we would be able to do something like:
Only the We should consider placing .NET assemblies in |
@jonathanpeppers I think this issue is now irrelevant since |
@AmrAlSayed0 this issue is relevant because App Bundles are required soon. These files are both in the
They are architecture specific, and they are installed on all devices. An x86 device, wouldn't need the other file. So far the only suggestion we have from Google: google/bundletool#190 (comment) ...is to rename assemblies to
This would mean they would hopefully be able to be split up by I'm not sure when we'll get around to looking into this. |
We've just had an idea of how to implement this. I'm going to put it here so that we don't forget. The idea is to produce a stub, valid, shared library ( The only question is whether there's any verification of the |
Edited subject to better represent the current state of the world, in which Assembly Stores are used by default in Release builds (c927026) |
This is moot as of #8478 (and others): there is no longer an |
In .NET 6, we will have architecture-specific
.dll
files such as:Right now
bundletool
has no idea that these files are architecture specific, and need to be split up. Android doesn't know what a.dll
file is.We need to see if there is a way to do this, offhand I can't find an example. Perhaps we can put the
.dll
files in a different path in thebase.zip
file?There could potentially be runtime changes for this as well, as we will have assemblies in multiple
.apk
files when installed on device.The text was updated successfully, but these errors were encountered: