You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Can remove MonoRuntimeProvider from some process? #8387
I found about three AndroidManifest.xml obj\Debug\net7.0-android\AndroidManifest.xml obj\Debug\net7.0-android\android\AndroidManifest.xml obj\Debug\net7.0-android\android\manifest\AndroidManifest.xml
Activity
dellis1972 commentedon Oct 2, 2023
You can probably user the
AndroidManifestOverlayas described here https://github.com/xamarin/xamarin-android/blob/41aaf3873f702d260eb20b354ffdbb8884c51984/Documentation/guides/building-apps/build-items.md?plain=1#L142.That said if your process is written using .net then it won't work without the
MonoRuntimeProviderColoryr commentedon Oct 2, 2023
No the
Is auto gen.
My AndroidManifest
final
AndroidManifestfind in\obj\Debug\net7.0-android\AndroidManifest.xmlcan remove
from final
AndroidManifest?dellis1972 commentedon Oct 2, 2023
I know it is auto generated. The
AndroidManifestOverlaycan help you remove items from the manifest before packaging.I recommend you read up on the
AndroidManifestOverlaylink https://github.com/xamarin/xamarin-android/blob/41aaf3873f702d260eb20b354ffdbb8884c51984/Documentation/guides/building-apps/build-items.md?plain=1#L142 and https://developer.android.com/build/manage-manifests#merge-manifestsColoryr commentedon Oct 2, 2023
Ok try remove it.
Coloryr commentedon Oct 2, 2023
It not work.
It can't match?
Coloryr commentedon Oct 2, 2023
Remove other thing is work, but remove
MonoRuntimeProvidernot work.Coloryr commentedon Oct 2, 2023
Error msg is empty.
dellis1972 commentedon Oct 2, 2023
try
See if that works.
Coloryr commentedon Oct 2, 2023
no work
Coloryr commentedon Oct 2, 2023
2 remaining items
dellis1972 commentedon Oct 3, 2023
You need to opt into the Manifest Merger. Its not on by default. Add the following to your
PropertyGroupYou can then user the following in
RemoveNode.xmlSee https://learn.microsoft.com/en-us/xamarin/android/deploy-test/building-apps/build-properties#androidmanifestmerger for more details.
Coloryr commentedon Oct 3, 2023
Ok try it
Coloryr commentedon Oct 3, 2023
No, it still can't remove
Coloryr commentedon Oct 3, 2023
dellis1972 commentedon Oct 3, 2023
I think the final manifest is in
\obj\Debug\net7.0-android\manifest\AndroidManifest.xmlThose changes worked for me here.
Coloryr commentedon Oct 3, 2023
Coloryr commentedon Oct 3, 2023
I found about three
AndroidManifest.xmlobj\Debug\net7.0-android\AndroidManifest.xmlobj\Debug\net7.0-android\android\AndroidManifest.xmlobj\Debug\net7.0-android\android\manifest\AndroidManifest.xmlwhat is the final
AndroidManifest.xml?Coloryr commentedon Oct 3, 2023
Oh it work,

mono's so not load int game process[Xamarin.Android.Build.Tasks] Make manifestmerger.jar the default.
[Xamarin.Android.Build.Tasks] Make manifestmerger.jar the default.
[Xamarin.Android.Build.Tasks] Make manifestmerger.jar the default. (#…
[Xamarin.Android.Build.Tasks] Make manifestmerger.jar the default. (#…
[Xamarin.Android.Build.Tasks] Make manifestmerger.jar the default. (#…