Live data from Hacker News

Ask HN: Am I crazy or is Android development awful?

news.ycombinator.com

41–50 of 157 posts

Re: Ask HN: Am I crazy or is Android development awful?

#41
post #38
post #28

Earlier quoted context omitted.

Gradle replaced Maven which replaced ant which replaced make. The tech treadmill was one of the reasons I retired early and I'm glad I did. What is the new hotness replacing Gradle?

Kotlin DSL https://developer.android.com/build/migrate-to-kotlin-dsl This one makes sense, though the improvement is minor.

That's still Gradle. Just a different language to configure it.

Re: Ask HN: Am I crazy or is Android development awful?

#42
Started Android development back in 2011, Android SDK was just a plugin for Eclipse back then. It's way better now compared to before. Does anyone remember Ant, it was way worse.

But I feel you, if you don't have enough experience dealing with different Android, Gradle, AS errors then you're really having a bad day. But shouldn't be a deal breaker, just give it some time and more familiarity.

Re: Ask HN: Am I crazy or is Android development awful?

#43

There's a bigger issue here: OP describes writing prototype software on a desktop, and compares this to writing more production-style software on a highly constrained mobile device. This isn't an apples-to-apples comparison. Python packaging is notoriously bad, and while you can get a Linux/Windows compatible script without too much work, getting to a single executable that just runs is much harder. Cloning a repo, s…

amazingly, the browser has pretty much solved all of this. fully compatible EMCAscript implementations on every single device with hardware access (such as the camera, as is needed in this post)

I don't buy your "security through difficulty" argument for that reason alone.

Re: Ask HN: Am I crazy or is Android development awful?

#44

I remember asking some Android devs, "How do I install a compiler on Android?" They proceeded to tell me what to download on my laptop. I repeated my question, emphasizing "ON Android". They gave me blank looks. I said, "I want to install a toolchain ON an Android device, and run it there. How do I do that?" They had no idea. I asked, "What if you want to compile something that requires compiling something, then usin…

Sounds like an X Y problem.

What you want is to cross compile using the NDK toolchain. That should get you 95% of the way there (barring tweaking with downstream project flags to work with bionic libc and limited Android user land and other Android idiosyncrasies)

Re: Ask HN: Am I crazy or is Android development awful?

#45
It is pathetic. I have been an Android developer for more than a decade and some aspects of it have become shittier. One of the other, seems tangential problems, in Android development world is architecture fatigue. Every other week the cool kids will change to something else and everything else becomes "so old school". For what? No one knows. It's just because the upstream (i.e. famous) cool kids are doing that. One blog post or even tweet by them and your junior teammates indignantly start demanding we must rewrite the whole codebase to the new holy tunes. Then there are libraries. In a way that is great that we have so many libs especially compared to iOS dev world. But then even small tasks means someone just added a library and you have a hard time explaining that just because there is a library doesn't mean you should add it without thinking of the implications and maybe not at all add it if all you have to do add a bit of code on your own for a tiny task.

If you ever have to work with native code (or things like OpenCV) start praying from day one and never stop.

You need bigger and bigger laptops to even run that disgrace of an IDE Android Studio. This always gets me!

So dev tools/env? Oh, god! Fuck Google!

Re: Ask HN: Am I crazy or is Android development awful?

#47
post #19

Kotlin is a dream. I literally love writing it.

Back when I was in undergrad, I recall how I was taught C. Just read one of the bible books on a weekend, and was ready to go. I was recently taking a look at Kotlin books and literally banged my head on the table. I realized the language has a good rap but it is ridiculously feature-laden .. to the point they threw in the kitchen sink. A key positive of languages is easiness to learn. I really wonder about Kotlin. It may be well-designed, but did it really need to be so big?

I'm also curious if it is just me. I am a grey hair now, with many other responsibilities. Why were C, Python and Go so easy for me when kotlin seems so hard to penetrate (for me)? Is there a way to quantify language complexity?

Re: Ask HN: Am I crazy or is Android development awful?

#49
post #3

I also agree that the development experience is awful. I have more than 10 years as an Android developer and Android Studio (someone remember when it was derived from Eclipse?) is painfully slow, even in modern machines. Just starting a new project is a ridiculously sluggish process. Also Gradle is a piece of hyper-complicated software that (almost) nobody is interested in, but it is there and you have to deal with i…

Personally I use Bazel, but I was at Google for a decade and so I miss Blaze. Of course that has it's own steep cost the first time you use it because of ideological differences between repos inside Google and repos outside Google.

At this point I have a clean repo with Blaze set up that I use as a starting point for Android applications. Then Android Studio with the Blaze plugin and I'm set.

Re: Ask HN: Am I crazy or is Android development awful?

#50
post #3

I also agree that the development experience is awful. I have more than 10 years as an Android developer and Android Studio (someone remember when it was derived from Eclipse?) is painfully slow, even in modern machines. Just starting a new project is a ridiculously sluggish process. Also Gradle is a piece of hyper-complicated software that (almost) nobody is interested in, but it is there and you have to deal with i…

Gradle is the single worst thing about Android development imo. It's an obtuse, un-debuggable mess.

Library management got a LOT nicer when it was introduced, but surely we didn't need all of that to achieve it.

Post reply on HN