sqflite failed to read the directory in flutter

104

I managed to solve it by upgrading Gradle and kotlin

gradle upgrade

kotlin upgrade

Share:
104
arjava
Author by

arjava

Updated on December 26, 2022

Comments

  • arjava
    arjava over 1 year

    the error appears without any changes that I do:

    
    > * What went wrong:                                                      
    Execution failed for task ':app:processDebugResources'.                 
    > A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
       > Path '/Users/mac/Documents/projects/build/sqflite/intermediates/compiled_local_resources/debug/out' is not a readable directory.
    
    
    • Akif
      Akif over 3 years
      Can you share the app/build.gradle file?
    • arjava
      arjava over 3 years
      thank you for the response, take a look here pastebin.com/nn87FXnm
  • arjava
    arjava over 3 years
    I think this is a problem in its sqflite
  • arjava
    arjava over 3 years
    it turned out to be a gradle problem that needed updating, and I got it now done