Redesign Development Environment #582
Replies: 2 comments 5 replies
-
Hello! Apologies for the late response. I haven't managed to set up an Android build environment yet. I've only set one for iOS using XCode and the Flutter SDK. However, once I get around to setting up the Android build environment, I might comment on how I set it up on my Mac machine if anyone else would find it beneficial. I'm sorry that I wasn't able to help. |
Beta Was this translation helpful? Give feedback.
-
Hi, thanks for being eager and willing to test :) I didn't really cover installing Flutter because I didn't want to handle keeping it up to date/accurate as Flutter evolves. Getting the Android SDK playing nicely is honestly pretty messy even with the official guides, so I doubt I'd be able to write anything useful. That said, it looks like Nix has good support for Flutter, including setting up Android with it. I've never used Nix myself (although the concept sounds cool), so it'd be interesting to hear how you get on there. If you can get a Nix config working, it'd be great to have so that other people can easily get started with development. |
Beta Was this translation helpful? Give feedback.
-
Migrated from #220 (comment)
With the redesign beta coming soon™, I'm eager to get started early - and as such, I need to set up a development environment so I can build an APK to test things out. As it currently stands, I was unable to find much information in the contributing guidelines - which essentially say "Install flutter".
Since it seems like StayBlue has already got an environment working, as has Chaphasilor, I'd greatly appreciate some general directions so I can make it work with my current workstation running NixOS. As I currently understand it, the steps required are:
git clone https://github.com/jmshrv/finamp -b redesign
)flutter build apk
to create an installable APK to use for testing and debuggingI've tried to do this already, but NixOS doesn't play nicely with dynamically linked executables, so it's a little hard to make sure I have all the packages needed - any more precise input (along with versions, exact package names and repos if possible) would point me in the right direction.
To the second point: Once I've got this set up, it will be possible to maintain a Nix configuration file that essentially defines all the steps required, such that one could create a development environment with the correct dependencies quickly and easily. For a better explanation, see the beginning of this blog post
Keep in mind that I'm not super familiar with how flutter works, and whether the idea of consistent build environment really affects this type of project - but it's simple enough to implement (once I've got my environment set up) that it could make contributing much easier for other people to dip their toes in. If that sounds interesting, let me know and we'll work it out from there.
Original text for reference:
Beta Was this translation helpful? Give feedback.
All reactions