Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/205.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/amazon-web-services/13.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android 下载工件时java.io.FileNotFoundException以及Gradle错误_Android_Flutter_Android Studio - Fatal编程技术网

Android 下载工件时java.io.FileNotFoundException以及Gradle错误

Android 下载工件时java.io.FileNotFoundException以及Gradle错误,android,flutter,android-studio,Android,Flutter,Android Studio,我不确定这是签名config.json文件的问题还是gradle问题,或者两者都有 我正在使用的测试应用程序在昨晚之前一直运行良好,当我再次尝试运行该应用程序时,它会出现错误 错误: Launching lib\main.dart on RNE L21 in debug mode... Running Gradle task 'assembleDebug'... FAILURE: Build failed with an exception. * What went wrong: Execu

我不确定这是签名config.json文件的问题还是gradle问题,或者两者都有

我正在使用的测试应用程序在昨晚之前一直运行良好,当我再次尝试运行该应用程序时,它会出现错误

错误:

Launching lib\main.dart on RNE L21 in debug mode...
Running Gradle task 'assembleDebug'...

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:packageDebug'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
   > java.io.FileNotFoundException: C:\Users\r\Desktop\exampleapp\build\app\intermediates\signing_config\debug\out\signing-config.json (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 27s
Running Gradle task 'assembleDebug'...
[!] Gradle threw an error while downloading artifacts from the network. Retrying to download...

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:packageDebug'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
   > java.io.FileNotFoundException: C:\Users\r\Desktop\exampleapp\build\app\intermediates\signing_config\debug\out\signing-config.json (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 28s
[!] Gradle threw an error while downloading artifacts from the network. Retrying to download...
Exception: Gradle task assembleDebug failed with exit code 1

互联网连接是稳定的,从昨晚开始,我没有更改应用程序中的任何内容,所以有人能指出这可能是什么原因吗?

make minSdkVersion 21我希望这能解决应用程序级别build.gradel文件中的问题

 minSdkVersion 21

我更改了它,但仍然是同一个问题,老实说,我不认为更改它会有任何区别,因为它昨晚与minsdkversion 23一起工作,您是否尝试了颤振清洁颤振清洁工程