.NET for Android error XA0131
Issue
The 'run-as' tool has been disabled on this device by the Manufacturer. Fast Deployment requires 'run-as' in order to function.
Solution
Either enable it by activating the developer options on the device or by setting 'ro.boot.disable_runas' to 'false'.
If you are unable to activate the developer options you can disable Fast Deployment by setting EmbedAssembliesIntoApk = True
in your .csproj. Or turn off Fast Deployment
in the IDE.
You will still be able to debug on the device, all the required files will be packaged inside the .apk.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for