7
7

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

AndroidのGradleビルドでProguardのバージョンを指定する方法

Last updated at Posted at 2016-10-27

Proguardのバグはつらい

Androidの開発中にうっかり特定バージョンのProguardのバグを踏んでしまい、痛い目を見ることがあります
バグっている箇所の特定もつらいし、回避する方法を探すのにも一苦労です

そんな時は

以下のようにProguardのバージョンを指定してあげると幸せになれます

build.gradle
buildscript {
    configurations.all {
        resolutionStrategy {
            force 'net.sf.proguard:proguard-gradle:6.1.0beta2'
        }
    }
}

以上です。

7
7
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
7
7

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?