Code Monkey home page Code Monkey logo

Comments (8)

pchampio avatar pchampio commented on May 10, 2024

Luckly the main.go used to compile the stocks binary is still in the zip file.
The main.go file wasn't compile with the correct go file.

@zephylac can you build the stocks example using the simpler stocks/main.go
Thanks 👍

from go-flutter.

zephylac avatar zephylac commented on May 10, 2024

ASAP 👍

from go-flutter.

zephylac avatar zephylac commented on May 10, 2024

I've updated the release, it should work now. If you can check it on your side @mikowiec, it would be great.

from go-flutter.

mikowiec avatar mikowiec commented on May 10, 2024

not fixed

Last login: Mon Dec 24 09:01:22 on ttys000
/Users/xxx/Downloads/stocks-example-GoFlutter_OSX/stocks ; exit;
➜  ~ /Users/xxx/Downloads/stocks-example-GoFlutter_OSX/stocks ; exit;
2018/12/27 09:46:50 stat flutter_project/stocks/build/flutter_assets: no such file or directory

[Process completed]

from go-flutter.

zephylac avatar zephylac commented on May 10, 2024

It's working but for this release you need to execute it from the directory. When it was compiled, it was with
gutter.ProjectAssetPath("flutter_project/stocks/build/flutter_assets"),
As this is not an absolute path (we would fall in the other case where absolute path is written in the executable), you need to execute it from it's directory otherwise he won't find flutter_assets directory

cd /Users/xxx/Downloads/stocks-example-GoFlutter_OSX
./stocks

from go-flutter.

pchampio avatar pchampio commented on May 10, 2024

I just ran into the following issue:

2018/12/27 09:33:48 stat /opt/flutter/bin/cache/artifacts/engine/darwin-x64/icudtl.dat: no such file or directory

@zephylac can you build the stocks example while making sure the path to the gutter.ApplicationICUDataPath is local to the zip
Thanks 👍

from go-flutter.

mikew avatar mikew commented on May 10, 2024

In the meantime:

cd ~/Downloads/stocks-example-GoFlutter_OSX/FlutterEmbedder.framework/Versions
ln -sf A Current
cd ~/Downloads/stocks-example-GoFlutter_OSX/FlutterEmbedder.framework
ln -sf Versions/Current/Resources Resources
ln -sf Versions/Current/Modules Modules
ln -sf Versions/Current/Headers Headers
ln -sf Versions/Current/FlutterEmbedder FlutterEmbedder

from go-flutter.

zephylac avatar zephylac commented on May 10, 2024

New release! 😀

from go-flutter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.