-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Closed
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectplatform-androidAndroid applications specificallyAndroid applications specificallyr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versiont: gradle"flutter build" and "flutter run" on Android"flutter build" and "flutter run" on AndroidtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Description
Steps to Reproduce
- build add-to-app project with jenkins pipeline.
- start multiple tasks at same time.
- error occured.
Logs
Logs
16:37:48
16:37:48 FAILURE: Build failed with an exception.
16:37:48
16:37:48 * What went wrong:
16:37:48 Execution failed for task ':connectivity:generateReleaseRFile'.
16:37:48 > A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
16:37:48 > /data/jenkins/.pub-cache/hosted/pub.flutter-io.cn/connectivity-3.0.6/android/build/intermediates/local_only_symbol_list/release/R-def.txt
16:37:48
16:37:48 * Try:
16:37:48 Run with --info or --debug option to get more log output. Run with --scan to get full insights.
16:37:48
16:37:48 * Exception is:
16:37:48 org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':connectivity:generateReleaseRFile'.
16:37:48 at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$1(ExecuteActionsTaskExecuter.java:205)
16:37:48 at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:263)
16:37:48 at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:203)
16:37:48 at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:184)
16:37:48 ...... more
16:37:48 Caused by: org.gradle.workers.internal.DefaultWorkerExecutor$WorkExecutionException: A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
16:37:48 at org.gradle.workers.internal.DefaultWorkerExecutor$WorkItemExecution.waitForCompletion(DefaultWorkerExecutor.java:354)
16:37:48 at org.gradle.internal.work.DefaultAsyncWorkTracker.waitForItemsAndGatherFailures(DefaultAsyncWorkTracker.java:142)
16:37:48 at org.gradle.internal.work.DefaultAsyncWorkTracker.access$000(DefaultAsyncWorkTracker.java:34)
16:37:48 at org.gradle.internal.work.DefaultAsyncWorkTracker$1.run(DefaultAsyncWorkTracker.java:106)
16:37:48 at org.gradle.internal.Factories$1.create(Factories.java:26)
16:37:48 ...... more
16:37:48 Caused by: java.nio.file.NoSuchFileException: /data/jenkins/.pub-cache/hosted/pub.flutter-io.cn/connectivity-3.0.6/android/build/intermediates/local_only_symbol_list/release/R-def.txt
16:37:48 at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
16:37:48 at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
16:37:48 at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
16:37:48 at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)
16:37:48 at java.nio.file.Files.newByteChannel(Files.java:361)
16:37:48 at java.nio.file.Files.newByteChannel(Files.java:407)
16:37:48 at java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:384)
16:37:48 at java.nio.file.Files.newInputStream(Files.java:152)
16:37:48 at java.nio.file.Files.newBufferedReader(Files.java:2784)
16:37:48 at java.nio.file.Files.lines(Files.java:3744)
16:37:48 ...... more
16:37:48
16:37:48
16:37:48 * Get more help at https://help.gradle.org
16:37:48
16:37:48 Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
16:37:48 Use '--warning-mode all' to show the individual deprecation warnings.
16:37:48 See https://docs.gradle.org/6.1.1/userguide/command_line_interface.html#sec:command_line_warnings
16:37:48
16:37:48 BUILD FAILED in 3m 54s
16:37:48 183 actionable tasks: 183 executed
flutter doctor -v
-bash-4.2$ ./bin/flutter doctor -v
[✓] Flutter (Channel stable, 2.2.3, on Linux, locale en_US.UTF-8)
• Flutter version 2.2.3 at /data/jenkins/flutter_sdk_2_0
• Framework revision f4abaa0735 (4 months ago), 2021-07-01 12:46:11 -0700
• Engine revision 241c87ad80
• Dart version 2.13.4
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at /data/jenkins/.android_build_HOME/android-sdk-linux
• Platform android-30, build-tools 30.0.2
• ANDROID_HOME = /data/jenkins/.android_build_HOME/android-sdk-linux
• Java binary at: /usr/bin/java
• Java version OpenJDK Runtime Environment 18.9 (build 11.0.12+7-LTS)
• All Android licenses accepted.
[✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[!] Android Studio (not installed)
• Android Studio not found; download from https://developer.android.com/studio/index.html
(or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).
[!] Connected device
! No devices available
! Doctor found issues in 3 categories.
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectplatform-androidAndroid applications specificallyAndroid applications specificallyr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versiont: gradle"flutter build" and "flutter run" on Android"flutter build" and "flutter run" on AndroidtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.