[C# Xamarin] How can I install Android library

반석 정 1 Reputation point
2022-03-18T06:27:04.96+00:00

I'm C# Xamarin beginner.

I wonder about Android library.
And, how can I install Android library?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,299 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.
10,363 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. JarvanZhang 23,951 Reputation points
    2022-03-21T03:01:04.973+00:00

    Hello,​

    Xamarin.Android doesn't support to use native library directly. To do this, try creating a binding library and add the library file to your project. For more details, you could refer to the following docs:
    https://learn.microsoft.com/en-us/xamarin/android/platform/binding-java-library/
    https://learn.microsoft.com/en-us/xamarin/android/platform/binding-java-library/binding-an-aar

    Best Regards,

    Jarvan Zhang


    If the response is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments