Skip to content

Commit 035c28d

Browse files
author
Hidenori Matsubayashi
authored
Update README.md to add a description of how to install the pre-built engine library (sony#17)
Add description how to install the pre-built engine library
1 parent ef9d33f commit 035c28d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ $ sudo apt install libdrm-dev libgbm-dev libinput-dev libudev-dev libsystemd-dev
9898

9999
This embedder requres `libflutter_engine.so` (Flutter embedder library). You need to install `libflutter_engine.so` to `/usr/lib`. See: [Building Flutter Engine embedder](./BUILDING-ENGINE-EMBEDDER.md)
100100

101-
Or you can download a specific Flutter Engine by the following steps, but it's limited to debug mode and x64 targets.
101+
Or you can download a specific pre-built Flutter Engine from Google's infra by the following steps, but it's limited to **debug mode** and **x64** targets.
102102

103103
[Step1] Check the version (SHA) of the channel you want to use.
104104
- [master channel](https://raw.githubusercontent.com/flutter/flutter/master/bin/internal/engine.version)
@@ -111,6 +111,12 @@ Or you can download a specific Flutter Engine by the following steps, but it's l
111111
$ curl -O https://storage.googleapis.com/flutter_infra/flutter/FLUTTER_ENGINE/linux-x64/linux-x64-embedder
112112
```
113113

114+
[Step3] Install the library. Note that the downloaded library is only **debug mode** and for **x64** targets.
115+
```Shell
116+
$ unzip ./linux-x64-embedder
117+
$ sudo cp ./libflutter_engine.so /usr/lib
118+
```
119+
114120
## 2. Examples
115121
There are sample projects in [`examples`](./examples) directory. You can also comunicate with Dart code by using the plugin APIs with the same specifications as with Flutter desktops for Windows.
116122

0 commit comments

Comments
 (0)