Missing parts in setup of .NET Maui development Environment #2636
Labels
doc-bug
Problem with the content; needs to be fixed [org]
dotnet-maui/subsvc
dotnet-mobile/svc
Pri1
High priority, do before Pri2 and Pri3
vscode
Type of issue
Missing information
Description
I am setting up the .NET Maui development Environment on Mac following the documentation. There are several problems I faced while completing the setup.
I used the recommended approach to install Android SDK using the following command:
dotnet build -t:InstallAndroidDependencies -f:net9.0-android -p:AndroidSdkDirectory=Library/Android/sdk -p:JavaSdkDirectory=Library/Java/sdk -p:AcceptAndroidSDKLicenses=True
But this command can't be run outside the project. I am forced to run this command in the newly created project which result in the creation of the installation folders inside the project folder. To get the Android and Java skd's at system level i have to move the folders from the project to the system level. The command should allow to create the folders at the user preferred location/path.
I am confused about the Microsoft OpenJDK and JavaSdk. Are they same?. If they are same why instructions are given to install it twice once from the url and once from the command line.
The minimum versions of installed Android dependencies are pointing to the older versions. The latest cmdline tools are 12 and the platform is 35.
Page URL
https://learn.microsoft.com/en-us/dotnet/maui/get-started/installation?view=net-maui-9.0&tabs=visual-studio-code#using-the-installandroiddependencies-target
Content source URL
https://github.com/dotnet/docs-maui/blob/main/docs/get-started/installation.md
Document Version Independent Id
9a62d421-d009-30b3-843e-a92bfc21c061
Article author
@davidbritch
Metadata
Related Issues
The text was updated successfully, but these errors were encountered: