Flutter developement on odroidgo advance

Third party OS images and hardware mods
Post Reply
Posts: 5
Joined: Sat Sep 12, 2020 4:21 am
languages_spoken: english
ODROIDs: odroidgo advance rev 1.1
Has thanked: 0
Been thanked: 2 times

Flutter developement on odroidgo advance

Post by lslrt »


I recently would like to try to run some flutter app on non-android based embedded devices.
I recently got an odroidgo advance device and I realized that it would be a pretty good device to use as development target for this purpose (maybe only missing a touchscreen).

I'm using ubuntu image for emulation station proposed by hardkernel:
https://odroid.in/mirror/dn.odroid.com/ ... 514.img.xz

I've followed the steps from @tony.hong that I found on https://wiki.loliot.net/docs/lang/flutt ... nux-arm64/
Everything works smoothly (I only avoid some sudo invocation that was unnecessary but all the steps are really accurate and portable (using $HOME bash variable is so much appreciated :) ).

I only faced some issues:

1/ Need to use tip of tree clang/llvm to be able to build master branch of flutter-engine
2/ Need to add a gbm-wrapper to solve some undefined symbol issues on flutter-arm, I did the change on my private fork: https://github.com/lslrt/flutter-arm
3/ First attempt to run some demo flutter app "compiled" (flutter build bundle) on my host pc using master flutter-tools (installed from snap on debian) was generating some error (

Code: Select all

[ERROR:flutter/shell/common/shell.cc(210)] Dart Error: Can't load Kernel binary: Invalid SDK hash.
), after some reading I've ended compiling flutter-engine for my host (alongside the arm64 build) and then instruct flutter-tools to use the newly built engine (

Code: Select all

flutter --local-engine-src-path $HOME/flutter-engine/engine/src
--local-engine=linux_debug_arm64 build bundle
Finally I can now run some demo app on my odroidgo advance.

What to do next:

* Using flutter-pi master branch rather than flutter-arm fork.
* Figuring out how to use inputs on a flutter app (buttons and joystick)
* Coding my first flutter app :)
1024-768.jpg (123.22 KiB) Viewed 72 times
These users thanked the author lslrt for the post (total 2):
odroid (Mon Sep 14, 2020 10:07 am) • joshua.yang (Mon Sep 14, 2020 5:07 pm)

Post Reply

Return to “Projects”

Who is online

Users browsing this forum: zombiekutez and 0 guests