Error:Execution failed for task ':app:packageDebug'. > !zip.isFile()

后端 未结 12 1287
粉色の甜心
粉色の甜心 2021-02-04 02:15

@UPDATE

Thank you very much. Now at least there are no errors. But it\'s still a far cry from how it worked before - how it should work. Now, the databa

相关标签:
12条回答
  • 2021-02-04 02:17

    In my case, I clicked the rebuild icon (its guide: "sync project with gradle file") and it solved the problem

    0 讨论(0)
  • 2021-02-04 02:18

    Right click on root of the project ex:app select>>Show in Explorer and delete .gradle file and click on the clean OR Built option it will work 100%.

    0 讨论(0)
  • 2021-02-04 02:24

    According to this, try to use the new version of gradle : 2.3.0

    This issue has been fixed in ag/I6a6ef1a95732118b8e330b64fe4389710a3a2657. Please use newer gradle plugin 2.3.0-beta2 or, if using 2.2.x, disable new packaging by using the "android.useOldPackaging=true" flag.

    0 讨论(0)
  • 2021-02-04 02:27

    Its very simple just run ./gradlew clean

    If you are using Cordova or Ionic Framework run following commands

    cd platforms/android
    ./gradlew clean
    

    Its easy fix.

    0 讨论(0)
  • 2021-02-04 02:28

    Just disable Instant Run:

    Android Studio -> Preferences -> Instant Run
    
    0 讨论(0)
  • 2021-02-04 02:28

    Move this line to the BOTTOM of your module:app build.gradle:

    apply plugin: 'com.google.gms.google-services'
    

    Example in the Setup Guide.

    0 讨论(0)
提交回复
热议问题