Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing parts in setup of .NET Maui development Environment #2636

Open
HobDev opened this issue Nov 17, 2024 · 0 comments
Open

Missing parts in setup of .NET Maui development Environment #2636

HobDev opened this issue Nov 17, 2024 · 0 comments
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

Comments

@HobDev
Copy link

HobDev commented Nov 17, 2024

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.

  1. 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.

  2. 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.

  3. 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

  • ID: 7607155a-9a56-d752-c5ac-c3aeb6b128bc
  • Service: dotnet-mobile
  • Sub-service: dotnet-maui

Related Issues

@dotnetrepoman dotnetrepoman bot added the ⌚ Not Triaged Not triaged label Nov 17, 2024
@issues-automation issues-automation bot added dotnet-maui/subsvc dotnet-mobile/svc Pri1 High priority, do before Pri2 and Pri3 labels Nov 17, 2024
@davidbritch davidbritch added vscode doc-bug Problem with the content; needs to be fixed [org] labels Dec 3, 2024
@dotnetrepoman dotnetrepoman bot removed the ⌚ Not Triaged Not triaged label Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

2 participants