Git Product home page Git Product logo

Comments (15)

awdavies avatar awdavies commented on April 28, 2024 2

I haven't updated in a while. I'm checkin it out now 😄

from flutter-desktop-embedding.

billy1380 avatar billy1380 commented on April 28, 2024 1

very mixed emotions right now!

from flutter-desktop-embedding.

awdavies avatar awdavies commented on April 28, 2024

What were the Flutter/Flutter Engine checkout hashes? Recently Flutter and the engine switched from Dart 1 to Dart 2 which no longer supports snapshot mode, and there can be some weird behavior if the versions aren't in sync.

from flutter-desktop-embedding.

billy1380 avatar billy1380 commented on April 28, 2024

@awdavies the last commit hash on flutter engine master is 04f3c6557c02879191a558320ed8ec81f8b2b619

How can I tell if things are not in sync? I definitely called gclient sync after getting the latest code and doing a build, or are you talking about something else?

from flutter-desktop-embedding.

awdavies avatar awdavies commented on April 28, 2024

I've got a pull request for this in the works, but (hopefully) it's just a mismatch of what version of the engine Flutter is expecting.

Inside of flutter/bin/internal/ there is a file called engine.version that has the hash that it expects the engine to be set to.

from flutter-desktop-embedding.

awdavies avatar awdavies commented on April 28, 2024

The pull request is for updating the readme to specify the use of engine.version, specifically

from flutter-desktop-embedding.

billy1380 avatar billy1380 commented on April 28, 2024

the hash in my engine.version file is identical to the one above 😞

from flutter-desktop-embedding.

awdavies avatar awdavies commented on April 28, 2024

Hmmmm 🤔

from flutter-desktop-embedding.

billy1380 avatar billy1380 commented on April 28, 2024

I was surprised! I thought surely that would have been it.

So the latest build just works for you? Have you changed any of the flags to build the dart code like add the dart2 preview switch.

from flutter-desktop-embedding.

awdavies avatar awdavies commented on April 28, 2024

Good news...? I get the same error!

Wait, I get a different error:

I get the same error as #31

from flutter-desktop-embedding.

billy1380 avatar billy1380 commented on April 28, 2024

does that mean that you can get it to run the second time around?

from flutter-desktop-embedding.

stuartmorgan avatar stuartmorgan commented on April 28, 2024

The roll to 04f3c6557c02879191a558320ed8ec81f8b2b619 didn't pick up the fix for #30 / #33 so that's the crash.

You'll need to do one of:

  • Use the current head of the engine repo, which has the fix
  • Run in source mode instead of snapshot mode
  • Wait until Flutter rolls the engine again.

from flutter-desktop-embedding.

stuartmorgan avatar stuartmorgan commented on April 28, 2024

Duplicate of #33

from flutter-desktop-embedding.

billy1380 avatar billy1380 commented on April 28, 2024

I will try the second option then the first one and see how I get on. Thank you.

from flutter-desktop-embedding.

billy1380 avatar billy1380 commented on April 28, 2024

Three cheers for option number 1... works beautifully now... thanks for all the time and effort... much appreciated.

from flutter-desktop-embedding.

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.