Hey – this is another one, short post about Xamarin Android Bindings Library 🙂

Sometimes you need to bind library but you can’t find .aar/.jar – in this post I will show you how to get library and required dependencies really fast.

Step one – Android Studio

Install Android Studio (you have probably done that before, haven’t you?) and create new empty Android project.

Step two – add dependency you want to bind

I am almost sure that library you want to bind is available on gradle (NuGet in Java world). Most of libraries have its gradle-name written in documentation/github.

In my case it is:


Edit build.gradle file as follows:

Screen Shot 2018-04-03 at 21.46.14.png

Screen Shot 2018-04-03 at 21.46.20.png

Step three – build and copy your library 🙂

When you add required dependency to gradle just build project. During build process gradle task will download all required dependencies.

Now you are done – just check  ~/.gradle/caches/modules-2/files-2.1 folder on your Mac OSX.

There are all required dependencies right there (even transitive ones). Make sure you check .pom file as well – you will have to add project dependencies to bindings project as well.Screen Shot 2018-04-03 at 21.45.47.png


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s