LoginSignup
21
21

More than 5 years have passed since last update.

Android Studio を1.0にあげたら Gradle DSL method not found: 'runProguard()' エラー

Posted at

Android Studio を1.0にあげて Gradle DSL method not found: 'runProguard()' エラーがでたら

あなたのプロジェクトの build.gradle ファイルを以下のように変更する

}
release {
-    runProguard true
+    minifyEnabled true
    proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'

参考:http://tools.android.com/tech-docs/new-build-system/migrating-to-1-0-0

21
21
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
21
21