Deprecated; see https://aka.ms/dotnet-discord, and please use use #android on the DotNetEvolution Discord
User assembly '/home/kingwill101/Documents/git/xamarin-android/external/LibZipSharp/bin/$(OS)/Debug/libZipSharp.dll' is missing. Debugger will now debug all code, not just user code.
$(OS)
variable seems a bit off because there is a directory there called Unix
. how can i find what the $(OS)
variable is printing
Could not find support file '/home/kingwill101/Documents/git/xamarin-android/external/Java.Interop/bin/Debug/Xamarin.Android.Tools.Bytecode.dll'.
Could not find support file '/home/kingwill101/Documents/git/xamarin-android/external/Java.Interop/bin/Debug/Xamarin.Android.Tools.Bytecode.dll.mdb'.
Could not obtain a C# compiler. C# compiler not found for Mono / .NET 4.5.
Build: 2 errors, 6 warnings
Context
in order to find where the app is located, and Android doesn't provide any mechanism to obtain the Application context from static
methods
ContentProvider
: https://github.com/xamarin/java.interop/blob/master/src/Java.Interop.Tools.JavaCallableWrappers/Resources/MonoRuntimeProvider.Bundled.java
ContentProvider
won't be used, and things break, as you see
android.app.Context
android.app.Context
doesn't provide any ways to access a "global instance"