-
-
Notifications
You must be signed in to change notification settings - Fork 173
Document how to build for debug mode #128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Yeah I agree, I should document that. It's pretty simple actually, the |
Relatedly, and I can move this into a separate issue if you'd like, is how to build/start in profiling mode. I have a bundle that I built with --profile, but I get no observatory announcement when I start it with --release, and it won't start without it because of a missing kernel.blob. When I use a bundle built for debug and start flutter-pi in debug I get the observatory announcement, but all the documentation for flutter says not to profile in debug. So I'm just unclear on how to accomplish this. |
Actually, the asset bundle (so the stuff inside If you want profile mode you need a custom |
I've made a go at cross compiling those myself, but failed miserably at every turn (llvm was a pain, but I got it built, but I never succeeded at getting libcxx to build, and I can't even remember any more what problems I had with libflutter_engine.so). When I get some free time, maybe I'll have another go at it. If I run into problems, is there a good IRC or Discord channel for people who are using flutter in embedded? |
Sadly, there isn't. There's a flutter-official discord you can give a try, but it wasn't that helpful for me in the past That's a good idea though. Maybe the flutter discord server mods could add a new channel
Yeah I agree it's pretty hard. I can provide you with my build scripts tough: flutter_engine.zip Steps to get it running:
Once you have that setup, all you need to do on a new flutter version is Everything I do on a new version is run When you have the binaries, copy the |
We're happy to add new channels, see https://github.com/flutter/flutter/wiki/Chat for details. Basically, ask in #server-support. |
Okay, I'll do that.
My mistake. I just assumed that bc most of the people there are working for google. |
@ardera, isn't it already documented? |
Yes it is, thanks for letting me know. |
The README.md file describes how to build for release but it's not clear exactly how to build a debug build.
The text was updated successfully, but these errors were encountered: