Live data from Hacker News

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

android-developers.googleblog.com

141–150 of 154 posts

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

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

What error message did you get? Perhaps you ran it with PowerShell (this is a Cmd script)?

Tryed both. Copilot said it was wrongly utf16, but it was utf8 according to vscode.

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

#142
post #88

Earlier quoted context omitted.

I honestly have no idea what is going on. Lots of broken things in what's supposed to be front products for Google and other "high name" brands. I don't get it: Where is everybody? Is there no one there? Are these companies really dead inside?

Same for Microsoft. Redirects to the void, 5-level-deep sign-in prompts, "contact your administrator" who doesn't exist... Maybe it's a size thing.

MS showing "view summary" button for all meetings, then doing bait-and-switch to tell you to buy Copilot license (on a corporate seat no less, where regular users don't have purchasing decision power) is top annoyance now

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

#143
post #52

Earlier quoted context omitted.

Taking screenshots, optionally with component borders highlighted, and operating the UI with element names like "button1" instead of tap 200,30 looks useful. If I could get it to work.

hey! I'm the dude workin' on that + the `layout` command to try to make device interaction via CLI less painful. please do throw your gripes and complaints/suggestions at me; I'd like to make it work well/intuitively for folks.

Thx. In other comment, but setting Java options for proxy settings worked. I was guessing annotations would be based on UI framework borders(which I can toggle on screen via debug menu), but looks it's based on image recognition locally. Maybe you can have UI component borders as option(haven't heavily used it yet, so throwing around ideas)

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

#144
post #141

Earlier quoted context omitted.

What error message did you get? Perhaps you ran it with PowerShell (this is a Cmd script)?

Tryed both. Copilot said it was wrongly utf16, but it was utf8 according to vscode.

Encoding is still am issue today? I can't tell the last time I encountered.

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

#145

>Google collects usage data for the Android CLI, such as commands, sub-commands, and flags used. This data does not include custom parameters or identifiable information. This information helps improve the tool and is collected in accordance with Google's Privacy Policy. > https://policies.google.com/privacy >Disable Android CLI metrics collection by using the --no-metrics flag. No thanks, is there no env variable fo…

> enough data

No such thing.

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

#146
post #136

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.

I haven't touched Android dev in the better part of a decade. Is Android Studio notably worse than IntelliJ? Cause I use that every day for work and I love it.

Android Studio is IntelliJ with tweaks.

Not sure what that dude is going on about, noone sane wants VSCode over that.

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

#147

Earlier quoted context omitted.

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

Ah, ok, no worries then, here I thought they didn't care about engineering quality or tooling that works just recently, but turns out they never did! Thanks :)

Back when I cared about Android development, Google was famous for releasing stable builds of Android Studio/Android Gradle Plugin, that always broke on day 1, regardless of how many preview and candidate builds predated it.

The company with hiring processes for the creme de la creme among developers.

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

#148
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.

I have programming apps for Python, Pascal, C#, Lisp, Java, GLSL shaders installed.

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

#149

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.

It has been like that since they dropped Eclipse.

And those of us that used NDK, had to wait until JetBrains came up with Clion, for Google to finally offer an alternative.

Apple, mostly in-house, Google, mostly out sourced to JetBrains.

Post reply on HN