How do you create an .aar file in Android Studio for a Xamarin Binding?

TotemikaTotemika ESMember ✭✭

Hello, I'm super noob with Android and Android Studio.
I've created a very simple java class inside a library module. Then I build it and obtain the .aar file to create the binding.

The problem is that when I try to use the binding, the class is not there. What do you have to do for your code to be included in the .aar file?

The official documentation has these steps missing, they start with a .jar, I need to create the sample library in Android first and then bind it to c#.

Thank you in advance

Posts

  • CheesebaronCheesebaron DKInsider, University mod

    If your library has android-library in the build.gradle file, it should output an .aar file in build/outputs/aar.

Sign In or Register to comment.