


> dotnet tool install -g redth.net.MAUI.check
> maui-check

如果步驟後續無法建立,使用visual studio方法直接安裝在執行後續步驟

> "C:\Program Files (x86)\Android\android-sdk\emulator\emulator.EXE" -no-boot-anim -avd pixel_5_-_api_30 -prop monodroid.avdname=pixel_5_-_api_30



or 安裝插件
Setting

=>(設置成emulator位置)
ctrl+shift+p開啟command


dotnet build -t:Run -f net6.0-android


Reference:
.NET MAUI with .NET CLI (Command Line Interface)
Redth/dotnet-maui-check
歡迎大家來我的Blog看:
1.Blog: 文章連結