-2

https://github.com/keithellistemp/MaterialWidget

i need this layout to my project but there are no dependency and import option in this git

  • possible duplicate of [How to add a Library Project to a android project?](http://stackoverflow.com/questions/8248196/how-to-add-a-library-project-to-a-android-project) – Soham Jul 20 '15 at 14:22

2 Answers2

1

You can download it in a zip format and then add it in your libs folder in the application.

devloperuser
  • 33
  • 1
  • 7
  • Error:(28, 0) Gradle DSL method not found: 'runProguard()' Possible causes: The project 'MaterialWidget' may be using a version of Gradle that does not contain the method. – Shanmukha Ram Kumar Jul 20 '15 at 13:06
  • If you are using version 0.14.0 or higher of the gradle plugin, you should replace "runProguard" with "minifyEnabled" in your build.gradle files. runProguard was renamed to minifyEnabled in version 0.14.0. For more info,[link](http://tools.android.com/tech-docs/new-build-system) – devloperuser Jul 20 '15 at 13:08
  • Using 'minifyEnabled' instead of 'runProguard' works properly. – devloperuser Jul 20 '15 at 13:09
  • buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt' } } – devloperuser Jul 20 '15 at 13:10
  • minifyEnabled true is the thing i should do – Shanmukha Ram Kumar Jul 20 '15 at 13:15
0

Either through Gradle, or pull the source yourself and copy it to your project.

Vaiden
  • 15,728
  • 7
  • 61
  • 91
  • Error:(28, 0) Gradle DSL method not found: 'runProguard()' Possible causes:The project 'MaterialWidget' may be using a version of Gradle that does not contain the method. – Shanmukha Ram Kumar Jul 20 '15 at 13:07
  • This is a different issue altogether: http://stackoverflow.com/questions/27078075/gradle-dsl-method-not-found-runproguard – Vaiden Jul 20 '15 at 13:11