arjava
arjava

Reputation: 1899

sqflite failed to read the directory in flutter

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.

Upvotes: 1

Views: 140

Answers (2)

arjava
arjava

Reputation: 1899

I managed to solve it by upgrading Gradle and kotlin

gradle upgrade

kotlin upgrade

Upvotes: 1

Akif
Akif

Reputation: 7640

You can try to add the following line into your app/build.gradle file.

 buildToolsVersion "29.0.2"

Look at the official document for more info.

Upvotes: 0

Related Questions