androidengineers.Book a session

Project configuration and first generation

Project configuration and first generation

articleSelf-paced

Create a reproducible setup that separates development credentials from release behavior.

1. Android registration

Register the intended application ID and use the project configuration that belongs to that build variant. Verify required services and SDK compatibility before debugging model behavior.

2. Dependency management

Use a compatible Firebase BoM and documented AI Logic artifacts. Pin the application build configuration and record the tested model. Avoid mixing obsolete SDK imports with current examples.

3. First request

Start with a short text request and expose loading, success and failure states. Put SDK-specific objects behind an adapter so the ViewModel can run with a fake in tests.

Worked scenario

A debug variant points to the development Firebase project while the release variant uses production configuration. The model adapter is identical; the environment is not.

Apply it

Add a one-screen generation feature and document the project, app ID and dependency setup needed to reproduce it.

Check your understanding

A clean checkout can reproduce the setup without an embedded privileged provider secret. Explain the decision and show evidence from your implementation or design. If you cannot demonstrate it yet, revisit the relevant section before continuing.

YOUR LEARNING JOURNEY

0 of 13 available lessons completed

Progress saved in this browser. No account needed.
Project configuration and first generation | Firebase AI Logic | Android Engineers