因此,长时间使用Flutter甚至在Playstore上发布了2个应用程序。但是今天突然之间,我创建的任何新项目都没有运行。我的Old Flutter项目运行正常。
注意:这不是完整的调试错误语句,因为StackOverFlow 不允许我上传这么大的代码。
以调试模式在RMX1801上启动lib / main.dart ... 初始化gradle ... 1.5秒 解决依赖性... *运行Gradle时出错: ProcessException:进程“ C:\ Users \ Dell \ web_view \ android \ gradlew.bat”异常退出:
> Task :app:properties
------------------------------------------------------------
Project :app
------------------------------------------------------------
INTERNAL__CHECKED_MINIMUM_PLUGIN_VERSIONS: true
allprojects: [project ':app']
android: com.android.build.gradle.internal.dsl.BaseAppModuleExtension_Decorated@23363210
androidDependencies: task ':app:androidDependencies'
ant: org.gradle.api.internal.project.DefaultAntBuilder@13a59041
antBuilderFactory: org.gradle.api.internal.project.DefaultAntBuilderFactory@6449f3cd
archivesBaseName: app
artifacts: org.gradle.api.internal.artifacts.dsl.DefaultArtifactHandler_Decorated@74959c06
asDynamicObject: DynamicObject for project ':app'
assemble: task ':app:assemble'
assembleAndroidTest: task ':app:assembleAndroidTest'
assembleDebug: task ':app:assembleDebug'
assembleDebugAndroidTest: task ':app:assembleDebugAndroidTest'
assembleDebugUnitTest: task ':app:assembleDebugUnitTest'
assembleProfile: task ':app:assembleProfile'
assembleProfileUnitTest: task ':app:assembleProfileUnitTest'
assembleRelease: task ':app:assembleRelease'
assembleReleaseUnitTest: task ':app:assembleReleaseUnitTest'
baseClassLoaderScope: org.gradle.api.internal.initialization.DefaultClassLoaderScope@66218636
buildDebugPreBundle: task ':app:buildDebugPreBundle'
buildDir: C:\Users\Dell\web_view\build\app
buildFile: C:\Users\Dell\web_view\android\app\build.gradle
buildOutputs: BaseVariantOutput container
buildPath: :
buildProfilePreBundle: task ':app:buildProfilePreBundle'
buildReleasePreBundle: task ':app:buildReleasePreBundle'
buildScriptSource: org.gradle.groovy.scripts.TextResourceScriptSource@59b9352b
buildscript: org.gradle.api.internal.initialization.DefaultScriptHandler@7245624a
bundle: task ':app:bundle'
bundleDebug: task ':app:bundleDebug'
bundleDebugAndroidTestResources: task ':app:bundleDebugAndroidTestResources'
':app:transformNativeLibsWithMergeJniLibsForDebugAndroidTest'
transformNativeLibsWithMergeJniLibsForProfile: task ':app:transformNativeLibsWithMergeJniLibsForProfile'
transformNativeLibsWithMergeJniLibsForRelease: task ':app:transformNativeLibsWithMergeJniLibsForRelease'
transformNativeLibsWithStripDebugSymbolForDebug: task ':app:transformNativeLibsWithStripDebugSymbolForDebug'
transformNativeLibsWithStripDebugSymbolForProfile: task ':app:transformNativeLibsWithStripDebugSymbolForProfile'
transformNativeLibsWithStripDebugSymbolForRelease: task ':app:transformNativeLibsWithStripDebugSymbolForRelease'
transformResourcesWithMergeJavaResForDebug: task ':app:transformResourcesWithMergeJavaResForDebug'
transformResourcesWithMergeJavaResForDebugAndroidTest: task ':app:transformResourcesWithMergeJavaResForDebugAndroidTest'transformResourcesWithMergeJavaResForDebugUnitTest: task ':app:transformResourcesWithMergeJavaResForDebugUnitTest'
transformResourcesWithMergeJavaResForProfile: task ':app:transformResourcesWithMergeJavaResForProfile'
transformResourcesWithMergeJavaResForProfileUnitTest: task ':app:transformResourcesWithMergeJavaResForProfileUnitTest'
transformResourcesWithMergeJavaResForRelease: task ':app:transformResourcesWithMergeJavaResForRelease'
transformResourcesWithMergeJavaResForReleaseUnitTest: task ':app:transformResourcesWithMergeJavaResForReleaseUnitTest'
uninstallAll: task ':app:uninstallAll'
uninstallDebug: task ':app:uninstallDebug'
uninstallDebugAndroidTest: task ':app:uninstallDebugAndroidTest'
uninstallProfile: task ':app:uninstallProfile'
uninstallRelease: task ':app:uninstallRelease'
validateSigningDebug: task ':app:validateSigningDebug'
validateSigningDebugAndroidTest: task ':app:validateSigningDebugAndroidTest'
validateSigningProfile: task ':app:validateSigningProfile'
validateSigningRelease: task ':app:validateSigningRelease'
version: unspecified
writeDebugApplicationId: task ':app:writeDebugApplicationId'
writeProfileApplicationId: task ':app:writeProfileApplicationId'
writeReleaseApplicationId: task ':app:writeReleaseApplicationId'
1 actionable task: 1 executed
FAILURE: Build failed with an exception.
* What went wrong:
Could not update C:\Users\Dell\.gradle\caches\4.10.2\file-changes\last-build.bin
> C:\Users\Dell\.gradle\caches\4.10.2\file-changes\last-build.bin (Access is denied)
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with
--scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 5s
Command: C:\Users\Dell\web_view\android\gradlew.bat app:properties
Please review your Gradle project setup in the android/ folder.