Share via

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?

Developer technologies | .NET | .NET Multi-platform App UI
Developer technologies | C#
Developer technologies | 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.


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.

    Was this answer helpful?


Your answer

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