# Next Steps

## In this learning path

- [Introduction](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/android-ai-chat-lib/)
- [Create the Android project](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/android-ai-chat-lib/setup-1/)
- [Configure the AI Chat library dependency](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/android-ai-chat-lib/add-ai-chat-lib-2/)
- [Create the UI layouts and message adapter](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/android-ai-chat-lib/add-layouts-adapter-3/)
- [Implement the main activity logic](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/android-ai-chat-lib/use-lib-in-code-4/)
- [Download a model and run the app](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/android-ai-chat-lib/add-model-run-5/)
- [Next Steps](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/android-ai-chat-lib/_next-steps/)

## Add an LLM to your Android app with Arm's AI Chat library

## Explore related resources
Find more information about the topics in this Learning Path:

- [AI Chat - Explore and evaluate LLMs on Android and ChromeOS](https://developer.arm.com/community/arm-community-blogs/b/announcements/posts/ai-chat-explore-and-evaluate-llms-on-android-and-chromeos)
- [Arm AI Chat LLM test app](https://play.google.com/store/apps/details?id=com.arm.aichat)
- [AI Chat library @ Maven Central](https://central.sonatype.com/artifact/com.arm/ai-chat)
- [AI Chat library on GitHub](https://github.com/arm/ai-chat)
- [Arm KleidiAI - Helping AI frameworks elevate their performance on Arm CPUs](https://developer.arm.com/community/arm-community-blogs/b/ai-blog/posts/kleidiai)
- [SME2](https://www.arm.com/technologies/sme2)

## Review frequently asked questions

These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.

### Which Gradle file should I edit to add the AI Chat dependency?
Add the dependency in the app module’s `build.gradle.kts`, not the project-level `build.gradle.kts`. Place the implementation for `com.arm:ai-chat:0.1.0` in the dependencies block.

### How do I check my repository configuration so the library resolves?
Open `settings.gradle.kts` and confirm the top-level repositories include `google()` and `mavenCentral()`. With both present, you can resolve the AI Chat library from Maven Central.

### Which layout file do I replace for the chat UI?
Replace `activity_main.xml` in `app/src/main/res/layout` with the provided XML. The XML defines a status area, a message list, and a text input with a send button.

### How do I choose a GGUF model that fits my device?
Select a model that is significantly smaller than your phone’s available RAM. A mobile-friendly example is `google_gemma-3-4b-it-Q4_0.gguf`, a Q4_0‑quantized Gemma 3 4B model that works well with Arm’s KleidiAI and benefits devices with SME2, SVE2, or Neon capabilities.

### What result should I expect when I run the app?
After you provide the `GGUF` file on the device, you should see the app load the model and stream chat responses into the message list. Check the status area during generation to confirm progress.
