> For the complete documentation index, see [llms.txt](https://flutter2015.firefirestyle.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://flutter2015.firefirestyle.net/hello/build_chromeapp.md).

# build as chromeapp

check 2016y5m26d on mac

Dart x Flutter --( ARC Welder )--> Chrome App

## example

#### \[1] make certification

```
$ keytool -genkey -v -keystore dummy.keystore -alias umiuni2d -keyalg RSA -keysize 2048 -validity 10000
```

#### \[2] clone sample code & pub

```
$ git clone https://github.com/kyorohiro/umiuni2d_check.git
$ cd umiuni2d_check/flutter_c
$ pub get
$ pub upgrade
```

#### \[3] make release apk

**\[3-1] draw rect test**

```
$ flutter build apk --release  --keystore=./dummy.keystore --keystore-password=umiuni2d  --keystore-key-alias=umiuni2d --target ./lib/render/animeRect_scheduller.dart
```

**\[3-2] anime rect test**

```
$ flutter build apk --release  --keystore=./dummy.keystore --keystore-password=umiuni2d  --keystore-key-alias=umiuni2d --target ./lib/render/drawImage_assets.dart
```

**\[3-3] draw image test**

```
$ flutter build apk --release  --keystore=./dummy.keystore --keystore-password=umiuni2d  --keystore-key-alias=umiuni2d --target ./lib/render/drawImage_assets.dart
```

comment : failed to draw png now(2016y5m26d) on mac chrome

**\[3-4] touch test**

```
$ flutter build apk --release  --keystore=./dummy.keystore --keystore-password=umiuni2d  --keystore-key-alias=umiuni2d --target ./lib/render/touchTest.dart
```

#### \[4] install arc welder & bake chrome app

<http://www.howtogeek.com/214734/how-to-use-googles-arc-welder-to-run-android-apps-in-chrome/>

#### \[5] Check on MAC

![](https://1814295318-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M23mFK0BQXfvUtsV5Gz%2F-M23mHdwSyo8rV1dBqZS%2F-M23mONupO12MfPF-c1Z%2Fimg.png?generation=1583849516345415\&alt=media)

### memo

run flutter\_c/lib/demo/3ddemo\_drawvertex.dart, app was terminate. maybe, could not display image repeatly on mac chrome
