If you want to download the material library and import it without using the gradle pyus13 method, you need to add the following lines to the MaterialDesign Build.gradle file:
buildscript { repositories { mavenCentral() jcenter() } dependencies { classpath 'com.github.dcendents:android-maven-plugin:1.2' classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.0' } }
To find this file, you can double-click on the error that occurs during synchronization, which looks like this:
Error:(2, 0) Plugin with id 'com.github.dcendents.android-maven' not found.
I also had to add compile project(':MaterialDesign') to the build.gradle file of the application.
source share