GEMINI LABJP
PRO35 — July 17, the date reports had pointed to, has passed without an official Gemini 3.5 Pro announcement or model card. July 24 is being cited as the fallbackNB2LITE — Nano Banana 2 Lite, otherwise known as Gemini 3.1 Flash-Lite Image, arrives as the fastest of the family: roughly four seconds per image at $0.034 per thousandOMNI — Gemini Omni Flash enters public preview, generating video up to ten seconds long at $0.10 per second of outputEDIT — Omni Flash is built around conversational editing. Swap a character, relight a scene, or change the angle in plain language, and the original audio and video tracks stay intactSYNTHID — Both new models carry SynthID watermarking, so anything they produce can be checked for provenance from inside the Gemini appSHUTDOWN — The older image generation models are deprecated and switch off on August 17. Worth checking your migration windowPRO35 — July 17, the date reports had pointed to, has passed without an official Gemini 3.5 Pro announcement or model card. July 24 is being cited as the fallbackNB2LITE — Nano Banana 2 Lite, otherwise known as Gemini 3.1 Flash-Lite Image, arrives as the fastest of the family: roughly four seconds per image at $0.034 per thousandOMNI — Gemini Omni Flash enters public preview, generating video up to ten seconds long at $0.10 per second of outputEDIT — Omni Flash is built around conversational editing. Swap a character, relight a scene, or change the angle in plain language, and the original audio and video tracks stay intactSYNTHID — Both new models carry SynthID watermarking, so anything they produce can be checked for provenance from inside the Gemini appSHUTDOWN — The older image generation models are deprecated and switch off on August 17. Worth checking your migration window
Articles/Dev Tools
Dev Tools/2026-07-18Advanced

I Was Handing Gemini Obfuscated Stack Traces — Until retrace Went In Front, the Diagnoses Were Confident and Wrong

Release stack traces come out of R8 with the names flattened. Feed one to Gemini as-is and the diagnosis arrives calm, well-written, and wrong. Put retrace in front, match the mapping by versionCode, and forbid confident answers when you cannot restore. Numbers from 42 reports.

Gemini API190Android10R8Crashlyticsindie development9

Premium Article

java.lang.NullPointerException at a.a.a.b(SourceFile:0)

Given that single line, the model told me — calmly, with a code fix attached — that a RecyclerView.Adapter was reading a stale position in onBindViewHolder after the backing list had been swapped out asynchronously.

I believed it for a while. The symptom sounded familiar. But when I traced the actual code, a.a.a.b turned out to be a utility that assembles image cache keys. No adapter anywhere. No RecyclerView anywhere.

The model had not lied. There was simply no information in the string a.a.a.b to begin with. Ask for something plausible where nothing is known, and something plausible is exactly what comes back. An obvious thing, which I managed to overlook for about three weeks.

The model answered a.a.a.b(SourceFile:0) with confidence

I run Android wallpaper apps as an indie developer, and I collect non-fatal exceptions — the ones that get swallowed rather than crashing, but leave holes in the UI if ignored — into my own sink.

That is where the blind spot was. Open the Firebase console and the stack traces are rendered with human-readable names, because the Crashlytics Gradle plugin uploaded the mapping file at build time and the console restores them for you. I looked at that console every day, so I had quietly assumed that Android crash data simply arrives readable.

Nothing restores the traces I catch myself through Thread.setDefaultUncaughtExceptionHandler or a try-catch.

// Where non-fatal exceptions get queued to my own sink.
// In release builds, e.stackTraceToString() has already been flattened by R8.
private fun reportNonFatal(e: Throwable, context: String) {
    val payload = NonFatalPayload(
        versionCode = BuildConfig.VERSION_CODE,   // this matters later
        versionName = BuildConfig.VERSION_NAME,
        context = context,
        stackTrace = e.stackTraceToString(),      // release: "a.a.a.b(SourceFile:0)"
    )
    sink.enqueue(payload)
}

In debug builds this field is perfectly readable — R8 only runs for release. Readable on my machine, flattened in production. And only the production ones reached my analysis pipeline.

Those were the ones I was sending to Gemini.

Deobfuscation is not a probabilistic problem

This is the part I most want to hand over.

Turning a.a.a.b back into WallpaperCacheKeyBuilder.append is a lookup. There is a mapping file, there is exactly one correct answer in it, and no ambiguity anywhere.

A language model does something else entirely: it picks the most likely continuation given context. Without the table, a.a.a.b cannot be recovered — but push for an answer anyway and you get whatever Android crashes are most common in the training data. That, I suspect, is where RecyclerView came from.

I had taken a problem with a deterministic answer and routed it through a probabilistic system. That is not a limitation of Gemini. That was my design mistake.

So I reset the rule I work by: if a lookup table answers it, use the lookup table. Ask the model only what becomes knowable after the table has been read.

Thank you for reading this far.

Continue Reading

What follows includes implementation code, benchmarks, and practical content we hope you'll find useful. This site runs without ads — server and development costs are supported entirely by members like you. If it's been helpful, we'd be truly grateful for your support.

WHAT YOU'LL LEARN
If you have been getting plausible-but-wrong crash diagnoses, you can flip them to evidence-backed ones by adding a single deobfuscation step before the prompt
You get a complete Python pipeline that drops the mapping-in-the-prompt approach and instead matches mapping files by versionCode before restoring names
You get a responseSchema and a decision table that separate traces you should discard, refuse to let the model assert on, or pass through untouched
Secure payment via Stripe · Cancel anytime

Unlock This Article

Get full access to the rest of this article. Buy once, read anytime. This site is ad-free — your support goes directly toward keeping it running.

or
Unlock all articles with Membership →
Share

Thank You for Reading

Gemini Lab is ad-free, supported entirely by members like you. We publish practical guides daily with implementation code, benchmarks, and production-ready patterns. If you've found it useful, we'd love to have you on board.

  • Copy-paste ready implementation code
  • New advanced guides published daily
  • $5/mo or $10 for lifetime access
View Membership →

Related Articles

Dev Tools2026-07-16
I stopped storing every generation log — three retention tiers and a prompt fingerprint that keeps traceability
I was storing every Gemini API request and response body for debugging. Here is how I moved to three retention tiers plus a prompt fingerprint, and kept the ability to diagnose issues without keeping the text.
Dev Tools2026-07-09
Closing the Failures That Never Throw: Normalizing Gemini API Responses into a Discriminated Union
An HTTP 200 with an empty body will never reach your catch block. Here is how I normalize finishReason and blockReason into a discriminated union, and let a never check turn missed cases into compile errors.
Dev Tools2026-07-03
Stop Making Listeners Wait for the Whole File — Wiring Gemini TTS Streaming into Your Delivery Path
gemini-3.1-flash-tts-preview now streams audio via streamGenerateContent. A delivery path with 1.8s to first sound, covering PCM boundary handling, sentence-level resume, and a fallback for preview shutdown.
📚RECOMMENDED BOOKS
Build a Large Language Model (From Scratch)
Sebastian Raschka
LLM Dev
Prompt Engineering for LLMs
Berryman & Ziegler
Prompting
AI Engineering
Chip Huyen
AI Eng
* Contains affiliate links
See all →