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

前端 未结 11 1290
你的背包
你的背包 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:40

    You can run this command in your project directory. Basically it just cleans the build and gradle.

       cd android && rm -R .gradle && cd app && rm -R build
    

    In my case, I was using react-native using this as a script in package.json

    "scripts": { "clean-android": "cd android && rm -R .gradle && cd app && rm -R build" }
    

提交回复
热议问题