5 ms·
I really want to get into mobile development, but I have major obstacles with default platform APIs: I don't have a Mac (and cannot afford one ATM), the Android
by gkya 8y ago
I really want to get into mobile development, but I have major obstacles with default platform APIs: I don't have a Mac (and cannot afford one ATM), the Android Studio is unusably heavy for my decent laptop, and writing Android apps w/o the studio seems prohibitively difficult. In this situation, Flutter is a liberating force for me. I have recently started learning it, and I can just keep writing my code in Emacs, while running the app on a phone with hot reload, and without my laptop melting. Thanks to whomever created it.
- everdev 8y agoGoogle maintains it
- currysausage 8y agoAnd Ian Hickson, the guy behind "HTML5", is one of the core contributors.
- solarkraft 8y agoThat's an interesting bit, since I think of modern web stuff as terribly bloated and flutter as pretty clean.
- gsnedders 8y agoA lot of the core contributors were members of the original Chrome team; Hixie's far from the only Flutter contributor who previously worked on the web for 15+ years.
- mwcampbell 8y agoWhy do you say writing Android apps without Android Studio is prohibitively difficult? I did it. You just use Gradle from the command line to build the app, and adb to install it on your device to test. I only tested with an emulator when I didn't have a device.
- gkya 8y agoSome web pages I read make it look like so, and not only, some say directly that it's impractical. But maybe it's my infamiliarity with the ecosystem that makes me think so. If you know of a nice tutorial I'd really appreciate it!
- vorg 8y agoYou forgot to mention the slow build times when using Gradle. If Android Studio is too heavy for his laptop then Gradle's hardly going to be much lighter. Unfortunately, even Flutter requires it when building the production-ready Android version of the app. Perhaps it's time Google switched to their own Bazel as the default for building Android apps. As a bonus, the syntax is a lot lighter than Apache Groovy's.
- gkya 8y agoMy CPU is "Intel(R) Core(TM) i3-3217U CPU @ 1.80GHz" par lscpu(1), and I have 4Gb RAM. I should not have to struggle running end-user desktop software except inherently-heavy tasks like video editing and similar memory-heavy or very CPU-intensive stuff. And running a text editor, a compiler and a debugger is definitely not so. I'll go as far as saying that most desktop software that I can't run easily is just plain bloatware. Android Studio, definitely checks out. I don't know Gradle, I'll try when I have free time. I have one project which can be better off as a Java API app (based mostly on Intents). WRT Flutter, I have not experienced any performance problems with it so far; though I haven't built a "production-ready app" yet. But given it'd mostly be a rare task, that'd be bearable.
- seenickcode 8y agoHey gkya, I'm the author of the post. I basically have been a long time Mac user and now I have a window machine with a VM with Xubuntu where I do all my dev (I only game on windows). When I want to test cross platform I use my wife's Macbook pro. When I develop and maybe don't have enough RAM to use an Android Emulator, I've found running the app on a real device works well actually.
- gkya 8y agoHi, thanks for writing this article, it was a nice read! WRT Macs, well, I use a Unixy laptop since time immemorial, one way or another (stuff I spent >1yr with: Ubuntu, Arch, FreeBSD, Xubuntu, and finally and currently Debian; in that order), and being quite content with what I have at hand, I'd be reluctant to switch anyways. But AFAIK the App Store is where the money is, so I want to get in to it ASAP. I'm in a rare situation where I'm a long time amateur/semi-professional programmer, but I study and plan an academical career in humanities. I need to write up a couple apps to help interacting with documents (what's available on mobile is basically sub-par), so I'll code them up anyways, but I'd be glad if I could share them FOSS but also get some amount of money from the app stores. Even a hundred or two hundred dollars a month would help as a serious amount to complement scholarships or loans as I do masters and a PhD. And I'd be ecstatic if I could avoid scholarships or loans! And flutter would render possible writing such cross platform apps and maintaining them while studying, whereas learning, writing and maintaining two codebases, and spending money on premium hardware up front would be a very big obstacle for me, and also unmaintainable in the long run (I can't write a thesis and maintain compatibly two distinct codebases with such diverging paradigms, let aside multiple apps). So I guess I'll end up in some time with a setup similar to yours, which I think is optimal: use my favourite setup, test on target platforms. A bit like cross-compiling. edit: grammor