Troubleshooting
Last updated
Was this helpful?
Last updated
Was this helpful?
First of all, make sure the version of flutter and rust is the version specified in
Ensure the protoc-gen is installed
Ensure the $HOME/.pub-cache/bin is shown in your $PATH.
Ensure VS Code uses bash as the default terminal You can check out this for more information.
AppFlowy uses CodeGen
to generate some files that are ignored by git. So remove these files if there are some errors, warnings, and reference errors.
Here are the files are safe to remove
AppFlowy/frontend/app_flowy/packages/flowy_sdk
AppFlowy/frontend/app_flowy/packages/appflowy_backend/lib/dispatch/dart_event
AppFlowy/frontend/app_flowy/packages/appflowy_backend/lib/protobuf
Flutter Web / Android / iOS is not supported yet. Please switch to macOS or other supported devices.
Q: How to use sql-data.json
A: Check the offline mode section:
ArgumentError (Invalid argument(s): Failed to load dynamic library 'libdart_ffi.so': dlopen failed: library "libdart_ffi.so" not found)
A: Are you trying to build for android? Appflowy only supports desktops as of now
A: I append ubuntu 21.04 source.list's content to /etc/apt/source.list
, and then upgrade libc6
.
Q: I follow the BUILD_ON_LINUX.md and failed on step 10 cargo make --profile development-linux-x86 flowy-sdk-dev
To Reproduce Just follow the BUILD_ON_LINUX.md
A: There are some issues in protobuf generation of appflowy on linux. If you skip that step, you can get it working. Protobuf has already been generated and is tracked in the repository. So it will work without regeneration as of now.
Q. While executing install_linux.sh script at compiling diesel_cli i'm getting following error:
[issue #255] (https://github.com/AppFlowy-IO/AppFlowy/issues/255)
Q:
Bug Description
xhost + docker run --rm -v $HOME/.Xauthority:/root/.Xauthority:rw -v /tmp/.X11-unix:/tmp/.X11-unix -v /dev/dri:/dev/dri -v /var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket -v appflowy-data:/home/appflowy -e DISPLAY=${DISPLAY} appflowyio/appflowy_client:main
(app_flowy:1): Gtk-WARNING **: 01:27:57.247: cannot open display: :0
A:
I add the param --network=host
and it works
If you're trying to run tests on windows, but they're failing due to this message:
Run this command from the frontend directory: cargo make dart_unit_test
Optionally you can run this in bash instead of the above one, but you must be inside the appflowy_flutter directory: flutter test --dart-define=RUST_LOG=INFO -j, --concurrency=1 --coverage
A:
A:
Q: Hello, when I run app with vs code&android&mac m1, it gave error:
Q. Unhandled Exception: Invalid argument(s): Failed to load dynamic library 'libdart_ffi.so' on Ubuntu.