什么是CircularReveal效果库的Proguard规则

时间:2017-06-16 07:49:41

标签: android android-studio proguard

我正在使用以下库 的 https://github.com/ozodrukh/CircularReveal 我想知道我需要在Proguard中使用什么规则。 我像这样声明了依赖

compile('com.github.ozodrukh:CircularReveal:2.0.1@aar') { transitive = true; }

但我收到以下错误

Error:Execution failed for task ':app:transformClassesAndResourcesWithProguardForUAT'.
> Job failed, see logs for details

我的build.gradle

buildTypes {

        debug {
            minifyEnabled false
            useProguard false
            shrinkResources false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
            applicationIdSuffix ".debug"
            versionNameSuffix ".Debug"
            lintOptions {
                disable 'MissingTranslation'
            }
            signingConfig signingConfigs.debug
        }
    }

    compileOptions {
        sourceCompatibility 1.8
        targetCompatibility 1.8
    }

}

dependencies {

    compile fileTree(include: ['*.jar'], dir: 'libs')
    // android support libraries
    compile "com.android.support:appcompat-v7:${supportLibVersion}"
    compile "com.android.support:design:${supportLibVersion}"
    compile "com.android.support:cardview-v7:${supportLibVersion}"
    compile "com.android.support:support-v4:${supportLibVersion}"
    compile "com.android.support:recyclerview-v7:${supportLibVersion}"
}

0 个答案:

没有答案