flutter 无法写入文件ink_sparkle.frag

hmtdttj4  于 2023-05-30  发布在  Flutter
关注(0)|答案(1)|浏览(394)

无法将文件写入C:\Users\vicsw\Desktop\sa\assd\移动的app\user app\assd_user_flutter\build\app\intermediates\flutter\debug\flutter_assets\shaders/ink_sparkle.frag

buildscript {
    ext.kotlin_version = '1.7.20'
    repositories {
        google()
        mavenCentral()
    }

    dependencies {
        classpath 'com.android.tools.build:gradle:7.1.2'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
        classpath 'com.google.gms:google-services:4.3.5'
    }
}

allprojects {
    repositories {
        google()
        mavenCentral()

    }
}

rootProject.buildDir = '../build'
subprojects {
    project.buildDir = "${rootProject.buildDir}/${project.name}"
    project.evaluationDependsOn(':app')
}

task clean(type: Delete) {
    delete rootProject.buildDir
}
t8e9dugd

t8e9dugd1#

当您无法在Flutter SDK所在的文件夹中写入时会发生此错误。在Flutter项目中安装新包时,Flutter无法保存下载的包,可能会发生此错误。或者在其他写入情况下。查看解决方案:
您可能已禁用未经授权的更改以保护文件夹免受勒索软件的攻击。要允许它,请转到Windows安全=>病毒和威胁防护=>管理设置=>受控文件夹访问=>关闭受控文件夹访问。

相关问题