1. Set Optimize = false for Debug
otherwise I have
run-as: package not debuggable
If you have a large project and [INSTALL_FAILED_CONTAINER_ERROR]
2. Copy assemblies (dlls) to .__override__ if you need AndroidLinkMode = SdkOnly.
3. Alternatively to SdkOnly we may set AndroidUseAapt2 = true