Live data from Hacker News

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

android-developers.googleblog.com

81–90 of 154 posts

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

#82
post #60
post #39

Earlier quoted context omitted.

Uh do aliases load in non-interactive shells?

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.

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

#83

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.

Think of the elders!

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

#84
post #47

Earlier quoted context omitted.

"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?

That's how it looks now.

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

#86
post #85

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.

[flagged]

Debugging and local testing is the main remaining use case of IDEs. Especially so for mobile apps where you need to manage one or more emulators.

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

#87

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.

> 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 require a malicious apk to send transactions in banking apps (eg tricking people selling their product to send the money.)

You do not require a malicious apk to engage in a pig butchering scam, or to buy gift cards.

> There should be some explicit confirmation that the user knows what they are doing and they are not being scammed. It is long overdue.

I agree. Social engineering counters should have awareness raised by the governments. But blocking 3rd party apps for this is like using a cannon to shoot a mosquito. I'm not sure it makes the slightest of sense.

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

#88
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 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?

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

#89
post #23

Earlier quoted context omitted.

Damned if you do. Damned if you dont.

Google has been neglecting Android for years with subpar tooling and ridiculous development practices.

If you think Android tooling is subpar wait until you try iOS.

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

#90
I must say I'm quite disappointed.

I expected something useful for application development. All it offers is some wrapper around the basic Android setup command that LLMs are already good at. What, initial empty project creation now takes 5 minutes instead of 10? Big deal, who cares?

I had another hope awakening that at least skills might be useful. But except for a few migration recipes, there's nothing of value for day to day Android development.

Facit: I'll skip installing another Google app whose only purpose is more spying on me and keep developing Android apps the way I already do.

TLDR: Nothing to see here. Move on.

Post reply on HN