Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "build gradle"
-
Android development is like:
- 30% of the time is coding & debugging
- 70% of the time is waiting for Gradle to build16 -
Android Development be like:
- Has great idea for app or feature
- Boots up PC
- Starts android studio and creates new project
- Build error
- Gradle build failed
- Android studio crashes
- Java Error
- Shutsdown PC
- Goes and hangs himself
Pretty accurate if you ask me 😀😀😀😎18 -
Android studio gradle takes so much time to build. I decided to draw something to kill time whenever it build.
Day 3: Starlord is nearly complete.10 -
Me at the office, Boss calling me by phone..
Boss: Hi, I need a new Build of XX Android app for another client.. set the base address at x.x.x.x and send me an APK file
Me: OK, I will do it.
Boss: can you do it in 5 minutes?
Me: Sure, it's simple..
Android Studio: You think it's simple !
* Indexing Files
* Sync Project
* Gradle Build
* Indexing....
* Some f* tasks
Oh kill me now !!4 -
I have been a mobile developer working with Android for about 6 years now. In that time, I have endured countless annoyances in the Android development space. I will endure them no more.
My complaints are:
1. Ridiculous build times. In what universe is it acceptable for us to wait 30 seconds for a build to complete. Yes, I've done all the optimisations mentioned on this page and then some. Don't even mention hot reload as it doesn't work fast enough or just does not work at all. Also, buying better hardware should not be a requirement to build a simple Android app, Xcode builds in 2 seconds with a 8GB Macbook Air. A Macbook Air!
2. IDE. Android Studio is a memory hog even if you throw 32GB of RAM at it. The visual editors are janky as hell. If you use Eclipse, you may as well just chop off your fingers right now because you will have no use for them after you try and build an app from afresh. I mean, just look at some of the posts in this subreddit where the common response is to invalidate caches and restart. That should only be used as a last resort, but it's thrown about like as if it solves everything. Truth be told, it's Gradle's fault. Gradle is so annoying I've dedicated the next point to it.
3. Gradle. I am convinced that Gradle causes 50% of an Android developer's pain. From the build times to the integration into various IDEs to its insane package management system. Why do I need to manually exclude dependencies from other dependencies, the build tool should just handle it for me. C'mon it's 2019. Gradle is so bad that it requires approx 54GB of RAM to work out that I have removed a dependency from the list of dependencies. Also I cannot work out what properties I need to put in what block.
4. API. Android API is over-bloated and hellish. How do I schedule a recurring notification? Oh use an AlarmManager. Yes you heard right, an AlarmManager... Not a NotificationManager because that would be too easy. Also has anyone ever tried running a long running task? Or done an asynchronous task? Or dealt with closing/opening a keyboard? Or handling clicks from a RecyclerView? Yes, I know Android Jetpack aims to solve these issues but over the years I have become so jaded by things that have meant to solve other broken things, that there isn't much hope for Jetpack in my mind 😤
5. API 2. A non-insignificant number of Android users are still on Jelly Bean or KitKat! That means we, as developers, have to support some of your shitty API decisions (Fragments, Activities, ListView) from all the way back then!
6. Not reactive enough. Android has support for Databinding recently but this kind of stuff should have been introduced from the very start. Look at React or Flutter as to how easy it is to make shit happen without any effort.
7. Layouts. What the actual hell is going on here. MDPI, XHDPI, XXHDPI, mipmap, drawable. Fuck it, just chuck it all in the drawable folder. Seriously, Android should handle this for me. If I am designing for a larger screen then it should be responsive. I don't want to deal with 50 different layouts spread over 6 different folders.
8. Permission system. Why was this not included from the very start? Rogue apps have abused this and abused your user's privacy and security. Yet you ban us and not them from the Play Store. What's going on? We need answers.
9. In Android, building an app took me 3 months and I had a lot of work left to do but I got so sick of Android dev I dropped it in favour of Flutter. I built the same app in Flutter and it took me around a month and I completed it all.
10. XML.
If you're a new dev, for the love of all that is good in this world, do NOT get into Android development. Start with Flutter or even iOS. On Flutter and build times are insanely fast and the hot reload is under 500ms constantly. It's a breath of fresh air and will save you a lot of headaches AND it builds for iOS flawlessly.
To the people who build Android, advocate it and work on it, sorry to swear, but fuck you! You have created a mess that we have to work with on a day-to-day basis only for us to get banned from the app store! You have sold us a lie that Android development is amazing with all the sweet treat names and conferences that look bubbly and fun. You have allowed to get it so bad that we can't target an API higher than 18 because some Android users are still using devices that support that!
End this misery. End our pain. End our suffering. Throw this abomination away like you do with some of your other projects and migrate your efforts over to Flutter. Please!
#NoToGoogleIO #AndroidSummitBoycott #FlutterDev #ReactNative16 -
Come on Mac... We already have industry legends like Windows updates, Gradle build etc.. you don't want to be part of that legend :(8
-
*Adds new dependency*
Me: *Pray while syncing*
*Gradle project sync in progress*
*Gradle build finished in 9s 211ms*
Me: Thank you, Lord5 -
You've got to love Android development.. :D Just grabbed my laptop to start working on an idea I just had. Launched Android Studio to do some quick coding..
Update for the repo's..
Update for the IDE itself..
Update for gradle..
Started project. Need to update my build tools..
I.. I.. I just wanted to do some quick coding :D
*edit* Just tried to run the project.. "Acceleration driver is out of date, please update Haxm" .. Damnit..7 -
*Downloads Android Studio from the official Android website*
*Opens Android Studio*
Android Studio: "Error: Process command usr/local/android-studio/jre/bin/java finished with non-zero exit value 127
Me: I didn't even do anything yet. I guess I'll change the default Java directory to my native Java JDK
*One hour later*
Android Studio: 50 errors occurred during the Gradle Build.
Me: ( ._.)3 -
> Gradle build finished in 32 seconds
As if you did, fucking cunt. I've only watched half an anime episode and commented here and there in the meantime. Surely that'd be 30 seconds. Perhaps Gradle, you could've taken all that extra time to learn how to fucking count.
Android development, what hell am I getting myself into...5 -
Le Me: well it is the time to go back on that Android project and resume the work.
*Open Android Studio, open the project.
*Wait 10 minutes for build/index
*error: gradle outdated, that is ok, update it.
*error: some library needs update
*error: R not found
*error: internal IDE error.
*Clean Project: PC hangs, Fan go so fast..
Shit ! I even not touched the code !8 -
April fools day prank idea:
1. Replace all semicolons with Greek question marks
2. Add a Gradle task that automatically fixes the semicolons, but only when run on the build servers
3. Watch as people get confused because the code builds in the server but not locally3 -
Not a rant about anything in particular. Just a summary of some feelings stored in the hateful part of my heart.
Developing for Android: Add this third-party library to your Gradle build. Use (this) built-in Android class to make the thing work.
*Clicks link
Deprecated since API version SUCKMYDICK-7. Use (this) instead
*Clicks link
Deprecated since API version LICKMYBALLS-32. Use...
Developing for Windows: Please use (this) API call. It was literally already available before Bill Gates was born. Carbon dating has placed this item to older than the universe itself and it is likely the entry point for the big bang. It is also still the best way to accomplish (task).
Developing for Linux: "Hmm, I wonder how to use this"
> > > Some shitty mailing list in small blue monospace font tells you to reference a man page that is three versions behind but the only version available.
What? Those three sentences didn't explain it enough? Well, maybe you aren't cut out for this type of thing.
JavaScript: you know how it is.
SQL: You expect a decent-quality answer from stack overflow but you always get an outdated and hacky response and it's using syntax from Microsoft SQL. You need MySQL.
C#: A surprising number of Microsoft forum results ranking high on Google. You click on one in hopes that it will be of any sort of quality. You quickly close the tab and wonder why you ever even had hope.
Literally any REST API: Is it "query" or "q"? "UserID" or "user_id"? Oh, fuck, where's the docs again?
You thought you escaped JavaScript, but it was a trick!: Some bullshit library you downloaded to make your other library work redefined one of the global variables in the project you inherited. Now you get 347 "<x> is not a function" errors in your console. Good luck, asshole.
FontAwesome/ Material fonts/ Any icon font pack: You search "Close" for a close button icon. No results. You search "Simplified railroad crossing sign without the railroad". You get a close icon.
I think that's all of my pent up rage. Each of them were too small for an individual rant so I had to do this essay.2 -
People out there are getting married, having kids, dating their crush and here I am staring at gradle build to finish with 32 errors and 10 warnings,life is that easy 😐9
-
I don't know which should make me worry:
1. the fact a gradle build for a new project is taking 90% of CPU
2. The fact CPU Freq isn't going higher than 2.18 when it can go up to 3.1?
3. The fact gradle is always taking 5 minutes to build when it used to take 1 minute for a medium project?15 -
"i love the smell of possibility in the morning" i said.....
"Gradle build failed with errors"
--computer replied :)1 -
I know people complain about Android Gradle takes so long to build (and I know the reason why, thanks to @DRHAX34) but for me that isn't what I have to wait for.
It's the shitty WiFi at work that causes issues/bugs I'll never experience normally lol
When my app builds I have to also connect to the internet and check for updates against the umbraco server, and it works if it fails to connect (naturally) but our internet somehow manages to stay connected enough to trick the app into doing continuous checks or some form of tiny and long downloads
I've been tempted and sometimes do use my own mobile data which would waste my tiny data (at the time)
Anyways fuck you shiternet lol -
What's that name of that classic fairytale about that boy that struggles with build automation?
...
Hansel and Gradle -
Summer is coming, and i suppose all of you will buy a new barbecue to cook some meat, but i have another economic alternative.
How to make a homemade bbq:
1) Take an old laptop
2) Turn it on
3) Install Android studio (also works with intellij)
4) Add a lot of gradle (or maven) depencies
5) Code something cool (or not)
6) Build and compile it
7) Now you can put your meat on your laptop
8) Enjoy your meal13 -
Feels like I found value of "NAN"
i.e, finding non-ranter dev @ devrant!
"Write no rant
Comment no rant
++(view) all rant "
@Ghored
I guess he should be given a badge or something!
Never able to achieve that stage of satisfaction,
Bsod in windows,
Grub rescue for Linux,
Gradle build problem for android,
404 errors,
What not ?
Yet I really feel like today , I met a ironical legend of dev community!
A full bow to you my friend4 -
Better gradle they said.
Builds faster they said...
There is a difference between faster and less slower.4 -
I always thought android people were just a little bit whiny, but now that I'm developing an app in my free time I feel you.1
-
My Android Studio couldn't build Gradle even after fuckin' 42 minutes. Finally I had to force stop it.8
-
Honestly fuck Android development and gradle. If I have a perfectly fine build from 6 months ago I expect it to still be working when I need to update two lines. FML4
-
If you start your Gradle build at 11:50 pm on New Years Eve, you'll be able to start resolving your compile time errors by the time the clock strikes midnight.
Kick off 2018 the right way.3 -
Dear Gradle,
I just modified a single attribute value in an XML. Please!!
You just built the whole thing a few minutes ago.. Why do you wanna... Oh well...
Gradle build running....7 -
That moment when you try showing an issue to your senior developer and gradle takes forever to build.
Clicks build...
Goes to get coffee.
Takes a sip.
*1500 sips later*
Gradle build still running...2 -
How to take off with a jet:
1. Have a 2013 MBP
2. Don't clean the coolers and exhausts for 5 years
3. Transpile an app and start a gradle build
4. Enjoy your machine taking off at around 100°C
FFS Apple, 100°C is not OK. Neither is having the fucking fans so loud I can hear them over my headphones. I should probably clean the laptop... Not sure I can open it up though. Company-issued machine.7 -
The advantage of programming in Android studio is that you can read a chapter of your favorite book, watch a series or do a little exercise... Thank you gradle2
-
So today installed this plugin on all my compatible JetBrains IDEs:
https://plugins.jetbrains.com/plugi...
Especially as an Android dev I look at Gradle build progress bars about 99% of the time, so better make them look great while I'm at it.7 -
FUCKING FINALLY TIME!!!
I did it! I made IntelliJ IDEA find my Android SDK installation!
Thanks SO!!!
Now I can experience the joy of Gradle build times!!!
Why did Google had to make so difficult to work with Android without its Studio?!?!?!12 -
I really like Kotlin as a language, but Gradle makes me feel nauseated.
Pulling in deps without getting errors, then the library won't resolve because of some version mismatch (still, no error or warning on build, until I try to import the dependency in the code, and then just "unable to resolve <library>" without details). All of the documentation on the internet is either super specific for Android projects, or for an ancient Gradle version. Feels like I'm back in Haskell's "Cabal Hell".
*runs back into the loving embrace of Cargo*.
What was I thinking, trying to write an application in something that's not Rust.5 -
hey there I'm developing an android app,
started the work back in 2013 ,
waiting for gradle to finish the build
#androiddeveloper -
Gradle build, gradle build,
Builds whatever a gradle builds
Builds projects, any size,
Catches errors just like flies
Look ooooooout!
The gradle build has failed5 -
Fuck android studio in the ass with cactus.
*starts learning Android*
*Builds simple application with 1 Button, 1 TextView and 1 EditText*
At this point, I haven't implied any logic or code in MainActivity.java.
*Hit Run*
*Gradle Build*
*Meanwhile, eat lunch*
*Still Gradle Build*
*After 2 Eternity, Build finished*
Fucking, slow peice of shit. I'm rebuiliding the App, because the AVD timedout while running.18 -
Dear Apple: FIX YOUR FUCKED UP IDE!
Generating IPA file takes ages, freezes the shit out of the mac and to make it even worse a full clean -> build -> Generate Signed APK on slow ass gradle takes barely 5 minutes while XCode takes ages9 -
>Installed Windows 10 Insider Build
>Opened Android Studio
>*creating Gradle project info*
>BSOD
:(2 -
Fuck Java and its related build tools.
Decided to throw caution to the wind and actually try to build a Java project, from scratch.
Install intellij, except it keeps complaining about the missing JDK, openjdk is installed but it doesn't like it.
Ok, whatever, I read that it's supposed to come with its own and so I point at that, no dice.
Ultimately I stumbled upon a stackoverflow post saying to just download the tgz JDK and just use that, I knew I could do that, but I wanted to use the tools the P environment suggested, but gave up.
Ok, so now I've got intellij and JDK installed, and I want to start my automatically generated project.
Except I now need gradle, fine, whatever, and now gradle complains it can't find the JDK...
Fucks sake... I was happy using Lein and Clojure, I didn't realise how fucking complicated it is to set up a Java IDE these days...9 -
I was using chrome + Android studio simultaneously on my windows. I saw 3 episodes of 'friends' while my Gradle build finished.2
-
Oh my motherfucking God...
How the fuck can a dumb IDE be so fucking slow? I entered the office at 8:15. And I am still unable to checkout a motherfucking previous version of an android app in git and get Android studio to build it, because the fucking gradle is so damn slow it freezes the GUI. WHAT. THE. FUCK. Android studio get you shit together and maybe, just maybe don't be such a dick!!!
You need 5 min to open that project and another 10 to build it ONLY FOR ME TO REALIZE THAT I HAVE TO REPEAT THAT WHOLE PROCEDURE BECAUSE I NEED A DIFFERENT APP VERSION FROM THE GIT REPO FUCK YOU YOU SHITFACED STUPID COCKSUCKING CUNT, SHIT FUCK ARRRRGH!!!
Sincerely,
Me.
Edit: now it's 9:35 btw6 -
So lets start here, as i have been preparing myself for a while for that rant. I have been putting it off for a while, but today I had enough.
Fuck react-native and fuck facebook react-native team. Bunch of lazy incompetent twats.
The all amazing framework that suppose to be speed up your development process, since you don't have to compile your code after each change. SO FUCKING WHAT if the god damned framework is so fucking buggy and so fucking shit that you constantly have to fix build, dependancies etc issues. Every day since I work on this project that is using react-native I have to deal with some of the react fucked up behaviour. You got an issue ? don't worry google it just to find out that 100 other people had the same issue. Scroll through down the bottom of the page just to find out that facebook devs have closed the issue as resolved (without fucking fixing it) because there wasnt recent replies to the post. Are you fucking kidding me? It's ok thou, create a new issue just to get an automatic reply from the bot that locks the thread and keeps it locked till you update your React-native version to the newest one. You do that and guess fucking what? Their newest version fucks up remote debugging on iOS(fucking android been broke for over a year) so say good bye to debugging your js code. Documentation is fucking trash. You found a nice function like autoCaptialise on your text input? Great! Ah wait, its not fucking working, what is wrong? You google this just to fucking found out it, function never worked on android, so why the fuck you still have it exposed and still have it in your docs? You want to add package? So fucking ez, just type npm install <name of the package>. Ha! fuck you, you still have to go and add them fucking manually in gradle in android and in pod in xcode, because obviously react-native is a one big fucking bullshit. Oh and a scroll view is a fucking glorious highlight of that framework, try add some styling to it, you gonna have loads of fun. Fuck react-native. And fuck the fucking idiot who convinced my boss that framework is so fucking great and now I have to work on this shit. Sincerely Xamarin Developer.9 -
So this happened with me today.
Me: Will you be Gradle of my Android Studio?
Girl (Designer): I can't build you.
Despite the negative, my affection increased twice fold on her now. -
1. Hits "Run" in Android Studio.
2. Goes to make coffee knowing Gradle will take a while to build.
3. Comes back after 30 minutes.
4."Select Device"
Fuuuuuuck!😠😠5 -
So, I had to listen very badly in a scrum about my poor code quality. Just because I haven't used the latest version of the library in my gradle build file, I haven't used DTO in the response of few endpoints in the controller class instead I used entity,... Etc was the mistake.
I admit that I have a long way to improve myself and there is a lot to learn, but there should be a proper way to escalate the situation rather than publicly pointing out mistakes rudely.
He is a senior with 10+ years of experience who badly told me in the scrum and not only that whenever there is a change needed in my PR he takes the screenshot and puts it in our dev team group and shows the mistakes and gives the suggestions instead of writing comments on the github PR.
Not only that, if I inform in the daily updates that I took 2 hours for this and that task, he says it should be done in 20 to 30 minutes.
Upper management has given him a lot of respect because he is knowledgeable and knows the stuff but it doesn't mean he is entitled to behave like this and demoralise other juniors.
The matter is cool now but this incident happened to me a few months back and those days were really toxic for me at work.6 -
I can literally remember back in January 2015 when android studio was a fat piece of slow SHIT and to boot up an emulator it took me 5-20 minutes. Gradle build took 1-2 minutes. I was dying.
Now 4 years later in 2019, it still might be fat but godfckindamn it is fast. Emulator boots up in 2-4 seconds. Gradle finishes in no more than 6 seconds. Hierarchy opens up in less than a second. Performance statistics and analytics no longer lag or have latency.
Google has finally done a great fckin job fck u thnx3 -
We're all on gradle and we had a new guy who started a project with Maven. He also used atom editor for Java/Scala code (even though we had a license for Intellij), and refused to use anything with code completion (or turned it off if there was an option). My boss had to explain basic git branching to him, his pull requests were missing build files, READMEs and he'd check in tons of scripts to run things instead of using maven/gradle.
I just thought he was weird, but I didn't look at his pull requests close enough to realize how bad his code was, until they fired him earlier this week. -
hey... can I build a FUCKING android image that uses a camera library?
react-native-camera: deprecated, no longer maintained
react-native-vision-camera: it's like globalthermonuclear war with versioning and patches and support and splat splat bullshit in that repo, don't even dare look at the issues there, trust me, please
react-native-camera-kit: doesn't compile for targetSdk 33, no matter what the FUCK you do
jesus christ i want to scan a fucking QR code with my app and my gradle configs have turned into world war III where the fuck did we go wrong folks8 -
I am become gradle
destroyer of builds
look upon my works, ye mighty, and despair
Why can't zip/tar tasks work like copy tasks? Whyyyyyyy?
I got it working--abusing tasks.create--but hot damn this should be easier. -
Why people think that Mac is better than pc? Im Mac user and I like Mac. I think Apple just uses better hardware and charges extra for it. If you build windows with better hardware then windows will work really fast too. On Mac gradle build takes really less time because of SSD it does not mean Mac is faster. Get SSD for windows and see the difference yourself.
- P.S. Not hater of any OS.6 -
In a conference video call of our tech team, someone remarked how he used to believe his laptop is so powerful until the day he installed Android Studio. To which I remarked, it takes somewhere around 10seconds on my machine to build this up. No wonder it became a butt of jokes, someone would say my laptop has a nitro-booster, or I build Hello World Programs. I literally had to show them screenshots and gradle build logs.
-
My new colegue at work was tasked with getting familiar with some Java code that had security vulnerability. He complained about slow build time for the first hour and then I stopped paying attention. At the end of day I checked on him and was like wtf how are you still trying to build this.
Turns out he ran Gradle task bootRun and watched logs of working app for 8 hours because he thought that's build xD -
Why python can't into proper dependency management?
I Node.js we use npm. Modules are downloaded per project and packaging is easy.
In Java we use maven/gradle. Never been so easy to build and download libraries and package your project.
But in Python? No, it's not easy. You have to use virtualenv first so pip/anaconda won't download globally, then you must write setyp.py in a million different ways. Packaging and distribution to clients? Good luck with that.21 -
Vodafone India is so shit omfg
Run npm install, ERROR json parse error due to ssl exception
Run pip install, again ssl exception
Run gradle build, again ssl exception!!!
Now everytime i gotta make a new project or install a dependency in anything, i have to pray to the blood god that cache contains a valid/uncorrupted package dependency or else ill have to nuke cache and borrow internet from someone else.
Once i port it to some other operator, i am gonna incinerate this mf sim.12 -
"Error: Program type already present"
So f--ing what? Ignore the doublon and MOVE ON WITH THE COMPILE, JAVA! -
Trying to start doing stuff with C but CMake is very confusing and I can't find anything solid (and easy to read) about setting it up and including depends and what not. We are totally spoiled in Java with tools such as Gradle or Maven.3
-
What the f*** is this gradle in Android Studio??
M getting tired with this error. Whenever m starting studio it stuck on waiting for build to finish project.. I already done with checking offline work still it's not working.. What the f*** should I do with this error??9 -
All day emails are flying with executives, managers and leads jerking each other off after a "successful" migration from old, weird ass in-house custom java build tool that took hours to build anything and required the dependencies to be downloaded manually, to mainstream tool that also takes hours to build anything aka. Gradle.
What the code monkeys responsible for this migration actually did, was write Gradle plugins that still call that old weird ass tool in the background.4 -
Damn i want to make an Alarm to alert me when Gradle is finished building.
When waiting gradle build i always get mad because sometime i always left it to do something else and then forgot about it and ended up coming back with more wasted time.6 -
Co-worker put up a pull-request for his work, with no build file, no readme, no gitignore, and shell scripts for running the app (but not compiling it). O_o
The guy has been using atom editor even though we have license for Intellij for everyone, which .. whatever .. if it works for you...
In our daily stand, people offered to help him add the build files and he was like, "No, I know how to do it, I was just trying to avoid using Gradle until I had to."
It just made me think, "Yea I know you have all these nice screw drivers and hammers, but I'm going to keep using my hands and this stick so I can avoid using tools until I have to." -
Took over an Android Studio project with Gradle. Here are my results:
Time to make code changes: 1 hour
Time to setup, configure, and build app: 1000 years -
Is it just me or is Java really uninspiring as a language? And are there any Java build tools that don't sound like 90-year-old women? Maven, Gradle...3
-
since everybody seems to hate gradle i would like to say how much i like gradle for its possibility to build even big java projects from the commandline without the need of a a lot o scripts and especially the possibility to create a wrapper in order to use it even when its not installed on said machine.
it is the only reason why i am learning java now (i fucking loathe eclipse at the moment).
and regarding its speed. i had both. windows and linux. and for some reason i could only verify its slowliness on windows.1 -
It could just be me, but I feel lime I have an extreme lack of money to pursue projects. I know java really well, but I want to develop android apps. That's fine until you consider the fact that the only computers I have available to me at my house are very old. A gradle build in android studio on my PC takes <10min. So I just really need a better computer which means I need money which means I need a job which is unlikely because not many people hire 15 year olds. In fact, my parents bought a laptop last year for me to use, but my older sister fried the video out component on the motherboard so it needs a new one which is ~$3001
-
To Android developers:
ALWAYS use annotations for service classes when using minifyEnabled option in build.gradle!! I learn it in the hard way 😐 -
Who the fuck thought java development is okay on a VDI ! Eclipse runs shit even on local environment and running it on a vm located in a different country with 3gb of vram?
You want to do a file search? Wait for 5mins
You want to. Build via gradle. Wait for 15 min
Fucking idiots.1 -
Please update your Android Studio or your computer to the newer versions and stop ranting about Gradle build time.
Please!!!2 -
Was recently in a motorcycle accident and haven't been cleared to go back to work yet so I'm trying to build my first Android app.
I don't know Java, XML, kotlin, Android studio, or what the fuck a Gradle is; but I figured I'd take my app idea and download Android studio then try winging everything from there.
Needless to say, I'm having a damn hard time lol. I have been watching firebase tutorials on YouTube to try and figure out how to add authentication to my app. I kinda got it working in the AVD. But my personal Google account has 2FA enabled so I can't seem to get the app to sign me out, or sign me back in. (I was able to authenticate once successfully.)
I have no idea if having 2FA enabled is even the problem. I tried turning on debugging and can't seem to figure out how to actually get the app to debug or get a debug console open.
I seriously feel like the world's biggest n00b right now. Going to go YouTube/Google how to get the debugging working. Then I'm off for a round of learning how to read a debug report!
Hahahaha... Kill me now -_-'2 -
tl:dr
i fucking hate that professor for whom i have to work on laboratory project right now.
reason#1
the project is using a stack full with java. JavaScript. react and some weird facebook api of which i have no clue about. not to mention the server side of this application which uses tomcat (ok its java after all) and sql.
well that wouldn't be not so bad if...
reason#2
we wouldn't have to fucking debug his mistakes he put into the fucking prepared code AND his fucking useless instructions how to set up the project for eclipse the first time. not to mention his fucking requirements which make no sense
oh yeah im a student. i can always go and ask him for help if i need any...
reason#3
i have another 70% mandatory course at the same time and that fucker refuses to upload hos sheets in moodle and answer even one fucking question via mail. not to mention no support if I am there unless i have eclipse setup. even through the projects should be build using gradle...
reason#4
oh. and have i mentioned that this course is only about design patterns? uts not like we could see several of them in a java only application. no we literally have to learn java itself. gradle. nodejs JavaScript Extended for react which i have no clue about at the moment... and yes i especially mentioned gradle and nodejs beccause we have to set shit up and not only use a script.
reason#5
and all that wont even give us a grade. no ita simply a pass or fail part of the module which the course is part of.
have i also mentioned that the whole shit should be done in 20 hours according to the schedule8 -
Not sure if it is because my computer is older, but my demo app is taking forever for gradle to build! Now I can procrastinate without feeling bad! 😁😁
-
Well, look at the brighter side Android developers, that long time gradle takes to build gives you the much needed break, doesn't it?undefined gradle sync my ass android studio time wasted android dev android gradle gradle kills on i34
-
I can't shift to kotlin because my company is fucking around on being on Java 7 (with retrolamdas *wink*), where it takes 10 minutes for a gradle build.1
-
/rant on
React Native is BS for Android. Outdated as hell Gradle builds (1.x for certain plugins I mean wtf) and it targets outdated SDK and build tools... Why no simply code for system your software is meant to work :P
/rant over
In seriousness, I get the concept of build once deploy on all platforms ala Electron but better but hell why is the tooling so outdated?1 -
Working on a project.
New gradle update comes out.
Updates his gradle.
Nothing works anymore!
Moral of the story.
This is why you should mind your own business. -
Why the fuck is gradle so horrible.
I literally have no idea why anyone would ever use this thing (other than being forced too because somehow the rest of the world is using it).
Every plugin has an arbitrary DSL that you have to magically know by piecing together enough snippets. At that point, no one is actually intuiting anything based on the beauty of the DSL, every build is a frankenstein of different snippets that were pasted from different versions of gradle blog posts or SO posts.
And if you do get it o work then the DSL changes, or it isn't compatible with another plugin.
I just want to write a fucking integration test in Kotlin. Can I just add an `integrationTest` task in `tasks` right next to `tasks.test`? No, obviously it goes in the `kotlin jvm() compilations` section, DUH.
The first thing anyone in the universe should have asked is "how is this better than literally hand writing a makefile"? At least then I would be able to see the commands that it ran.
Now I'm googling how to make the new jvm-test-suite plugin work when you're using the Kotlin plugin but every single result on Google for `jvm-test-suite kotlin` just returns the docs for jvm-test-suite (whose snippets obviously didn't work in my project) because those doc pages have "Kotlin" written above each of the gradle snippets.
Please just end this.
Oh and dev rant sucks too. It thinks anything separated by dots in a url.2 -
Dafuq is wrong with Android Studio, build error report is useless every time I have error in one of my files I need to run gradle assemble debug manually to know where the fuck is my error
Like now I changed type of a property and as usual build report showed error in Databinding auto generated class instead of pointing to my fragment where the error should be3 -
Android Studio the most complex software i have ever used!!
Gradle build!!
Helps me in winter and keeps me warm 😅😅😅 -
Hey Android Studio when I put you to bed you was happy and we had so much fun! Why in the morning when I open my project you complain about build issues? What changed?...
Oh, I get it GRADLE is messing you up again! FMDL2 -
Getting settled on a new team. They are using this custom built Dependency manager/Build tool. I’ve now wasted 2 weeks trying to get it up and I haven’t started my actual issue item yet.... sigh I wish I was on the team that uses Gradle.1
-
gradle is infuriating.
firstly there are so limited resources to understand how it's building a java/android code. everything happens by magic and hit+trial
secondly the plugins and the tasks works in mysterious ways. sometime they work when applied in the project root's gradle file, other times they work when applied in module's gradle file, nd other times they need configuration at both levels.
then there are gradle tasks like build ,test, assemble , clean etc. these are less of an action and more of an alias to run a bundle of actions.
then we have 3rd party plugins which attach themselves to these "fat-actions" and run before/after them
and finally we have the fuckup from the java world where the only available code coverage plugin is jacoco and IT FUCKING SUCKS!!! it is a test environment plugin, it should impact test tasks , but somehow it's fucking with the assemble taskin such a manner, that the jars ans aar files generated via plugin are giving runtime errrors. yes , runtime! as if we are back in the messed up js world of "everything is good unless running live"
even if it was a compile time eeror, i would have considered. but runtime?!! fucking runtime error?! i barely understand this shit, there is absolutely no info available as to which classes are being used to create a build and how, and i am supposed to fix this? wtf?!4 -
I started with my first Android project. Here are some of my observations.
Turning of fossil into fuel - 650 million years
Transformation of a star into supernova - 10 billion years
Complete gradle build - fuckzillion years2 -
Gradle,Android Studio
Boss: Great job can we change the UI by using a custom view..
Me:Hesitating a bit sure we can.Head back to my station and consult Stack overflow and start implementing.
Boss:Five minutes later you done and how is it so far.
Me:Am done am just rebuilding and cleaning my project yet in reality ain't done.Gradle built time to my rescue.
Boss:How comes it taking long yet you got a high end machine okay then let it built.
Me: Breathing a sigh of relief thanks gradle1 -
Why does it have to be so difficult to get unit tests to run? Spent about an hour yesterday trying to get a single test class to run and it kept complaining about a compiler error in a completely different module. Went to the file and there was no error. WTF?!
In the end, checking the “delegate build actions to gradle” box made it go away. why..... -
When I moved to another company there was Android app, with 5K lines of HTTP Service class, with apache legacy library, with maven and tons of garbage.
now, it has gradle, multiple build types, flavors, multiple source sets, RxJava, Java 8, ButterKnife, modular dependency, I always do profiling and APK analyze and tons of essential and cool features.
Project started last year but what the heck?
Dude, I will find you,and I will kill you! -
So, I have a pretty decent understanding of big complete languages like Java, I build android applications following several design patterns, solid principles, building big stuff with databases and servers and libraries interconnected with gradle, tracking everything with git, using tdd and functional programming capabilities blablabla ... And I still have trouble making sense of a FREAKING STUPID SHELL SCRIPT I MEAN WHO CAME UP WITH THAT SINTAX I HATE IT SO MUCH OMG I CAN'T EVEN
But for real everytime I need to read a '.sh' I literally wanna throw my computer away and die. Am I alone? -
What is wrong with Android Studio it used to be better just the sheer number of updates and the gradle build oh the gradle build5
-
I have tried so hard to add some dependencies on react-native (android). Always fails when build gradle, many dependencies are mismatch.
Go fuck my project.2 -
First time using Expo in an already built React Native project. Good thing makes project lighter and easier to work with on slow devices.
However:
Bye bye Gradle build
Hello Build queued, let's see how this will go -
In morning I thought to complete my work asap so I quickly went to office, started my laptop
....... after few mins it started.
I clicked on Android Studio Launcher......................................................................................................................................................................................................................................... (after 15 mins) it started.
I clicked on the project to load..........................................................................................................................................................................................................................................................gradle is building message................................................................................................................build.gradle message..................................................................................................................after 30 mins it loaded.
Finally I did some code, made some UI changes in layouts and clicked on RUN :(
............................................................................................................................................10 mins.......................................... another 10 mins.............................................................................................. after 28 mins it ran on my device. At this moment I couldn't think to start emulator..
In the end I couldn't complete my work.5 -
Either I missed it in the docs or Google actually changed it, spent 15 minutes trying to figure out why my app isn't building and why build log is not showing anything other than: Build failed
Until I manually ran gradle build process instead of making Android studio execute it.
Am I missing something? .-. -
Good times: Migrating a Jenkins build pipeline patched together out of groovy, python, bash, awk, perl scripts and God knows what else since I have only scratched the surface so far, from Maven to Gradle while not breaking day-to-day builds, integrations and deployments of features, hotfixes and releases. I'm actually enjoying the challenge but it's taking forever due to several issues:
- Jenkins breaks/hangs randomly because it's Jenkins
- Gradle can't handle sets of version ranges but Maven can
- Maven can't handle Gradle style version ranges
- Gradle doesn't have a concept of parent poms, you need to write a plugin and apply stuff programmatically. But plug-ins being part of the buildscript{} don't fall under depency management rules :clap:
- Meme incompatibility issues of BSD vs GNU versions of CLI tools like sed, grep etc1 -
gradle builds are so much more streamlined than maven. it's such a hassle working with long xml files. -_-1
-
To my surprise, I recently found a documentation page written by a specific co-worker of mine, which I thought could only mean he had decided to leave the company and thereby was forced to write that. Later I found out I was right about that. How sad is that? I mean that someone refuses to document his work in any way, not that this person has actually left the company. The only information on the page was something along the lines of: "Uses the gradle build system.". Ah, and "you have to have Java installed". Thanks, mate. Couldn't have figured that one out.
-
Working with windows and android studio makes you sitting crying in firnt of you laptop, repeatedly singing "i hate you i love you"
And obviously if you are googling what makes android studio so slow( not while gradle crap builds!) some people also write that android studio has no problem on linux. Fuck7 -
Do I really need to build and publish a plugin using a gradle-based workflow in IntelliJ IDEA Ultimate, only to customize some UI colors in my PHPStorm IDE? Feels like using a sledgehammer to crack a nut.
But probably I am just entitled and spoiled by using CSS for web development all of these years. At least I am sure that I definitely never want to do any Java-related development again :-)10 -
It's not often that I wonder whether Software Development was the wrong career choice. But when I do have these thoughts, it usually comes after struggling with Gradle.
-
Ahhh!!! Stupid ass Android studio taking abt 5 mins for initial build AMD throwing out tricking gradle errors which take up 45 mins to fix
Someone throw it in a river of piranhas already!!1 -
I hate tooling around Scala with libGDX so much - Gradle, Gradle Android plugin and ProGuard are just awful.
For example today I got during compilation: "Warning: Exception while processing task java.io.IOException: Please correct the above warnings first."
Grepping build log for (case insensitive) "warn" returns only the message above to correct warnings.
What the hell? I am required to correct not existing or invisible warnings or what? I hate you Gradle and ProGuard, I really do! >:( -
Wanted to install gradle on my raspi to build some projects for tomcat 7. I installed and configured tomcat7 already. Then i wanted to install gradle and i've got the following message from apt-get:
The following packages have unmet dependencies:
gradle : Depends: libtomcat6-java but it is not going to be installed
Depends: libjetty-extra-java but it is not going to be installed
It turns out, there is a dependency bug, and you can't install tomcat7 with cradle, because jetty depends on tomcat6.
Whaaaat? -
What is the best build/dependency manager? I've used gradle before but is there anything else that anyone would recommend ?6
-
Maybe it just me, but I am tell to myself with confidences "I am smart" when I figuring out how to make GRADLE work offline.
But then I hit 'make project' I find failed linking reference.
I am yelling to myself "why in the hell I still working with these stuff anymore!"
"Gradle sync offline" with gradle is fine, then I find another boss battle "Gradle build offline" -
How did mobile development manage to take off and survive up till now? Numerous aspects of its existence are a huge drawback to web apps and the Web, in general. When using an app, you:
- Can't select a term and press "search" from the context menu
- Can't have multiple app pages open
- Can't save pages for a revisit
- It Requires installation
- Takes up memory on installed device, not to mention accumulated app data
- It requires updates
- Development can get horrifying. From setting up optimal dev environment for device SDK, gradle differences, publishing an installable build despite sometimes stubborn dependencies, waiting for approval from app stores
It's literally an inconvenience, however you look at it6 -
when you get married after you start a gradle build, and then the build finishes 5 years into the marriage and you get divorced bc the software idea was garbage anyway ¯\_(ツ)_/¯
-
I find it odd that people rant about Gradle and long build times but don't want to fix Gradle itself.
-
I love linux because i dont have to forced to do frickin update like windows did.
Because i have an experience after update linux mint i cant even start the main GUI program. After boot only show blank console. It seem linux update broke the compatibility between my graphics card.
At least now i dont have to update because thats an option. The output of update is not different than windows.there is a chance you broke your OS.
But the struggle is when i need to install new app in linux. Sometimes need more than hour to find out why it doesnt work from the first time.
Any help here?
So this start from the office. In the office i usually use low spec laptop that work slowly. Then i found this IDE called rapidclipse. Its very promising with GUI builder and can build cross platform mobile app using only java built on top vaadin framework.
When i use it on low spec laptop hackintosh at office it work well although it take more time than other kind of eclipse and i dont need to install any kind of app again, just download-install-create new project-run on tomcat-work well.
Then i go to home to try this new tool , IMO my low spec PC still have more power to run something than old hackintosh. Because usually i use android studio with no problem. In the old hackintosh it went too long to build gradle only.
Then i install rapidclipse, then run desktop shortcut. Then it said i need to install correct java to use correct JavaFX.
After search on SO they said i must install jdk from oracle.
Ok so i got openjdk in my linux.wtf what is the different idk but dont have time to find out.
I install jdk from oracle.
Than finally can open the rapidclipse.
Wow , this gonna be fun.
Then create new project. Just a new project.
So im waiting. I see the progress at 10%. But still no increment on that.
I switch to other app for several minutes.
Then when switched back th app still at 10% and now is at no responding state. So i force close.
After that open rapidclipse again.
The previous new project can be opened. Yay, i think.
But so many error there. Omg.
So i create new project again.
But, but, i just repeated the first error then close again then try it again for several time. But still same output.
After an hour, i give up.
But still, why , just why it work like this. No error or whatsoever.
Back later i have a problem like this on different app.
Idkwhy.1 -
Has anyone used bazel build tool, coming from maven/Gradle background I have spent the last couple of days on this thing and I can say it is fucking awful and unintuitive, I still can't figure how to bring in simple external dependecy such as apache commos using this shit2
-
HELP: yesterday I discovered why my Gradle build takes so fucking long every time, but I still don't know how to fix it. for some reason, it sees the node_modules folder as NEVER "up-to-date", and so every single time I run 'gradle war_exploded' it copies the entire node_modules folder into the war, even of nothing has changed. any ideas?2
-
till a build sequence finishes, i end up checking #twitter, #facebook, #quora, #reddit two times on average.
#androidstudio
#build
#gradle -
Hmm the build fails because it wants to download grade through http.
"Ah I'll just install it with my package manager"
One apt call later: *still tries to manually download a zip of gradle*
Cool okay, what?
I just want to test and change a minor thing in an open source project, why are you making this so difficult...1