Could not determine the dependencies of task ':app:crashlyticsStoreDeobsDebug' if I enable the proguard

前端 未结 11 1451
你的背包
你的背包 2021-02-01 01:11

I get following error when I was running an app within Android Studio 2.

Gradle tasks [:app:assembleDebug]
Could not determine the dependencies of task \':app:cr         


        
11条回答
  •  没有蜡笔的小新
    2021-02-01 01:52

    I was encountering the same issue. In my App build.gradle I had

    apply plugin: 'com.android.application'
    apply plugin: 'dexguard'
    apply plugin: 'io.fabric'
    

    I just switched Dexguard and Fabric, then it worked!

    apply plugin: 'com.android.application'
    apply plugin: 'io.fabric'
    apply plugin: 'dexguard'
    

提交回复
热议问题