add google repository to gradle code example Example: android maven dependency maven { url 'repo1.maven.org/maven2'; }