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