add moven dependency as gradle dependency android code example Example: android maven dependency maven { url 'repo1.maven.org/maven2'; }