I’ve installed .NET 6 (version 6.0.100-rc.1.21458.32) and Visual Studio 2020 Preview (although it might be not a prerequisite). I am trying to debug a hello-world application but I am getting a build error regarding Java. I’ve installed Java 17 setting Path as well as pointing to the Java Development Kit Location in Visual Studio settings (tools->options->Xamarin->Android Settings). Because that didn’t
Tag: maui
Xamarin MAUI No Active Admin Security Exception (Kiosk mode app)
I’m trying to run an app on the android emulator with full kiosk mode. So I wrote a DeviceAdminReceiver: Here’s the MainActivity: And finally here’s the AndroidManifest.xml: > The problem is that this line in MainActivity throw this exception: I already have a device_admin.xml in resources/xml with a device-admin tag, does it need more configuration? Or is the issue else