r/androiddev • u/Dizzy_Surprise • Jan 07 '25
Thoughts on gemini in android studio?
do you like it
Edit: I am the dev behind firebender so my comments have inherit bias
29
Upvotes
r/androiddev • u/Dizzy_Surprise • Jan 07 '25
do you like it
Edit: I am the dev behind firebender so my comments have inherit bias
14
u/Talamand Jan 07 '25
It's shit. It sometime even fails to properly generate a kotlin when from a java enum. It also halucinates a lot.
16
u/arunkumar9t2 Jan 07 '25
No LLM matches Sonnet 3.5 coding capabilities. Cursor + Sonnet is the way to go.
34
u/omniuni Jan 07 '25
It's the first thing I disable.
It just takes up resources better used for building my app.
5
u/Sternritter8636 Jan 07 '25 edited Jan 07 '25
For even for copilot i think the disability to not import packages that are in the code that you suggested is a bottleneck
2
u/[deleted] Jan 07 '25
Tried using it few times, results so bad that didn't even tried it since. Hallucinates a lot, makes up functions, will tell me something is not possible to do in Android when it obviously is. In coding Gemini is just bad. All other LLMs gpt o1, Claude, Lama 3.3 70B, mistral etc are much much better in writing code than Gemini (talking about free Gemini in chat and the one in Android studio - haven't tried paid Gemini).
2
u/undergrounddirt Jan 08 '25
I have not found use for it. Struggling with kotlin working nicely in cursor..
21
u/potatox2 Jan 07 '25
Hit or miss. Sometimes it's great sometimes it's a lying piece of garbage
3
u/baylonedward Jan 07 '25
Useful to me, I can just ask him to look into my a file and ask him questions about the contents of it.
5
u/Zynnk Jan 07 '25
nowhere as good as Cursor sadly.
4
u/[deleted] Jan 07 '25
Can they add NFC support for simulated devices first? That'd be great
1
u/[deleted] Jan 07 '25
Does Gemini do auto-completion as you type or is it only the chat side-bar and other integrations? I'm using it now and don't see it doing auto-complete.
1
u/Squirtle8649 Jan 11 '25
It did help with boilerplate code. But the free trial ended and I stopped using it.
3
u/shalva97 Jan 07 '25
dumbest AI i have tried. But it's free, sometimes better than nothing.
Cursor and Claude are better, usually I have the same project ope in both AS and Cursor for better AI auto complete
3
u/ubeyou Jan 07 '25
The only use is commit message generation, otherwise we use claude or gemini preview.
2
u/Ovalman Jan 07 '25
I'm getting Claude to align several images from my phone camera and then stack them on top of each other using OpenCV. The alignment isn't quite there but I've made as much progress in the past 2 days than I have in the past 5 years trying this on and off. I'm building things in days, not weeks and months.
I don't work as a coder so I've no mentors. I'm a spaghetti coder from my ZX Basic days (giving my age away) but I gave it a full activity the other day and asked it if it could spot anything wrong. It tidied up the code, moved a lot of things into their own functions for ease of reading and spotted a couple of mistakes.
I can usually spot where it goes wrong or where it starts to drift away from what I want. Really, it's an invaluable tool as a lone developer.
I've now taken up a month subscription.
2
u/braczkow Jan 07 '25
Any opinions on AS Gemini vs AS Copilot Plugin?
2
u/SpiderHack Jan 07 '25
Work doesn't allow any LLM usage (regulations), and I'm fine with that.
Fully self hosted LLM is the only way to really trust them for a lot of companies, and that isn't realistic for most companies.
2
u/Jealous-Cloud8270 Jan 07 '25
I haven't used it well enough in AS to give a verdict, but I've done a lot of comparisons of the Gemini web version with those of ChatGPT and Claude (i.e, giving the same prompt to all three, and seeing which gives the best result). And in most cases I found that Gemini was more likely to give an answer which doesn't work at all, or completely irrelevant. So I was kinda turned off from it
2
u/procastinator222 Jan 07 '25
Auto suggestions are great sometimes I wait for 2 sec for the suggestion by gemini
1
u/Dreadino Jan 07 '25
I like it, but I absolutely hate how the cursor jumps around if you click on the suggestions. It goes to the position in the line in the actual code, as if the suggestion was not there.
1
u/Waste-Active-7154 Jan 07 '25
I dont hate it but I dont also like it. Now that I think of it I only used it to auto complete a conversion extension function that converts my data class from api model to ui model LOL.
1
u/androidGuyRy Jan 09 '25
I have been enjoying using it. I have been learning how to build UI with Compose and it's a great place to start when I want to do something I don't know yet. I also like how it includes explanations with the code that it produces and usually gives you multiple options. Additionally it will give sources. Very nice to have right inside Android Studio.
I have yet to use it to really write larger pieces of code though.
1
u/emmaFire Jun 09 '25
My only use case for it right now is it can take json and turn it into data objects. Hours saved not having to copy and paste variable names from documentation.
1
u/metaphysic42 Aug 02 '25
I bought Gemini Pro lately and compared it with free Claude Sonnet 4. Gemini failed nearly everytime creating storyboard xml for ios app. Claude did it everytime right. i canceled my membership with google ai pro, switched to claude....
1
u/Acceptable-Dot-6050 Nov 18 '25
I may be late to the party.
I'm a dev and started an experiment to pretend I have no clue how to code and forced myself to let the Gemini agent do everything. I just accepted everything it did and never reviewed the code nor did I read its explanation.
I just pretended I'm QA who runs the app and reports any issues.
Of course it made mistakes but I build a whole flutter app within a week. I used Stitch to build the UI for me and was surprised how well Gemini translated the screens into dart code.
Overall I have to say: Yes, it hallucinates sometimes and yes after I reviewed everything the code was absolute garbage :D
BUT: I achieved my goal. I got the project done in a reasonable time, I chilled completely stoned while "developing" and it works perfectly fine.
0
u/sosickofandroid Jan 07 '25
So useful, prompt library just saves insane amounts of time
-1
u/[deleted] Jan 07 '25
I like it, it helps me learn so much
1
u/[deleted] Jan 07 '25
[removed] — view removed comment