'How to import unity-ads.aar or any .aar into Xamarin?

I am trying to use UnityAds in a Xamarin.

  1. Download the SDK from github.(unity-ads.aar)
  2. In the solution I create a new project of the type: Android Bindings Library (Xamarin)
  3. Add the "unity-ads.aar" file to the "Jars" directory.
  4. I access the properties of the "unity-ads.aar" file and select "Build Action" = "LibraryProjectZip".
  5. In the project of the same Solution, I access References and add the newly created one.

If you compiled individually or together the project that contains the .aar it returns many errors.

This is not enough? What am I forgetting?

enter image description here

Ref.:



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source