Live data from Hacker News

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

android-developers.googleblog.com

71–80 of 154 posts

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

#71
post #70

Earlier quoted context omitted.

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

Apart from pedestrians.

It never made sense to me why cars and pedestrians need to share the same spaces. Why can't we have more efficient walking routes that are away from cars?

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

#72
post #47

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

"This APK cannot be scanned and its safety cannot be verified. Learn more/go back" and "learn more" has a link that looks like nothing but is actually a button to actually install the app. I can think of some easier things, for example popping up a dialog, pressing "install" and having my all actually be installed after that.

You're saying it should look like those damned browser certificate failure sites, with option to open the damn site hidden under button that looks like an unassuming link?

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

#73
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!

I got a workaround a la GH Copilot:

> android skills list

Picked up JAVA_TOOL_OPTIONS: -Djava.net.useSystemProxies=true

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

#74
post #61
post #55

Earlier quoted context omitted.

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.

ask the agent to run adb log so it can read it for itself

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

#75
post #70

Earlier quoted context omitted.

Apart from pedestrians.

It never made sense to me why cars and pedestrians need to share the same spaces. Why can't we have more efficient walking routes that are away from cars?

Because cars took over the streets from pedestrians between 1900 and 1930 and no one noticed.

Hopefully when petrol hits $10 a gallon in the next few months more of the world will think about banning cars from high density areas.

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

#76
post #75

Earlier quoted context omitted.

It never made sense to me why cars and pedestrians need to share the same spaces. Why can't we have more efficient walking routes that are away from cars?

Because cars took over the streets from pedestrians between 1900 and 1930 and no one noticed. Hopefully when petrol hits $10 a gallon in the next few months more of the world will think about banning cars from high density areas.

Its already over $12 per gallon in Singapore. Let's see what happens.

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

#77
post #70

Earlier quoted context omitted.

Apart from pedestrians.

It never made sense to me why cars and pedestrians need to share the same spaces. Why can't we have more efficient walking routes that are away from cars?

if you have roads shared with pedestrians and cars (and bikes!) you can build denser cities.

I lived real downtown in Tokyo and my street was like "1.5" lanes wide (if cars were coming in both directions one basically needs to pull over and stop). I could just walk in the middle of the street. There was no sidewalk. No street parking of course. Cars would drive down at 15km/h or whatever, and slow to a crawl if people were in the street.

Straight lines are efficient walking routes, and ... well... that might involve just crossing the street directly! Every layer of grade separation gets in the way of that.

End result of all of this is less pavement to maintain, slower drivers (-> safer!), good walking and cycling conditions, etc etc etc.

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

#79
post #23

> Your agents perform best when they have a lightweight, programmatic interface to interact with the Android SDK and development environment. F you google. Me too. Why didn't we get a sane way to build android apps before you had to please chatbots?

Damned if you do. Damned if you dont.

Google has been neglecting Android for years with subpar tooling and ridiculous development practices.
Post reply on HN