Live data from Hacker News

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

android-developers.googleblog.com

131–140 of 154 posts

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

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

Nope. I have this alias (a default on my distribution) and it's no loop:

    alias ls='ls --color=auto'

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

#132

Earlier quoted context omitted.

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

No, you really don't. Apple would like you to use it (god knows why), but it's not necessary.

I feel like this needs a big asterisk. Can you ship a a non-trivial iOS or Mac app that uses SwiftUI or other first-party APIs without Xcode? Is it practical? Those are real questions, some cursory searching did not turn up a concrete answer.

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

#133

Earlier quoted context omitted.

> We can and should address more than one problem at a time. Very much agree. Here in India, one of the big telecos has now rolled out a system where if you're on a call with an unknown number, OTPs are not sent to the phone till the call ends. IMO systems like this (or ironically - using OEM installed on device AI as a MITM to stop a call when an OTP is heard) are very good ideas. > Malicious APKs are a real problem…

I am not a Googler and I am not fond of Google, but I don't have any reason to think that the changes they have proposed are some elaborate fabrication. A decent amount of this fraud is not solely malware or solely social engineering -- there's often elements of both -- where they fool the person into installing the malware which helps to further facilitate the scheme. And in these cases, urgency is often used as par…

I guess we'll see in 5 years how well these comments will age. I can easily see a future where 3rd party apps are not allowed anymore.

The harder it is to install 3rd party apps, the less people will do it and therefore care about it. When few enough people care, it will be easy for Google to justify turning it off. e.g. "Only scammers/hackers use APK installs"

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

#134
post #131
post #82

Earlier quoted context omitted.

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.

Nope. I have this alias (a default on my distribution) and it's no loop: alias ls='ls --color=auto'

Creating an alias is not the same as putting an executable in your $PATH.

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

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

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

#137
post #52

This is a good step forward, but keep in mind the claimed gains are about "project and environment setup", not the tasks you deal with on a daily basis in an existing project.

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.

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

#138

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.

Think of the elders!

Telephones are a public utility that need to be accessible for everyone in society.

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

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

I didn't say caught up did I? :)
Post reply on HN