在此版本中使用了不推荐使用的Gradle功能,使其与Gradle 7.0不兼容。 使用“ --warning-mode all”来显示各个弃用警告。 参见https://docs.gradle.org/6.0.1/userguide/command_line_interface.html#sec:command_line_warnings 37个可执行任务:已执行2个,最新35个 java.nio.file.NoSuchFileException:/ Users / shashankparikh / Desktop / Bus-Mobile / nca / android / app / build / intermediates / external _file_lib_dex_archives / debug / out 在sun.nio.fs.UnixException.translateToIOException(UnixException.java:86) 在sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) 在sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) 在sun.nio.fs.UnixFileSystemProvider.newDirectoryStream(UnixFileSystemProvider.java:407) 在java.nio.file.Files.newDirectoryStream(Files.java:457) 在java.nio.file.Files.list(Files.java:3451) 在com.android.build.gradle.internal.tasks.DexMergingParams.getAllDexFiles(DexMergingTask.kt:502) 在com.android.build.gradle.internal.tasks.DexMergingTaskRunnable.run(DexMergingTask.kt:423) 在com.android.build.gradle.internal.tasks.Workers $ ActionFacade.run(Workers.kt:335) 在org.gradle.workers.internal.AdapterWorkAction.execute(AdapterWorkAction.java:50) 在org.gradle.workers.internal.DefaultWorkerServer.execute(DefaultWorkerServer.java:50) 在org.gradle.workers.internal.NoIsolationWorkerFactory $ 1 $ 1 $ 1.create(NoIsolationWorkerFactory.java:65) 在org.gradle.workers.internal.NoIsolationWorkerFactory $ 1 $ 1 $ 1.create(NoIsolationWorkerFactory.java:61) 在org.gradle.internal.classloader.ClassLoaderUtils.executeInClassloader(ClassLoaderUtils.java:98) 在org.gradle.workers.internal.NoIsolationWorkerFactory $ 1 $ 1.execute(NoIsolationWorkerFactory.java:61) 在org.gradle.workers.internal.AbstractWorker $ 1.call(AbstractWorker.java:44) 在org.gradle.workers.internal.AbstractWorker $ 1.call(AbstractWorker.java:41) 在org.gradle.internal.operations.DefaultBuildOperationExecutor $ CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:416) 在org.gradle.internal.operations.DefaultBuildOperationExecutor $ CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:406)处 在org.gradle.internal.operations.DefaultBuildOperationExecutor $ 1.execute(DefaultBuildOperationExecutor.java:165) 在org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:250) 在org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:158) 在org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:102) 在org.gradle.internal.operations.DelegatingBuildOperationExecutor.call(DelegatingBuildOperationExecutor.java:36)处 在org.gradle.workers.internal.AbstractWorker.executeWrappedInBuildOperation(AbstractWorker.java:41) 在org.gradle.workers.internal.NoIsolationWorkerFactory $ 1.execute(NoIsolationWorkerFactory.java:53) 在org.gradle.workers.internal.DefaultWorkerExecutor $ 3.call(DefaultWorkerExecutor.java:217) 在org.gradle.workers.internal.DefaultWorkerExecutor $ 3.call(DefaultWorkerExecutor.java:212) 在java.util.concurrent.FutureTask.run(FutureTask.java:266) 在org.gradle.internal.work.DefaultConditionalExecutionQueue $ ExecutionRunner.runExecution(DefaultConditionalExecutionQueue.java:215)处 在org.gradle.internal.work.DefaultConditionalExecutionQueue $ ExecutionRunner.runBatch(DefaultConditionalExecutionQueue.java:164) 在org.gradle.internal.work.DefaultConditionalExecutionQueue $ ExecutionRunner.run(DefaultConditionalExecutionQueue.java:131) 在java.util.concurrent.Executors $ RunnableAdapter.call(Executors.java:511) 在java.util.concurrent.FutureTask.run(FutureTask.java:266) 在org.gradle.internal.concurrent.ExecutorPolicy $ CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64) 在org.gradle.internal.concurrent.ManagedExecutorImpl $ 1.run(ManagedExecutorImpl.java:48) 在java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 在java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:624) 在org.gradle.internal.concurrent.ThreadFactoryImpl $ ManagedThreadRunnable.run(ThreadFactoryImpl.java:56) 在java.lang.Thread.run(Thread.java:748)
失败:构建失败,并出现异常。
出了什么问题: 任务':app:mergeExtDexDebug'的执行失败。
执行com.android.build.gradle.internal.tasks.Workers $ ActionFacade时发生故障 java.nio.file.NoSuchFileException:/ Users / shashankparikh / Desktop / Bus-Mobile / nca / android / app / build / intermediates / external_file_lib_dex_archives / debug / out
尝试: 使用--stack trace选项运行以获取堆栈跟踪。使用--info或--debug选项运行,以获取更多日志输出。使用--scan运行以获取完整的见解。
在7秒内失败
错误无法安装该应用程序。确保已设置Android开发环境:https://reactnative.dev/docs/getting-started.html#android-development-environment。使用--verbose标志运行CLI以获取更多详细信息。 错误:命令失败:./gradlew app:installDebug -PreactNativeDevServerPort = 8081 java.nio.file.NoSuchFileException:/ Users / shashankparikh / Desktop / Bus-Mobile / nca / android / app / build / intermediates / external_file_lib_dex_archives / debug / out 在sun.nio.fs.UnixException.translateToIOException(UnixException.java:86) 在sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) 在sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) 在sun.nio.fs.UnixFileSystemProvider.newDirectoryStream(UnixFileSystemProvider.java:407) 在java.nio.file.Files.newDirectoryStream(Files.java:457) 在java.nio.file.Files.list(Files.java:3451) 在com.android.build.gradle.internal.tasks.DexMergingParams.getAllDexFiles(DexMergingTask.kt:502) 在com.android.build.gradle.internal.tasks.DexMergingTaskRunnable.run(DexMergingTask.kt:423) 在com.android.build.gradle.internal.tasks.Workers $ ActionFacade.run(Workers.kt:335) 在org.gradle.workers.internal.AdapterWorkAction.execute(AdapterWorkAction.java:50) 在org.gradle.workers.internal.DefaultWorkerServer.execute(DefaultWorkerServer.java:50) 在org.gradle.workers.internal.NoIsolationWorkerFactory $ 1 $ 1 $ 1.create(NoIsolationWorkerFactory.java:65) 在org.gradle.workers.internal.NoIsolationWorkerFactory $ 1 $ 1 $ 1.create(NoIsolationWorkerFactory.java:61) 在org.gradle.internal.classloader.ClassLoaderUtils.executeInClassloader(ClassLoaderUtils.java:98) 在org.gradle.workers.internal.NoIsolationWorkerFactory $ 1 $ 1.execute(NoIsolationWorkerFactory.java:61) 在org.gradle.workers.internal.AbstractWorker $ 1.call(AbstractWorker.java:44) 在org.gradle.workers.internal.AbstractWorker $ 1.call(AbstractWorker.java:41) 在org.gradle.internal.operations.DefaultBuildOperationExecutor $ CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:416) 在org.gradle.internal.operations.DefaultBuildOperationExecutor $ CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:406)处 在org.gradle.internal.operations.DefaultBuildOperationExecutor $ 1.execute(DefaultBuildOperationExecutor.java:165) 在org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:250) 在org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:158) 在org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:102) 在org.gradle.internal.operations.DelegatingBuildOperationExecutor.call(DelegatingBuildOperationExecutor.java:36)处 在org.gradle.workers.internal.AbstractWorker.executeWrappedInBuildOperation(AbstractWorker.java:41) 在org.gradle.workers.internal.NoIsolationWorkerFactory $ 1.execute(NoIsolationWorkerFactory.java:53) 在org.gradle.workers.internal.DefaultWorkerExecutor $ 3.call(DefaultWorkerExecutor.java:217) 在org.gradle.workers.internal.DefaultWorkerExecutor $ 3.call(DefaultWorkerExecutor.java:212) 在java.util.concurrent.FutureTask.run(FutureTask.java:266) 在org.gradle.internal.work.DefaultConditionalExecutionQueue $ ExecutionRunner.runExecution(DefaultConditionalExecutionQueue.java:215)处 在org.gradle.internal.work.DefaultConditionalExecutionQueue $ ExecutionRunner.runBatch(DefaultConditionalExecutionQueue.java:164) 在org.gradle.internal.work.DefaultConditionalExecutionQueue $ ExecutionRunner.run(DefaultConditionalExecutionQueue.java:131) 在java.util.concurrent.Executors $ RunnableAdapter.call(Executors.java:511) 在java.util.concurrent.FutureTask.run(FutureTask.java:266) 在org.gradle.internal.concurrent.ExecutorPolicy $ CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64) 在org.gradle.internal.concurrent.ManagedExecutorImpl $ 1.run(ManagedExecutorImpl.java:48) 在java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 在java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:624) 在org.gradle.internal.concurrent.ThreadFactoryImpl $ ManagedThreadRunnable.run(ThreadFactoryImpl.java:56) 在java.lang.Thread.run(Thread.java:748)
失败:构建失败,并出现异常。
出了什么问题: 任务':app:mergeExtDexDebug'的执行失败。
执行com.android.build.gradle.internal.tasks.Workers $ ActionFacade时发生故障 java.nio.file.NoSuchFileException:/ Users / shashankparikh / Desktop / Bus-Mobile / nca / android / app / build / intermediates / external_file_lib_dex_archives / debug / out
尝试: 使用--stack trace选项运行以获取堆栈跟踪。使用--info或--debug选项运行,以获取更多日志输出。使用--scan运行以获取完整的见解。
在7秒内失败
at makeError (/Users/shashankparikh/Desktop/Bus-Mobile/nca/node_modules/execa/index.js:174:9)
at Promise.all.then.arr (/Users/shashankparikh/Desktop/Bus-Mobile/nca/node_modules/execa/index.js:278:16)
at process.internalTickCallback (internal/process/next_tick.js:77:7)