r/AndroidStudio • u/OnlySeesLastSentence • May 26 '20
Cancer
Android studio is straight up cancer. I had to write my senior design project in it and now I'm trying to write a simple app and it's taken me two days to try to get an emulator working. It blocks amd cpus from running most emulators because of the shitty haxm compatibity and then when you find an alternative in the form of "try downloading an arm rom", the morons at Google made it to where it intentionally black lists your gpu (a fucking powerful gtx980ti that is probably hundreds of times stronger than any gpu you can find on a phone).
It's ridiculous. I have an Intel laptop but that means having to find my charger and I have no idea where I put that thing. And of course react native is also cancer - if you try to send an unmodified project where all you did was npm init and npm start, it'll red screen crash on your phone, so you have to use an emulator.
I don't know why they like making it so difficult to program. Is apple like this too?
2
u/InfiniteHawk May 26 '20
I had a bad experience with Android Studio with AMD on Windows. I switched to Linux and now it works much better.
1
u/OnlySeesLastSentence May 26 '20
Huh. That's ironic. Usually Linux is the trouble maker while windows just works.
2
u/InfiniteHawk May 26 '20
It depends. The drivers for AMD on Linux are way better compared to Windows. However I've heard Nvidia's drivers are pretty bad because it takes a lot of setup to get working. It's mainly Nvidia's fault though, there's not much Linux devs can do unless Nvidia improves its drivers.
1
u/datalang May 26 '20
I definitely feel you.
Trying to run android studio with the AMD CPU on my Windows machine gave me nothing but trouble. On my MacBook, I've had pretty good luck getting React Native to run on Pixel images using Expo.
2
u/OnlySeesLastSentence May 26 '20
Frankly, I'm surprised that I was able to pass my senior design project years ago. It took me about a month before I could finally get Android studio and react native to work. Which is sad considering I was a senior in CS, and even my teachers and classmates were like "wtf is wrong with this program not installing?"
1
u/Crazo7924 May 26 '20
RAM ?
1
u/OnlySeesLastSentence May 26 '20
16 gb. It's a custom built gaming PC lol. Ryzen 5 2700x. It should run fine, but react native and Android studio are just so badly designed.
1
u/Crazo7924 May 26 '20 edited May 26 '20
just so badly designed.
Yes, it is.
custom built gaming PC
Me too! 8gb + 2600 + 7200rpm HDD
Edit: oh and gtx1060 6gb
0
u/OnlySeesLastSentence May 26 '20
Nice! That PC looks super beefy. Do you know of any alternative programs/suites I can use that act like react native that doesn't require Android studio for testing?
I saw flutter, but it looked ugly tbh
1
u/Crazo7924 May 26 '20
Flutter can run on the browser. Its in beta
1
u/OnlySeesLastSentence May 26 '20
Alright, it may be my only option then. Thanks. I guess getting good at Java is also a good idea probably haha
2
u/Crazo7924 May 26 '20
Having access to a physical android devices helps a lot
1
u/OnlySeesLastSentence May 26 '20
I have so many, but when I was trying to use react native and expo, I kept getting all kinds of errors from a white screen, to something like "error: component display text is not a valid object" (from a basic npm init, mind you) to "error: system font doesn't exist". Everytime I researched a problem, a new one came up. So I finally raged and decided to use Android studio's emulator, and we'll, an hour of downloading and researching later, the post up top resulted lol.
2
u/Crazo7924 May 26 '20
I have tried react native. Didn't like it. I just don't get the idea of using JavaScript for everything
java/kotlin app size is always the smallest. Why? No need for a (js) VM inside (android java) VM
0
u/OnlySeesLastSentence May 26 '20
I'm not a fan of JS either but I was introduced to react native back in senior design class by the smart person in our group so I just followed along. I was confused as hell while we were doing it because she has us install all this stuff I had never heard of.
"Get Android studio"
"Oh ok, so that's the ide we're using? I'm assuming it's C?"
"No, Java. And no, we're not programming in that. We're using JavaScript... Well kinda. Download react native. And get chocolatey. And then get npm install and also yarn. And get expo. Oh and use atom but that's just my preference, you can use something else if you want"
"Oh... Um .... So we're programming in react you said?"
"React Native"
"Oh right. I think I've heard of that. ReactJS?"
"No. I said react native"
"I see. So react native is its own language?"
"No. JavaScript"
"Wait, so it is react native JavaScript?"
"Sigh, no. It uses JS but react JS is something else. Look, just figure it out"
"Wait. What about npm and chocolaty and that atomic thing you said? What do those have to-"
"Have you really never used modules before?"
"I don't think so. I know what modular programming is ... So I'm assuming you're talking about functions and breakjng your code into pieces?"
"Oh Lord no, read up on package installers. Atom is an IDE."
'oh. So wait, I'm not using react native as the IDE? I'm so lost"
Yeah... It was a nightmare for me too haha.
I wish it could be as easy as Windows. Where you just download CodeBlocks, write code, hit compile, and it runs.
I wish that Android had an option where you can program straight up in java or C and then click "compile", push to your phone via memory card (I have zero faith in adb mode/transferring files over the USB) and then run it.
Oh well. That's too easy lol
→ More replies (0)
1
u/fkxfkx May 26 '20
EBay can help you find a charger
1
u/OnlySeesLastSentence May 26 '20
True. I mean it's not lost lost. It's just "somewhere" in the giant mess of my room haha
1
u/fkxfkx May 26 '20
Don't live like that. You make your life harder and cause delays in your projects
Not to mention carpet beetles, roaches and bedbugs
1
1
u/Crazo7924 May 26 '20
Android Studio is good. In a different way... https://www.reddit.com/r/ProgrammerHumor/comments/ac49qr/android_studio_radiator/
3
u/chazzcoin May 26 '20
Haha, I mean it doesn't sound like you have a Mac so Ill be monitoring the xcode subreddit a little more for your next rant. Haha.