You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.
Hi, I can't build my existing app on nixos in the CLI. Not sure why though, maybe someone can shed light on this:
> flutter run
Unable to run "adb", check your Android SDK installation and ANDROID_SDK_ROOT environment variable:
/nix/store/msz7vyhbjshnhpvh4fqggw7629xqkjmx-android-sdk-env/share/android-sdk/platform-tools/adb
then
> adb
Android Debug Bridge version 1.0.41
... (works fine)
> flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[!] Flutter (Channel stable, 3.7.9, on NixOS 23.05 (Stoat) 6.2.9, locale de_DE.UTF-8)
! Warning: `flutter` on your path resolves to /nix/store/0abd2ziinn63rhjbf3nhrq5490njp87r-flutter-3.7.9-fhs/bin/flutter, which is not inside your current Flutter SDK checkout at
/nix/store/bygzpzn8775z5d1bqdf878f719nd2qik-flutter-3.7.9. Consider adding /nix/store/bygzpzn8775z5d1bqdf878f719nd2qik-flutter-3.7.9/bin to the front of your path.
! Warning: `dart` on your path resolves to /nix/store/k41nsymj245kz7kdd9w61cz84ygx2jix-dart-2.19.6/bin/dart, which is not inside your current Flutter SDK checkout at
/nix/store/bygzpzn8775z5d1bqdf878f719nd2qik-flutter-3.7.9. Consider adding /nix/store/bygzpzn8775z5d1bqdf878f719nd2qik-flutter-3.7.9/bin to the front of your path.
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
✗ Android license status unknown.
Run `flutter doctor --android-licenses` to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/linux#android-setup for more details.
[✗] 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
[!] Android Studio (not installed)
[☠] Connected device (the doctor check crashed)
✗ Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue at https://github.com/flutter/flutter/issues.
✗ Exception: Unable to run "adb", check your Android SDK installation and ANDROID_SDK_ROOT environment variable:
/nix/store/msz7vyhbjshnhpvh4fqggw7629xqkjmx-android-sdk-env/share/android-sdk/platform-tools/adb
[✓] HTTP Host Availability
! Doctor found issues in 5 categories.
Hi, I can't build my existing app on nixos in the CLI. Not sure why though, maybe someone can shed light on this:
then
> adb Android Debug Bridge version 1.0.41 ... (works fine)
Finally, this is my flake.nix:
The text was updated successfully, but these errors were encountered: