-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Labels
Android14unknown bug on Android14unknown bug on Android14
Description
~/hello_world $ flutter run -v
[ +28 ms] Unable to locate an Android SDK.
[ +12 ms] executing: uname -m
[ +9 ms] Exit code 0 from: uname -m
[ ] aarch64
[ +30 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update.
[ +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +30 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update.
[ ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +53 ms] Skipping pub get: version match.
[ +166 ms] Generating /data/data/com.termux/files/home/hello_world/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[ +25 ms] Failed obtaining PRETTY_NAME for Linux: PathNotFoundException: Cannot open file, path = '/usr/lib/os-release' (OS Error: strerror_r failed, errno = 2)
[ +31 ms] Initializing file store
[ +6 ms] Skipping target: gen_localizations
[ +5 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: /data/data/com.termux/files/home/hello_world/.dart_tool/package_config_subset}
[ +22 ms] gen_dart_plugin_registrant: Complete
[ ] Skipping target: _composite
[ +3 ms] complete
[ +3 ms] Launching lib/main.dart on Linux in debug mode...
[ +2 ms] /data/data/com.termux/files/home/termux-flutter/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /data/data/com.termux/files/home/termux-flutter/flutter/bin/cache/dart-sdk/bin/snapshots/frontend_server.dart.snapshot --sdk-root
/data/data/com.termux/files/home/termux-flutter/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter --experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true
-DFLUTTER_WEB_CANVASKIT_URL=https://www.gstatic.com/flutter-canvaskit/3f3e560236539b7e2702f5ac790b2a4691b32d49/ --output-dill /data/data/com.termux/files/usr/tmp/flutter_tools.TEAULD/flutter_tool.DMXPUC/app.dill --packages
/data/data/com.termux/files/home/hello_world/.dart_tool/package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill
build/dd704641fca0f13458e044aee43be5d8.cache.dill.track.dill --verbosity=error --enable-experiment=alternative-invalidation-strategy
[ +21 ms] Building Linux application...
[ +10 ms] <- compile package:hello_world/main.dart
[ +1 ms] executing: [build/linux/arm64/debug/] cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -DFLUTTER_TARGET_PLATFORM=linux-arm64 /data/data/com.termux/files/home/hello_world/linux
[ +61 ms] -- Configuring done (0.0s)
[ +1 ms] -- Generating done (0.0s)
[ +13 ms] -- Build files have been written to: /data/data/com.termux/files/home/hello_world/build/linux/arm64/debug
[ +13 ms] executing: ninja -C build/linux/arm64/debug install
[ +14 ms] ninja: Entering directory `build/linux/arm64/debug'
[ +54 ms] [1/6] Generating /data/data/com.termux/files/home/hello_world/linux/flutter/ephemeral/libflutter_linux_gtk.so, /data/data/com.termux/files/home/hello_world/linux/flutter/ephemeral/flutter_linux/fl_basic_message_channel.h,
/data/data/com.termux/files/home/hello_world/linux/flutter/ephemeral/flutter_linux/fl_binary_codec.h, /data/data/com.termux/files/home/hello_world/linux/flutter/ephemeral/flutter_linux/fl_binary_messenger.h,
/data/data/com.termux/files/home/hello_world/linux/flutter/ephemeral/flutter_linux/fl_dart_project.h, /data/data/com.termux/files/home/hello_world/linux/flutter/ephemeral/flutter_linux/fl_engine.h,
/data/data/com.termux/files/home/hello_world/linux/flutter/ephemeral/flutter_linux/fl_json_message_codec.h, /data/data/com.termux/files/home/hello_world/linux/flutter/ephemeral/flutter_linux/fl_json_method_codec.h,
/data/data/com.termux/files/home/hello_world/linux/flutter/ephemeral/flutter_linux/fl_message_codec.h, /data/data/com.termux/files/home/hello_world/linux/flutter/ephemeral/flutter_linux/fl_method_call.h,
/data/data/com.termux/files/home/hello_world/linux/flutter/ephemeral/flutter_linux/fl_method_channel.h, /data/data/com.termux/files/home/hello_world/linux/flutter/ephemeral/flutter_linux/fl_method_codec.h,
/data/data/com.termux/files/home/hello_world/linux/flutter/ephemeral/flutter_linux/fl_method_response.h, /data/data/com.termux/files/home/hello_world/linux/flutter/ephemeral/flutter_linux/fl_plugin_registrar.h,
/data/data/com.termux/files/home/hello_world/linux/flutter/ephemeral/flutter_linux/fl_plugin_registry.h, /data/data/com.termux/files/home/hello_world/linux/flutter/ephemeral/flutter_linux/fl_standard_message_codec.h,
/data/data/com.termux/files/home/hello_world/linux/flutter/ephemeral/flutter_linux/fl_standard_method_codec.h, /data/data/com.termux/files/home/hello_world/linux/flutter/ephemeral/flutter_linux/fl_string_codec.h,
/data/data/com.termux/files/home/hello_world/linux/flutter/ephemeral/flutter_linux/fl_value.h, /data/data/com.termux/files/home/hello_world/linux/flutter/ephemeral/flutter_linux/fl_view.h,
/data/data/com.termux/files/home/hello_world/linux/flutter/ephemeral/flutter_linux/flutter_linux.h, _phony_
[ +8 ms] FAILED: /data/data/com.termux/files/home/hello_world/linux/flutter/ephemeral/libflutter_linux_gtk.so /data/data/com.termux/files/home/hello_world/linux/flutter/ephemeral/flutter_linux/fl_basic_message_channel.h
/data/data/com.termux/files/home/hello_world/linux/flutter/ephemeral/flutter_linux/fl_binary_codec.h /data/data/com.termux/files/home/hello_world/linux/flutter/ephemeral/flutter_linux/fl_binary_messenger.h
/data/data/com.termux/files/home/hello_world/linux/flutter/ephemeral/flutter_linux/fl_dart_project.h /data/data/com.termux/files/home/hello_world/linux/flutter/ephemeral/flutter_linux/fl_engine.h
/data/data/com.termux/files/home/hello_world/linux/flutter/ephemeral/flutter_linux/fl_json_message_codec.h /data/data/com.termux/files/home/hello_world/linux/flutter/ephemeral/flutter_linux/fl_json_method_codec.h
/data/data/com.termux/files/home/hello_world/linux/flutter/ephemeral/flutter_linux/fl_message_codec.h /data/data/com.termux/files/home/hello_world/linux/flutter/ephemeral/flutter_linux/fl_method_call.h
/data/data/com.termux/files/home/hello_world/linux/flutter/ephemeral/flutter_linux/fl_method_channel.h /data/data/com.termux/files/home/hello_world/linux/flutter/ephemeral/flutter_linux/fl_method_codec.h
/data/data/com.termux/files/home/hello_world/linux/flutter/ephemeral/flutter_linux/fl_method_response.h /data/data/com.termux/files/home/hello_world/linux/flutter/ephemeral/flutter_linux/fl_plugin_registrar.h
/data/data/com.termux/files/home/hello_world/linux/flutter/ephemeral/flutter_linux/fl_plugin_registry.h /data/data/com.termux/files/home/hello_world/linux/flutter/ephemeral/flutter_linux/fl_standard_message_codec.h
/data/data/com.termux/files/home/hello_world/linux/flutter/ephemeral/flutter_linux/fl_standard_method_codec.h /data/data/com.termux/files/home/hello_world/linux/flutter/ephemeral/flutter_linux/fl_string_codec.h
/data/data/com.termux/files/home/hello_world/linux/flutter/ephemeral/flutter_linux/fl_value.h /data/data/com.termux/files/home/hello_world/linux/flutter/ephemeral/flutter_linux/fl_view.h
/data/data/com.termux/files/home/hello_world/linux/flutter/ephemeral/flutter_linux/flutter_linux.h flutter/_phony_ /data/data/com.termux/files/home/hello_world/build/linux/arm64/debug/flutter/_phony_
[ +2 ms] cd /data/data/com.termux/files/home/hello_world/build/linux/arm64/debug/flutter && /data/data/com.termux/files/usr/bin/cmake -E env FLUTTER_ROOT=/data/data/com.termux/files/home/termux-flutter/flutter PROJECT_DIR=/data/data/com.termux/files/home/hello_world
DART_DEFINES=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ==,RkxVVFRFUl9XRUJfQ0FOVkFTS0lUX1VSTD1odHRwczovL3d3dy5nc3RhdGljLmNvbS9mbHV0dGVyLWNhbnZhc2tpdC8zZjNlNTYwMjM2NTM5YjdlMjcwMmY1YWM3OTBiMmE0NjkxYjMyZDQ5Lw== DART_OBFUSCATION=false TRACK_WIDGET_CREATION=true TREE_SHAKE_ICONS=false
PACKAGE_CONFIG=/data/data/com.termux/files/home/hello_world/.dart_tool/package_config.json FLUTTER_TARGET=/data/data/com.termux/files/home/hello_world/lib/main.dart /data/data/com.termux/files/home/termux-flutter/flutter/packages/flutter_tools/bin/tool_backend.sh linux-arm64
Debug
[ ] no such file or directory
[ ] ninja: build stopped: subcommand failed.
[ +14 ms] Building Linux application... (completed in 183ms)
[+5883 ms] Exception: Build process failed
[ +4 ms] "flutter run" took 6,478ms.
[ +2 ms]
#0 throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
#1 RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:752:9)
<asynchronous suspension>
#2 FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1350:27)
<asynchronous suspension>
#3 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#4 CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
#5 FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:348:9)
<asynchronous suspension>
#6 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#7 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:294:5)
<asynchronous suspension>
#8 run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:112:9)
<asynchronous suspension>
#9 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#10 main (package:flutter_tools/executable.dart:90:3)
<asynchronous suspension>
[ +12 ms] ensureAnalyticsSent: 0ms
[ ] Running 1 shutdown hook
[ +5 ms] Shutdown hooks complete
[ ] exiting with code 1
~/hello_world $ flutter doctor -v
[!] Flutter (Channel [user-branch], 3.16.5, on Linux, locale en_US.UTF-8)
! Flutter version 3.16.5 on channel [user-branch] at /data/data/com.termux/files/home/termux-flutter/flutter
Currently on an unknown channel. Run `flutter channel` to switch to an official channel.
If that doesn't fix the issue, reinstall Flutter by following instructions at https://flutter.dev/docs/get-started/install.
! Upstream repository unknown source is not a standard remote.
Set environment variable "FLUTTER_GIT_URL" to unknown source to dismiss this error.
• Framework revision 78666c8dc5 (4 weeks ago), 2023-12-19 16:14:14 -0800
• Engine revision 3f3e560236
• Dart version 3.2.3
• DevTools version 2.28.1
• If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.
[✗] Android toolchain - develop for Android devices
✗ Unable to locate Android SDK.
Install Android Studio from: https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK components.
(or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).
If the Android SDK has been installed to a custom location, please use
`flutter config --android-sdk` to update to that location.
[✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✓] Linux toolchain - develop for Linux desktop
• clang version 17.0.6
• cmake version 3.28.1
• ninja version 1.11.1
• pkg-config version 0.29.2
[!] 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 (1 available)
• Linux (desktop) • linux • linux-arm64 • Linux
[✓] Network resources
• All expected network resources are available.
! Doctor found issues in 4 categories.
Metadata
Metadata
Assignees
Labels
Android14unknown bug on Android14unknown bug on Android14