Live data from Hacker News

Android CLI: Build Android apps 3x faster using any agent

android-developers.googleblog.com

111–120 of 154 posts

Re: Android CLI: Build Android apps 3x faster using any agent

#111

CLI in a product name now means LLM agent TUI specifically and not just, as I would have expected, any kind of Command Line Interface? And usually there is barely a CLI included at all and you are expected to mostly launch the full TUI with its own embedded readline-loop rather that use the CLI?

This is a CLI, the example shows the Gemini TUI using it

Re: Android CLI: Build Android apps 3x faster using any agent

#112
post #42

Catching up to Flutter.

Not even close. Flutter has been engineered from the ground up with excellent tooling, unlike Android’s mess of organically evolved crap held together by a duct tape.

Yeah, I've been using Flutter since December last year and I'm really amazed how good the developer experience is. I kinda regret not picking it up sooner but from what I understand now's a great time too with the roadmap they've planned for this year (videos on YouTube explaining Flutter concepts and decoupling Material and Cupertino).

You can even make 2D games with Flutter with the help of Flame[0] but be wary that pixel art style games are a bit of a hassle due to some bugs in Flutter itself. Otherwise Flutter is a joy to use for its intended purpose: cross-platform apps.

[0] https://flame-engine.org/

Re: Android CLI: Build Android apps 3x faster using any agent

#115

Android Studio on its deathbed. Just release VSCode plugin and kill it for good, it has been a buggy, slow mess for the last 3 years or so.

If you think Android Studio has been a bug in the last 3 years, you haven't used it back in the days of Android Studio Beta. It has come a long way.

Must be a web dev who adamantly uses VSCode for everything

Re: Android CLI: Build Android apps 3x faster using any agent

#116
post #94

Earlier quoted context omitted.

What tooling?

Frontend, backend, workflow engines, payments, idk all of it. Like you can make a cross-platform react native app with expo in a day without any AI (a proper app, not a boilerplate). Same with many web apps. Shadcn with themes and components, tailwind, temporal workflows, etc etc. The complexity of making apps was solved years ago.

We must live in different worlds. Even for professionals building high quality apps is hard. It's easier with AI, but it's still quite hard. And it was definitely harder without AI.

Re: Android CLI: Build Android apps 3x faster using any agent

#117

Earlier quoted context omitted.

Good, it shouldn't be two clicks for elderly people to install trojans on their phone that then drain their bank account. There should be some explicit confirmation that the user knows what they are doing and they are not being scammed. It is long overdue.

> Good, it shouldn't be two clicks for elderly people to install trojans on their phone that then drain their bank account. And what makes you think that most scams involve fancy zero days/CVEs/hijacking the OS, and not simple social engineering? You do not require a malicious apk to receive 2FA codes, or for the gullible user to read them aloud to the scammer. All phones come with an SMS and phone app. You do not re…

We can and should address more than one problem at a time.

Malicious APKs are a real problem that exists. I work tangentially in this space.

> But blocking 3rd party apps for this is like using a cannon to shoot a mosquito.

I’d agree, if that was what was going to happen. But it isn’t. Google is not going to block 3rd party apps.

Re: Android CLI: Build Android apps 3x faster using any agent

#118
post #82
post #60

Earlier quoted context omitted.

Create a wrapping binary instead mkdir -p ~/.local/bin printf '#!/usr/bin/env sh\nexec android-cli --no-metrics "$@"' > ~/.local/bin/android-cli echo 'PATH="$HOME/.local/bin:$PATH"' >> ~/.zshenv

I'm pretty sure this will just call itself in a loop. You need to use the absolute path to the wrapped binary to distinguish it from the wrapper.

Aah! Yes absolutely right! Using `exec command android-cli` would work I believe

Re: Android CLI: Build Android apps 3x faster using any agent

#119
post #20

I wish the same thing existed for Apple. Everything I do for macOS/iOS is already without Xcode but it's a pain in the ass to keep up with changes, and there are things I haven't figured out yet (like AUv3).

> Everything I do for macOS/iOS is already without Xcode Doesn't Xcode allow you to plug in agents like VS Code does?

It does.

Re: Android CLI: Build Android apps 3x faster using any agent

#120
post #105

Earlier quoted context omitted.

> Everything I do for macOS/iOS is already without Xcode Doesn't Xcode allow you to plug in agents like VS Code does?

I don't know, I don't use/want to use Xcode. What I'm interested is in the CLI tool for my own use, not necessarily for agents.

Come on now, you're going to need Xcode at some point during development.
Post reply on HN