Live data from Hacker News

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

android-developers.googleblog.com

61–70 of 154 posts

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

#61
post #55
post #43

Wow. Thanks for this update. It streamlined a lot of tasks. Apart from this, next step will be to add suport for building android apps on the android phones itself. No desktop needed.Building on the laptop with agents and installing the build in the phone and testing doea not seem AI native. If everything can run on my android phone, development cycle will speed up.

you already could! just install Termux, npm install your favourite agent harness (pi for one has explicit Termux support, but its AGENTS.md works just fine with Claude Code for example - https://github.com/badlogic/pi-mono/blob/main/packages/codin... ), and say you want an android app. It problem solves for a bit, then spits out an apk out to your Downloads folder.

Let me try this. Last year this was a dream. Can't belive we are so close to automate all of this.

My major issue last time was providing the feedback to the agent by running the apk on phone i.e, pass the debug log from the apk back to agent so it can iterate on it without me providing any input.

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

#62

Earlier quoted context omitted.

downloading an APK and opening it is already about as easy as it gets. the only thing easier would be for someone else to do it for you

You're forgetting the installation ("sideloading", what everyone else calls installation) restrictions they are about to deploy. It will be a significant hassle to install anything without Google's approval. Many F-droid apps are showing warning notices about this upcoming change.

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.

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

#63
post #49

The install command shown for Windows is 404. `curl -fsSL https://dl.google.com/android/cli/latest/windows_x86_64/inst... | bash` The URL shown for individual OSs work, but the script errors for me. `curl.exe -fsSL https://dl.google.com/android/cli/latest/windows_x86_64/inst... -o "%TEMP%\i.cmd" && "%TEMP%\i.cmd"` I manually downloaded the exe, but it say socket error. vibe coding is going strong!

Goggles Android tooling has been like this forever, nothing to do with AI.

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

#64
post #45

Earlier quoted context omitted.

Any textbooks or resources on getting better at naming things? The Programmers Brain book was my go to

The Design of Everyday Things.

The conclusion I drew from that book is that I shouldn't be naming things.

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

#65

Earlier quoted context omitted.

You're forgetting the installation ("sideloading", what everyone else calls installation) restrictions they are about to deploy. It will be a significant hassle to install anything without Google's approval. Many F-droid apps are showing warning notices about this upcoming change.

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.

It is 1 click because the malware is on the play store already!

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

#66
post #65

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.

It is 1 click because the malware is on the play store already!

Both are problematic.

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

#67
post #24
post #2

Agents will allow human programmers to get what they've been begging for decades now: proper requirements and flexible, logical, tooling.

this has been my sort of big tent alignment with AI people. If I'm getting good CLI tooling that _actually works_ (or fixes to existing ones that have been busted forever) then I'm pretty happy. Things that make systems more understandable to the LLMs ... usually make things more understandable for humans as well. Usually. The biggest issue I've found is that vibed up tooling tends to be pretty bad at having the righ…

Its like major cities repairing their roads to incentivize autonomous vehicles to operate there. Win win for everyone.

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

#70
post #24

Earlier quoted context omitted.

this has been my sort of big tent alignment with AI people. If I'm getting good CLI tooling that _actually works_ (or fixes to existing ones that have been busted forever) then I'm pretty happy. Things that make systems more understandable to the LLMs ... usually make things more understandable for humans as well. Usually. The biggest issue I've found is that vibed up tooling tends to be pretty bad at having the righ…

Its like major cities repairing their roads to incentivize autonomous vehicles to operate there. Win win for everyone.

Apart from pedestrians.
Post reply on HN