Uploaded March 2026 | Updated September 2026, 1 week ago
How to build a .NET MAUI project from the command line and deploy to the Android emulator.
-install dotnet:
winget install Microsoft.DotNet.SDK
install maui workload:
dotnet workload install maui
install maui-android workload:
dotnet workload install maui-android
install Microsoft Open JDK
winget install Microsoft.OpenJDK.17
Android SDK setup from command line:
youtu.be/RdA3Xx3VCPQ
Start emulator:
emulator -avd Pixel_7_API_36
Start emulator fresh boot if having issues loading:
emulator -avd Pixel_7_API_36 -no-snapshot-load
Check device attached/get name:
adb devices
Run command:
dotnet build -f net8.0-android -t:Run -p:_DeviceName=emulator-5554
How to build a .NET MAUI project from the command line and deploy to the Android emulator.
-install dotnet:
winget install Microsoft.DotNet.SDK
install maui workload:
dotnet workload install maui
install maui-android workload:
dotnet workload install maui-android
install Microsoft Open JDK
winget install Microsoft.OpenJDK.17
Android SDK setup from command line:
youtu.be/RdA3Xx3VCPQ
Start emulator:
emulator -avd Pixel_7_API_36
Start emulator fresh boot if having issues loading:
emulator -avd Pixel_7_API_36 -no-snapshot-load
Check device attached/get name:
adb devices
Run command:
dotnet build -f net8.0-android -t:Run -p:_DeviceName=emulator-5554










