r/androiddev • • 5h ago

Is Gemini on android studio really underwhelming?

I decided to design an app. It worked well while I was just creating screens and forms. Then things went downhill as soon as I started to getting serious. Here a couple of things that have annoyed me so far:

- I'm not sure if this is the best practice, but I keep different specification files to avoid context bloating and improve separation of concerns (I don't wanna Gemini to "process" too many things, specially irrelevant ones). Unfortunately it does. Not only that, Gemini eats a massive amount of tokens no matter how detailed, short scope, well delimited or straight directives I provide.

- pollution: if you're making lots of changes, Gemini tends to spill leftovers everywhere. Even when you open new session, ask it to clean up everything and reconstruct something from scratch. You still face residual requirements from past iterations which are not present in the latest specification what was constructed from.

- back-and-forth: There is a problem called: A. It should be a couple of interactions to get it done, right? Not with Gemini. You ask Gemini to fix A, it fixes A but creates B. You ask Gemini to fix B, it fixes B but resurrects A. You ask Gemini to fix A, it fixes A but resurrects B. And now you're in deadlock with Gemini. If you spend time to understand what's going on, you figure out that Gemini is not applying a specific directive you explicitly stated it in the spec. So it spends massive amount of tokens processing stuff, but the spec apparently.

The question is: Am I using it incorrectly? Did you guys try other agents?

2 Upvotes

8 comments sorted by

2

u/mrwadupwadup 4h ago

You have to segment the tasks into smaller ones. Prompt engineering. Don't assume that you're talking to a human. They lose context fast. Ask gemini how to structure the prompts. Using git is a must as it helps you save stable states. Lastly, you have to understand the code yourself and know how to troubleshoot.

1

u/AD-LB 4h ago

It has a nice free quota though. Try it. If it's good enough, use it before using others, and use the others when you really need.

For me all AIs make mistakes sometimes, so I don't limit myself to one. If you think the current AI is stuck on a task that makes too many mistakes and annoys you that it doesn't understand things properly, switch to another and maybe make it your first priority one to use. Your choice. We have a buffet of AIs to choose from.

Later you can try again when they have a better version

1

u/ohlaph 3h ago

I hardly get any free tokens now. It used to last a few hours, now it's like one or two small tasks and done. I just bought deepseek credits and it works well. 

1

u/AD-LB 2h ago

Maybe you chose the "flash" instead of "flash lite". The "flash lite" has a better quota, and even when you need to wait, it's a few hours.

Sadly, the IDE says that in less than 2 weeks, Gemini won't be available, and instead we will have AntiGravity, which has a weird weekly quota instead...

https://developer.android.com/studio/gemini/get-started

I hope they will provide at least the same quota as Gemini, or better.

https://issuetracker.google.com/issues/590883544

1

u/StatusWntFixObsolete 56m ago

Also, its possible to use the Built-in Agent with Gemini (free plan) but without verifying your age. When I tried to switch to Antigravity it would not let me log in using the same Gemini account/tier (free plan) unless I verified my age.

1

u/Street-Round-8384 2h ago

Is Gemini on android studio really underwhelming? - Yes

0

u/LazyLoser006 5h ago

I've heard that gemini is terrible everywhere except anti gravity

2

u/Street-Round-8384 2h ago

That was my experience - though after using it on antigravity for enough time I found it to be inconsistent in its performence.
I think that initially I was suprised by how it was so much "less suckier" that I mistook it for being "good".
It still under-performs against the competition on any platform