Forum Xamarin.Forms

Announcement:

The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

How can we use .aar files in xamarin.forms Android project?

Dilipkumar.7949Dilipkumar.7949 USMember ✭✭
edited January 2019 in Xamarin.Forms

I want to use .aar files in xamarin.forms android project. I tried with Binding Library, but unable to access classes from .aar file. Can any one suggest me how to do that?
Thanks in Advance.

Posts

  • ClintStLaurentClintStLaurent USUniversity ✭✭✭✭✭

    Are you trying to access the aar directly?
    Because you're supposed to build the binding library, then use the C# that is generated from that.
    In other words, once you build the binding lib, you should then be able to access the namespaces from the library.

    I want to use .aar files in xamarin.forms android project.

    Yah... No. You make a binding library project. It is its own project within you solution.

    Probably best to read the documentation on Xamarin Binding Library

  • Dilipkumar.7949Dilipkumar.7949 USMember ✭✭

    I tried with Binding Library. But unable to access classes.

  • Dilipkumar.7949Dilipkumar.7949 USMember ✭✭

    Which Android parser i need to choose(jar2xml or class-parse) in properties while create Dll?

Sign In or Register to comment.