Check out example codes for "android maven dependency". It will help you in understanding the concepts better.

Code Example 1

maven { 
            url 'repo1.maven.org/maven2'; 
        }

Learn ReactJs, React Native from akashmittal.com