How to create Android Java Library Binding project in Visual Studio 2022

Ömer Faruk Arslan 0 Reputation points
2024-01-15T12:00:00.62+00:00

User's image I am trying to create an Android Java Library Binding project, but it's not listed in project templates. I have Visual Studio 2022 17.8.0 and .NET MAUI development installed. I am following this documentation: https://learn.microsoft.com/en-us/dotnet/maui/migration/android-binding-projects?view=net-maui-8.0#embedded-jaraar-files User's image

I also downloaded .net 8. User's image

How can I create Android Java Library Binding project?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,902 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,280 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Ömer Faruk Arslan 0 Reputation points
    2024-01-24T05:41:52.6666667+00:00

    I tested in 17.8.4 but it's still not available. I think there is a bug. But I found the solution. "dotnet workload install maui" this command is doing the job. The maui and all .net android templates downloaded after I run that command.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.