Created
December 9, 2014 03:46
-
-
Save himattm/e6e324aa7b81bcffee01 to your computer and use it in GitHub Desktop.
Fix: Gradle DSL method not found: 'runProguard()'
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply plugin: 'com.android.application' | |
android { | |
compileSdkVersion 21 | |
buildToolsVersion "21.1.1" | |
defaultConfig { | |
applicationId "com.example.app" | |
minSdkVersion 16 | |
targetSdkVersion 21 | |
versionCode 1 | |
versionName "1.0" | |
} | |
buildTypes { | |
release { | |
// OLD - this line has to be changed, it was replaced with the below | |
// runProguard false | |
// New | |
minifyEnabled false | |
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | |
} | |
} | |
} | |
dependencies { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment