,

Zero to AI: An Android Developer’s Vital Local Setup

Welcome to the team. As part of your onboarding at our (definitely real) FAANG-tier organisation, we need to get your workstation ready for the “AI-First” era of Android development.

Forget just installing Android Studio and calling it a day. To operate at scale, you need a local environment that augments your engineering intuition with LLM-powered efficiency. Here is your Day 1 guide to setting up your machine for success.

1. The Browser: Curating Your AI Command Centre

Before you write a single line of Kotlin, your browser needs to be your research hub. Bookmark these essential resources to stay ahead of the curve.

  • HuggingFace: Think of this as the GitHub of AI. Use it to track new model releases, compare benchmarks, and find download URLs for personal experimentation.
  • Android AI Developers: Your source of truth for Gemini Nano and Gemma. This is where you’ll learn how to run models on-device.
  • Gemini (Web): Your modern-day StackOverflow. It’s perfect for general Q&A and UI feedback, can also drop a screenshot when text description fails you.
  • MCP (Model Context Protocol) Explainer: Don’t worry about building your own servers yet; focus on understanding how to use existing ones to connect your tools.
  • Neural Networks from Scratch: Understanding how Neural Networks (and therefore LLMs) work helps you identify their “hallucination” patterns and scenario-specific limitations.

2. Ollama: Your Local LLM Playground

Cloud models are powerful, but privacy and offline availability are paramount. Ollama allows you to run open-source models locally with zero friction.

It is perfect for those “on the train” coding sessions where you need a coding partner without an internet connection.

Gemma 3 is a family of lightweight, open-weight AI models designed to bring powerful multimodal intelligence directly to personal hardware like laptops and workstations. With a massive 128k-token context window—equivalent to a 300-page book—it can maintain coherence across extremely long documents or conversations, all while remaining efficient enough to run on a single consumer GPU.

  • See the Gemma 3 models available here
  • List installed models: See what you already have downloaded.

ollama list

  • Download without running: This “pulls” the model to your machine so it’s ready for later.

ollama pull gemma3:12b

  • Running the LLM:

ollama run gemma3

Remember: model performance is tied to your RAM. When choosing a model:

  • 1B – 4B: Works on almost any modern laptop (8GB RAM).
  • 7B – 14B: Needs at least 16GB RAM.
  • 27B – 32B: Needs a dedicated GPU or 32GB+ RAM.

3. The CLI: Where the Real Magic Happens

The command line is where AI goes from “chatbot” to “co-engineer.” Tools like the Gemini CLI or Claude CLI have direct access to your workspace.

  • Context is King: Aim for models with a 1M+ token context window. This allows the tool to “read” your entire codebase at once (or more of it than the 300k models anyway).
  • The Power of MCP: Connect your CLI to Jira, GitHub, or GitLab. You can literally ask the AI to “Read the latest bug ticket and suggest a fix in the ViewModel.”
  • Sub-agents: Use sub-agents to handle “noisy” tasks like parsing build logs. This keeps your main context window clean and focused on the logic, avoiding hitting the context limit and compacting too often (which can lead to memory loss and mistakes).
  • Compaction & Memory: Every turn in a conversation eats into your context. When the LLM starts getting “forgetful,” it might be time to start a fresh session.
    • Pro Tip: Have the LLM write a summary/key points of the current progress into a MEMO.md file. In your next session, point the LLM to that file to “restore” its state and get a leg back up to where you were.

4. Android Studio: Deep Integration

Your IDE is your primary canvas. While the CLI handles the heavy lifting, the IDE provides the visual context.

LLM Prompt Files (CORPORATE_OVERLORD.md)

We recommend creating a GEMINI.md/CLAUDE.md (matching your LLM of choice) in your project root. This acts as the “Team Rules.”. Some LLM’s allow you to name it AGENT.md, others insist on their brand name.

  • Use it to define architecture (e.g., “We use MVVM with Flow”).
  • Point to Archetypical Examples: “Follow the testing pattern in /folder/path/BaseViewModelTest.kt.”
  • You can redirect to other files. For specifics on our testing, review /AGENT_TESTING.md.
  • You can also redirect to for peoples personal preference: Use a .gitignore redirect if you want to keep personal prompt preferences separate from the team’s repo. In AGENT.md: “This file is the core rules for the team, each person can enhance these in the optional /LDAP.md.” (and LDAP.md gets added to .gitignore. Example in the LDAP.md: “Always sign off commits with ‘blundell’. I prefer concise javadoc and alias’s for R files if we are using more than one.”

IDE Plugins

Not everyone is a CLI fan, you can also install an IDE plugin. Whether you use the official Gemini plugin or a third-party IDE tool, plugins offer inline highlights and warnings that a CLI cannot. It’s the difference between an interactive text conversation (CLI) and a pair-programmer looking over your shoulder (Plugin) and pointing the finger.


5. T-ai-keaway

AI is evolving at a breakneck pace, and that’s okay. In our careers, we’ve seen the shift from Eclipse to Android Studio, and from Java to Kotlin. This is just the next evolution.

The tools may change, but the fundamentals remain: research, write, and refine. Use the Gemini CLI and IDE plugins as enablers of your own skills. They don’t replace your brain; they scale it to handle the complexity of tomorrow’s software.

Welcome aboard. Now, go get that environment configured.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *