See how to create an Android library using Android Studio, publish the library to a Maven repository on Bintray, and host the library in the public JCenter repository.
This is a companion discussion topic for the original entry at https://www.raywenderlich.com/185299/building-android-library-tutorial