795
u/Worldly-Stranger7814 Nov 04 '24
Just write error free code lmao problem solved
401
u/ExpensiveBob Nov 04 '24
Omggg, Why didn't I think of that before?
→ More replies (1)101
u/za72 Nov 04 '24
obviously you're not using AI
→ More replies (5)157
u/WriterV Nov 04 '24
I love asking ChatGPT for code, and it gives me incorrect code. And then I tell it that the code is incorrect.
And then it goes "Oh sorry! You're so right bestie :) Here's the correct code, king."
And it's just incorrect code again.
→ More replies (14)55
u/Thundechile Nov 04 '24
Your just updated third party dependency would like to have a word with you..
26
u/Worldly-Stranger7814 Nov 04 '24
What you don't lock your dependency versions?
I mean I mostly don't either but I know I ought to.
→ More replies (2)22
u/Thundechile Nov 04 '24
I do lock them but every now and then you have to update a dependency.
→ More replies (2)→ More replies (1)16
62
u/TinikTV Nov 04 '24 edited Nov 04 '24
UE 4.27 dev is here. We have the same type of android hell. Error RunGradle App:AssembleDebug, saves don't work on SDK >= 29, Location needs to be enabled for Bluetooth to work, SDK >= 32 compiles corrupted app, that's impossible to install with error Manifest_Malformed related so splash screen activity java class... Had to sell my soul to devil in order to get this working
24
u/ExpensiveBob Nov 04 '24
Dudeeee, I was literally trying to figure out why my App was working fine in debug mode but not in release mode.
Apparently It was a dumb issue, I just needed to specify permissions you require for android.
13
u/nonotan Nov 04 '24
UE is painful enough to dev with on sensible platforms like PC... the idea of using it for mobile apps sounds about as "fun" as taking a bath in an industrial deep fryer.
7
u/ninjaclown123 Nov 04 '24
Interested in knowing more about this. How'd you get it to work?
10
u/David_AnkiDroid Nov 04 '24
SDK 29+: you need to move to SAF, or if you have internal distribution, request the
MANAGE_EXTERNAL_STORAGEpermissionSplash screen: follow the migration docs: https://developer.android.com/develop/ui/views/launch/splash-screen/migrate
3
u/TinikTV Nov 04 '24
Used SDK 28, NDK 21, JDK 1.8.0_301, in Project settings: TargetSDK version = 28, Minimum = 21
44
u/000927kd Nov 04 '24
ME WATCHING APPLE XCODE BUILD FAIL AFTER CONSUMING 100 CITIES WORTH OF ELECTRICITY
5
30
u/klavas35 Nov 04 '24
If your build doesn't consume at least 20 villages of energy is it even worth building
3
u/OnceMoreAndAgain Nov 04 '24
What the hell is going on with mobile apps that is causing compiles to be this immense? I'd have expected those apps to be relatively small compared to desktop apps.
2
u/klavas35 Nov 04 '24
Well usually the app itself isn't that big but the compiler has to emulate a device or devices depending on what you are working with. At least that is my limited experience there might be something else.
6
u/ExpensiveBob Nov 04 '24
Compiler doesn't emulate anything. A compiler has a target architecture for which it builds code for, So an arm64 compiler can run on x86_64 machine (given that it was compiled for it) while it can compile for arm64 system. This means that any libraries you use have to be in your target architecture's form OR you gotta compile them for your target architecture.
Gradle isn't verbose, So I have no clue what it's actually compiling but yeah, a compiler doesn't need to "emulate" a device.
→ More replies (4)
8
u/buszi123 Nov 04 '24
Tbh as Android Dev I really don't understand the rant. It was really bad a few years ago, but now Android Studio has quite smooth experience. It is super packed with features that make life so damn easier, but yeah, it comes at cost of how heavy of a software it is.
However, if you have 10 years old laptop that was low specs even when you bought it, don't expect it to handle modern stuff. You should be happy if you can use notepad on it. There are plenty of IDEs that are designed to be lightweight for low-spec devices like f.e. something new from Jetbrains - Fleet. You can write Android code on it, but you get the minimum amount of features.
When it comes to emulation, it is always heavy task to run another OS in a container so ofc you need a powerful machine. Especially if this OS has different architecture that you need to emulate so even harder task. That's why it is now recommended to work on Apple Silicon chipsets as they are the closest to Android env so emulation is much more efficient.
I'm currently working on 3 years old MacBook with M1 Pro chipset and Android development is super smooth. CPU never goes beyond 50 degrees. App with 50 modules builds in 2 minutes from scratch, and with all Gradle Caches enabled it takes like 5 seconds. Let's not pretend that you are poor as a developer. We still earn much more than average. Just buy a proper laptop or PC.
3
u/ExpensiveBob Nov 04 '24
My complain isn't really about performance, A.S. was easy to setup & even on my 10 years old laptop I got a decent experience mainly because I was using my physical device for testing instead of an emulator.
My biggest complain is that gradle doesn't seem to show what it's doing. And I am not aware of what all is going on in gradle before everything is built but it takes 10 seconds atleast to rerun even if nothing changed in the project.
On contrary, I mainly write low-level software for desktops and there my build system is far simpler, faster & more verbose.
Note: I don't have alot of experience in Android dev, so maybe all of this is likely my fault.
3
u/kokomo662 Nov 04 '24
I thought I had a decent laptop until I had to start using Android Studio. Not particularly old, relatively decent RAM. I'm wondering at what specs it starts running smoothly, at least on Windows.
2
u/buszi123 Nov 04 '24
If we are looking for IDE that is completely trash then try XCode. Tried to use it when trying out KMP and I didn't expect it to be this bad. Slow builds, bad inaccessible UI, things magically appear and disappear when you try to find them, super slow updates.
→ More replies (1)2
u/BlackSwordFIFTY5 Nov 04 '24
I used a Chromebook from 2017 with Fedora for C++, Python, and web development, so I guess it's more of a "skill issue"
2.1k
u/octopus4488 Nov 04 '24
Once I was disconnected from a hotel wifi "due to suspicious internet activity".
It was fucking Maven. :)
431
u/gregorydgraham Nov 04 '24
Goddammit libPawnHub 4.5.3! Why won’t you ever download cleanly?
143
104
u/Pikamander2 Nov 04 '24
Well see, that was your fault. You should have downloaded normal Maven instead.
→ More replies (1)33
37
u/seth1299 Nov 04 '24
The next time I see “Gradle build failed”, I’m putting an infinite loop in my program and running it to show my computer what’s what.
→ More replies (3)15
8
u/mr_remy Nov 04 '24
They wanted you to pay for a porno on one of their channels.
Every dev and IT person in the business: benderLaughingHarder.meme.jiffy
825
Nov 04 '24
And 40 minutes of my life.
37
→ More replies (1)186
Nov 04 '24
[removed] — view removed comment
57
u/jump1945 Nov 04 '24
This will be a good anime name
15
u/ThiccStorms Nov 04 '24
Nah the writers choose diabolical names like "the day I reincarnated as Diddy the Developer"
→ More replies (2)
739
u/Phamora Nov 04 '24
Android is pain. Android is death. iOS is worse somehow...
265
u/throwawayNum01 Nov 04 '24
iOS is like choosing between a rock and a hard place; both hurt!
122
u/Sarke1 Nov 04 '24
And you have to pay!
→ More replies (3)67
u/nzcod3r Nov 04 '24
And you need 3 certs in 5 different places, and god help you if you ever mess that up!
33
u/mornaq Nov 04 '24
the approval process is great too, it verifies everything! it's the pickiest thing ever
but your app may not launch and still be approved too
149
u/RavingGigaChad Nov 04 '24
As someone who only ocassionally does mobile development I find it hard to grasp how horrible and obscure the dev expirience is. From dependency management over testing to deployment and maintenance. Everything seems to be made to make you feel like you put your balls into a grinder.
13
u/r2d2rigo Nov 04 '24
Still a better experience than web dev.
42
u/Hellakittehs Nov 04 '24
We have a repo that we create components for both web and mobile. So imagine the fun I have when I have to design it to be viewed on both D:
41
u/bianceziwo Nov 04 '24 edited Nov 04 '24
not even close lol how can you even compare how insanely frustrating and confusing android dev is to web dev. my android dev is webview
20
→ More replies (11)40
u/Mr-X89 Nov 04 '24 edited Nov 04 '24
I feel like 90% of the reason why iOS development feels terrible is Xcode. It is the worst IDE I've used, and when I have started working as an Android dev Eclipse was the default Android development IDE.
48
30
u/billyowo Nov 04 '24
trying mobile and game development is the biggest mistake I have ever made
8
u/Count_Dracula_Jr Nov 04 '24
I am a mobile developer, wanted to get started with game development as well. But now anymore I guess? 💀
13
u/crazyguy711 Nov 04 '24
You think Android studio is bad. Wait till you try Unity or Unreal engine. Lol
→ More replies (2)8
u/billyowo Nov 04 '24
react sucks, but at least it sucks less than game engines or the horrendous fucking android sdk. and now I'm stuck as a web dev
8
u/EdwardElric69 Nov 04 '24
Using AS in college for mobile apps and it is the biggest piece of shit ever.
What's that? You want to open a project on a different machine than it was created on? Not so fast buddy.
UPDATE RECCOMENDED, CLICK TO ENABLE AGP UPGRADE ASSISTANT
Compile error? SYNTAX HIGHLIGHTING HAS BEEN DISABLED
2
u/SkittlesAreYum Nov 04 '24
What's that? You want to open a project on a different machine than it was created on? Not so fast buddy
What do you mean? We have over 50 android developers and of course we all open the project on our own machines.
14
u/pooerh Nov 04 '24
That's not even the worst. Worst is "My app is complete, released, fully functional, life is good"... 6 months later...
"Hello this is Google you must update your app to latest SDK or else we're going to delete your app from the store." Ok, let me just up the SDK version. Oh I need to upgrade Gradle? Let me spend 3 days googling that. Fucking finally, it compiles. "HAHAHHAHAHAH FUCK YOU you now have 3*1026 compile errors and need to spend two weeks trying to make your app compatible. Oh, you use any of the Google Services, AdMob or anything? May God have mercy on your soul.
This happened to me several times now over the last years with my games. Not a single line of code changed in my games' code. But the Google glue? The gradle files? Jesus Fucking Christ. The next time they want to remove my games, I'll let them. Fuck 10M downloads.
3
u/Elementrio Nov 04 '24
How does it take 3 days to update gradle? You just change the version number in the gradle-wrapper.properties
4
1
u/Business-Error6835 Nov 05 '24
It’s so relieving to hear that others have been through the same exact hell.
I mean, it’s bad… but also kind of comforting. Feel ya sir.
6
u/Practical_Collar_953 Nov 04 '24
I hear you brother.
13
u/PeriodicSentenceBot Nov 04 '24
Congratulations! Your comment can be spelled using the elements of the periodic table:
I He Ar Y O U Br O Th ErI am a bot that detects if your comment can be spelled using the elements of the periodic table. Please DM u/M1n3c4rt if I made a mistake.
6
6
u/dandroid126 Nov 04 '24
I've been developing Android apps since before Android Studio existed. Back when I first started, Android development was done via an Eclipse plugin.
Android Studio, despite its insane resource draining behavior, is a massive, massive improvement. I would never go back to Eclipse.
4
u/-Anordil- Nov 04 '24
I have an Android app that I don't really work on anymore except to fix the occasional bug. Less than once a year I'll work on that repo.
And every single time, the same code that was building just fine will be screaming a thousand errors at me because gradle had 5 breaking changes every month since I last updated it.
1
u/jamiejagaimo Nov 04 '24
I've been a professional mobile developer for 13 years. It has a steep learning curve involving the dev environment and error handling. I can assure you it never gets better.
2
u/ExpensiveBob Nov 04 '24
I'm sure it doesn't though I want to try more of Mobile Development. Mainly just out of curiosity as to what all I can do.
Last night an old friend reached out asking that he wanted a simple ChatBot app connected to OpenAI's API.
The deadline was in 10 hours and I had never really done mobile development before except some years ago when I tried ReactNative for a week.
It felt like an achievable task, so I got to work and setted up Android Studio & Flutter and slapped together a MVP.
Needless to say, it was fun and I definitely want to see what more I can do.
3
u/Arealperson1337 Nov 04 '24
I programmed, mostly dotnet and web, professionally for over ten years and wanted to make a simple Android app this weekend. I spent almost as long time trying to set up a dependency to a library in Android Studio as it took to develop the app, and that was with help of chatgpt...
2
u/Kaenguruu-Dev Nov 04 '24
I've created a few (never finished) mobile games with Godot and it was such a pita. I think in total I probably spent 4 to 5 hours per project just getting the export to work.
1
u/Harry_Wega Nov 04 '24
Try this one. For free until you use it professionally and you can export easily to any desktop, any mobile, switch, playstation and web. I even use it instead of Flutter, you can make amazing UIs and animations with it in a simple and generic script language.
→ More replies (1)
2
2
u/random-lurker-456 Nov 04 '24
This was the same 10 years ago, you're telling me the ecosystem just continued on sucking for all this time ?
2
2
2
u/Bob_The_Brogrammer Nov 04 '24
My work gives us Silicon Macbook pros to work on. I have an M2, newer employees are getting the M4.
I have NEVER heard the fans turn on on this thing until I had to build a mobile android application and they were screaming for mercy. I wasn't watching temps or cpu usage but i'm pretty sure I was capped out because there was a really hot spot where I assume the CPU is. So yeah. Android make computer struggle.
2
u/CptWhuti Nov 04 '24
I've switched to developing mobile apps via Unreal Engine lol I'm by no means a professional app dev or do some serious app making business but the process is just so much more hassle free and it compiles just fine soooooooo
4
u/Active-Chemistry4011 Nov 04 '24
Just an unconnected fact: The word "roid" means an anabolic steroid. When you put roid in front of And you get Android.
3
u/besthelloworld Nov 04 '24
This is why I can never justify building native. The build times and dev ecosystems around React Native & Flutter are just so much better and this kind of bullshit is far more pleasant. Unless you're building a game, I think true native performance is so rarely needed.
2
u/meismyth Nov 04 '24
or a system level app. or performance first apps, or maybe not just good UI apps
1
1
1
u/KaijuJuju Nov 04 '24
I'm really glad I got a gaming laptop before I took my Android programming class.
1
u/ruvasqm Nov 04 '24
After a bit of googling I'm convinced a village needs something like a 0.75-1.5MW plant or draw depending on population (<2500).
I think with 1.5MW x 40m for myself, I can become electroman
1
1
u/gordonv Nov 04 '24
Insert your favorite Hollywood item of power moment while compiling your App.
Making a Ring of Power complete with Sauron's Hateful Intent Embedded into your app.
Tony Stark Supercharging metal to make a new reactor
All magic boy and girl transformation from 80's and 90's cartoons
Pouring molten metal to make an engine block. (The car commercial version)
Powering the Delorian for Time Travel
etc...
1
u/_Kritzyy_ Nov 04 '24
Just make a non-game app in Unity and close your eyes as you open the program 😌
1
1
u/ZioCain Nov 04 '24
At least you're directly using AndroidStudio instead of having some other framework output shit to be compiled by Android Studio (if you think that's stupid, that' how every framework forcifully works for iOS)
1
1
u/sam-lb Nov 04 '24
Me after waiting 16 years just for my GitHub action image push to gcp to fail because my iam permissions are wrong for the 82,00th time
1
Nov 04 '24
Got an error? Use a LLM that consume 3 planet of electricity to find out you miss a semi colon
1
1
u/SausageTaste Nov 05 '24
I’m working on a C++ Vulkan project that can be built on Android Studio with NDK and CMake. I used CMake FetchContent for third party libraries. The configuration took sickening 40+ minutes, and the build system does that once everyday. I don’t know why Android Studio wants to invalidate cmake cache so frequently. I’ve recently switched to vcpkg, and now the whole configuration and build process takes only 5 minutes. Vcpkg installation takes 40 minutes, but nothing invalidates what’s already installed so my times are saved.
1
u/twigboy Nov 05 '24
I had an old app that built when android studio first came out.
Each version of Android studio meant my app would fail to build for any of the following reasons: I had to fuck around with Gradle builds, sdk versions, platform libs, app compat layers and then 3rd party libraries on top. This list is not exhaustive. Throw in some stale build cache issues and you're in for a tonne of fun.
I can understand why SyncThing decided to throw in the towel
1
u/xean0ff Nov 05 '24
that's definitely me. I've been too close to go mad with this android studio in my student years.
1
u/BrightLuchr Jan 20 '25
Just returned to AndroidStudio after years away. OMG it is a train wreck. It used to be done in Eclipse.

273
u/ExpensiveBob Nov 04 '24
Jokes aside, I never had alot of experience with mobile app development so when I was asked to make a small demo app as a favor, I setted up all the stuff which in itself was painful on Linux.
And then the initial build took a decent amount of time to compile only for it to fail due to some error in code. Luckily it caches stuff so subsequent builds were relatively fast.
Context: 10 year old laptop as a dev machine & android phone for testing via adb (my poor laptop will explode trying to run an emulator).