Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compliation Instructions #842

Open
takase1121 opened this issue Nov 25, 2024 · 0 comments
Open

Compliation Instructions #842

takase1121 opened this issue Nov 25, 2024 · 0 comments

Comments

@takase1121
Copy link
Contributor

Hi, I am trying to build and run the application myself (I wanted to do some translation work) and I can't get it to build correctly. I installed Flutter from aur which should be the stable channel. I also installed Android Studio and Android SDK 34.

I tried to run the application with:

flutter pub run build_runner build
flutter run

But it doesn't work, there is always some Java version issue.

flutter doctor --verbose returns:

➤ flutter doctor --verbose
[✓] Flutter (Channel , 3.24.3, on CachyOS 6.12.1-2-cachyos, locale en_US.UTF-8)
    • Flutter version 3.24.3 on channel  at /usr/lib/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision archlinuxaur (unknown (arch linux aur package)), 2038-01-19 03:14:08
    • Engine revision 36335019a8ea
    • Dart version 3.5.3
    • DevTools version 2.37.3

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /home/takase/Android/Sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /opt/android-studio/jbr/bin/java
    • Java version OpenJDK Runtime Environment (build 21.0.3+-12282718-b509.11)
    • 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.

[✓] Linux toolchain - develop for Linux desktop
    • clang version 18.1.8
    • cmake version 3.31.1
    • ninja version 1.12.1
    • pkg-config version 2.1.1

[✓] Android Studio (version 2024.2)
    • Android Studio at /opt/android-studio
    • Flutter plugin version 82.1.3
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 21.0.3+-12282718-b509.11)

[✓] IntelliJ IDEA Ultimate Edition (version 2024.3)
    • IntelliJ at /opt/intellij-idea-ultimate-edition
    • Flutter plugin version 82.2.4
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] Connected device (1 available)
    • Linux (desktop) • linux • linux-x64 • CachyOS 6.12.1-2-cachyos

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

My questions are:

  1. What are the prerequisites to build (e.g. flutter, Java version, Gradle version)?
  2. Are there build instructions to build and run the project?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant