AppFlowy Docs
Search…
⌃K

Troubleshooting

This page documents a collection of resources to help you troubleshoot an AppFlowy installation.

1. Error: Not found: 'dart:ffi'

issue #38
Flutter Web / Android / iOS is not supported yet. Please switch to macOS or other supported devices.

2. Package do not exist in [email protected]:appflowy/flutter-quill.git for flutter-quill

issue #61
Q: When try to get package for appflowy in pubspec.yaml. it says i dont have access or package does not exist in [email protected]:appflowy/flutter-quill.git for flutter-quill.
Steps to reproduce the behavior:
  1. 1.
    get packages from pubspec.yaml
  2. 2.
    it shows error says does not have access to package
A:

3. How to use sql-data.json

Q: How to use sql-data.json
A: Check the offline mode section:

4. How to create a pull request

5. Permission denied

6. Failed to load dynamic library 'libdart_ffi.so'

Q: Hello, when I run app with vs code&android&mac m1, it gave error:
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
Q. Unhandled Exception: Invalid argument(s): Failed to load dynamic library 'libdart_ffi.so' on Ubuntu.
A: I append ubuntu 21.04 source.list's content to /etc/apt/source.list, and then upgrade libc6.
# Append the ubuntu 20.04's source.list to its tail.
$ sudo vim /etc/apt/source.list
$ sudo apt upgrade libc6

7. Build failed on Ubuntu 20.04

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.

8. The document data could not be saved on Ubuntu

9. Can't build development environment

Q. While executing install_linux.sh script at compiling diesel_cli i'm getting following error:
error: linking with `cc` failed: exit status: 1
...
= note: /usr/bin/ld: cannot find -lsqlite3
collect2: error: ld returned 1 exit status
error: could not compile `diesel_cli` due to previous error
error: failed to compile `diesel_cli v2.0.0`, intermediate artifacts can be found at `/tmp/cargo-install4xWPP3`

10. App don't run in Fedora 36

[ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: Invalid argument(s): Failed to load dynamic library 'libdart_ffi.so': libssl.so.1.1: No file
#0 _open (dart:ffi-patch/ffi_dynamic_library_patch.dart:12)
#1 new DynamicLibrary.open (dart:ffi-patch/ffi_dynamic_library_patch.dart:23)
#2 _open (package:flowy_sdk/ffi.dart:23)
#3 _dl (package:flowy_sdk/ffi.dart:10)
#4 _set_stream_port (package:flowy_sdk/ffi.dart)
#5 set_stream_port (package:flowy_sdk/ffi.dart)
#6 FlowySDK.init (package:flowy_sdk/flowy_sdk.dart:32)
#7 InitRustSDKTask.initialize. (package:app_flowy/startup/tasks/rust_sdk.dart:13)
#8 InitRustSDKTask.initialize. (package:app_flowy/startup/tasks/rust_sdk.dart:12)
#9 _rootRunUnary (dart:async/zone.dart:1434)
#10 InitRustSDKTask.initialize (package:app_flowy/startup/tasks/rust_sdk.dart:12)
#11 AppLauncher.launch (package:app_flowy/startup/startup.dart:99)

11. Docker Hub (app_flowy:1): Gtk-WARNING **: 10:44:25.079: cannot open display

12. Failed to start Flutter renderer: Unable to create a GL context

⋊> ./app_flowy
** (app_flowy:21547): WARNING **: 03:05:10.061: Failed to start Flutter renderer: Unable to create a GL context
** (app_flowy:21547): WARNING **: 03:05:12.733: Unable to retrieve framework response: No engine to send to

13. Cannot run on Macbook M1 chip

[issue #255] (https://github.com/AppFlowy-IO/AppFlowy/issues/255)

14. Windows Build Failed

15. Linux failing on cargo make flowy_dev pre-request step

issue #53

16. Malicious software warning on install- MAC-OS

###17. Cannot run on Ubuntu 22.04
[ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: Invalid argument(s): Failed to load dynamic library 'libdart_ffi.so': libssl.so.1.1: cannot open shared object file: No such file or directory
#0 _open (dart:ffi-patch/ffi_dynamic_library_patch.dart:12)
#1 new DynamicLibrary.open (dart:ffi-patch/ffi_dynamic_library_patch.dart:23)
#2 _open (package:flowy_sdk/ffi.dart:23)
#3 _dl (package:flowy_sdk/ffi.dart:10)
#4 _set_stream_port (package:flowy_sdk/ffi.dart)
#5 set_stream_port (package:flowy_sdk/ffi.dart)
#6 FlowySDK.init (package:flowy_sdk/flowy_sdk.dart:32)
#7 InitRustSDKTask.initialize.<anonymous closure> (package:app_flowy/startup/tasks/rust_sdk.dart:13)
#8 InitRustSDKTask.initialize.<anonymous closure> (package:app_flowy/startup/tasks/rust_sdk.dart:12)
#9 _rootRunUnary (dart:async/zone.dart:1434)
<asynchronous suspension>
#10 InitRustSDKTask.initialize (package:app_flowy/startup/tasks/rust_sdk.dart:12)
<asynchronous suspension>
#11 AppLauncher.launch (package:app_flowy/startup/startup.dart:99)
<asynchronous suspension>