IntarBV / dotnet-maui-android

Docker container for MAUI Android builds
Other
7 stars 3 forks source link

AVD configuration missing #2

Open stevefan1999-personal opened 1 week ago

stevefan1999-personal commented 1 week ago

I was looking to download the AVD images but I couldn't find the system-images. sdkmanager --list doesn't even show that so I'm confused on how to make a AVD VM.

I would be running the AVD VM inside another VNC/X11 remote session so I can have fully remote development environment on the fly. The VM would be running in Kubernetes so it is also a problem on how to store those image as a cache. It seems like DevPod would mount the persistent volume to /workspaces/<project name>, so AVD would also have to download and cache the image and the VM files over there.

Ghostbird commented 1 week ago

The AVD configuration is not missing, it's purposefully not there. As the description says, this repo is just for containerised builds. It designed primarily for CI / CD pipelines.

However, it should be easy to create your own Dockerfile and add an AVD on top of this image.

I've checked, and indeed, the system-images are not available in the SDK manager. If you're going to look into that, I saw that some people talk about a configuration file that configures which sources are available to the SDK Manager. However, on StackOverflow I only saw people show examples from Android Studio. I suspect the underlying file is not Android Studio specific.