Replies: 7 comments 5 replies
-
In .net6.0, there is a new project template Android Java Library Binding (android-bindinglib), you can use it to create your binding library. However, the binding library of xamarin can also be used in maui, so I think maybe you encountered a problem when creating the binding library. |
Beta Was this translation helpful? Give feedback.
-
I don't have the buildaction LibraryProjectZip when trying to create a binding for an .aar file in VS2022 Preview |
Beta Was this translation helpful? Give feedback.
-
In Visual Studio 2022 preview, create an Then click the aar file and change the build action to Here is my project: https://github.com/yushulx/barcode-dotnet-mobile/tree/main/android |
Beta Was this translation helpful? Give feedback.
-
i',m trying to Binding an .arr file by following above mentioned steps. getting these kind of errors, can some one help ? Severity Code Description Project File Line Suppression State |
Beta Was this translation helpful? Give feedback.
-
If you learn Kotlin and Swift you will finish your app before the binding is fixed, if it ever gets fixed. |
Beta Was this translation helpful? Give feedback.
-
I don't know how to bind an aar, can you help me? |
Beta Was this translation helpful? Give feedback.
-
Thank you for your letter, I will reply as soon as possible
|
Beta Was this translation helpful? Give feedback.
-
I tried to adapt the approach from https://docs.microsoft.com/en-us/xamarin/android/platform/binding-java-library/binding-an-aar into my MAUI project.
But I have not succeeded so far. I cannot reference the binding project into the main project.
Any suggestion on how can I use native library in MAUI project?
Beta Was this translation helpful? Give feedback.
All reactions