Hacker News new | past | comments | ask | show | jobs | submit login

even flutter doesn't use studio's gradle setup.



I'm not sure what you mean by "setup" but Flutter does use Gradle and Flutter's Gradle plugin [1] depends on the Android SDK's Gradle plugin.

Also, Flutter's install instructions say: "Flutter requires Android Studio to be installed and configured" [2].

The Flutter SDK hides this away nicely, but Gradle runs when you launch a Flutter app during development (on Android).

[1] https://github.com/flutter/flutter/blob/master/packages/flut...

[2] https://flutter.io/setup-macos/#android-setup


You definitely can build Flutter apps for Android without Android Studio. https://ifdevthentalk.com/2017/05/29/flutter-on-windows-with...


Flutter instructions only say that because google is shifting from providing just the SDK.

First there were SDK and NDK links.

Then there where SDK Tools that autoupdate and downloads the SDK.

Now there is only links to studio, an IDE that contains the auto update tools that downloads the SDK.

But if you want to jump all the hops, you might be able to download just the SDK. For now some old convenient links might still be up.


You can do Flutter dev without Android Studio[0], but I'm guessing if you want to ship/test in the world of Android, you would need Android Studio.

[0] https://flutter.io/intellij-ide/


Yes, Android Studio is needed for running Flutter apps on Android but not for iOS. (You don't normally need to launch Android Studio, just have it installed on your machine.)

Similarly, if you want to run on iOS you need a Mac with xCode installed.

(It's rather weird to me that you need to install entire other IDE's as developer dependencies to build mobile apps, but that seems to be how it is.)


> It's rather weird to me that you need to install entire other IDE's as developer dependencies to build mobile apps, but that seems to be how it is.

I don't remember the details, but a couple years ago there was a way to install just the Xcode build tools without installing the entire IDE. I'm sure there's a similar process for the Android SDK. (Though, of course, none of that is officially supported, so you're on your own for the most part.)

Edit: Turns out Google provides downloads for just the SDK without Android Studio[1], so it looks like the separation is unofficial only for Xcode.




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: