Android Studio supports Gemma 4: our most capable local model for agentic coding
… Offline availability: Use the agent to write code even when you don’t have an internet connection. …
… Offline availability: Use the agent to write code even when you don’t have an internet connection. …
… To use it, add the firebase-ai-ondevice dependencies to your app along with Firebase AI Logic: dependencies { ... implementation "com.google.firebase:firebase-ai:17.11.0" implementation "com.google.firebase:firebase-ai-ondevice:16.0.0-beta01" } During initialization, you create a GenerativeModel in… …
… It’s ideal for developers who require data privacy, offline access, or have run into quota issues with other models. …
… Native Android apps bring the reliability of offline support, continuous background services, and the deep integration of hardware sensors like GPS, Bluetooth, and NFC. …
… Many of you have been using open-weight models for AI assistance, so we’re now adding commonly used ones, such as Gemma 4, to the leaderboard, so you can see how LLMs that offer offline access and additional flexibility for power-users measure up. …