【问题标题】:sqflite failed to read the directory in fluttersqflite 无法读取flutter中的目录
【发布时间】:2020-12-14 14:49:17
【问题描述】:

错误出现,我没有做任何更改:


> * 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.

【问题讨论】:

标签: flutter android-gradle-plugin sqflite


【解决方案1】:

我通过升级 Gradle 和 kotlin 设法解决了这个问题

【讨论】:

    【解决方案2】:

    您可以尝试将以下行添加到您的app/build.gradle 文件中。

     buildToolsVersion "29.0.2"
    

    查看official document 了解更多信息。

    【讨论】:

    • 我认为这是它的 sqflite 的问题
    • 原来是gradle问题需要更新,我现在搞定了
    猜你喜欢
    • 2022-09-27
    • 2021-12-28
    • 1970-01-01
    • 2016-07-06
    • 2013-05-17
    • 1970-01-01
    • 1970-01-01
    • 2021-12-17
    • 1970-01-01
    相关资源
    最近更新 更多