adk-java icon indicating copy to clipboard operation
adk-java copied to clipboard

Can I use adk-java for Android development?

Open Th1nK4data opened this issue 1 year ago • 2 comments

Just as the title: Can I use adk-java for Android development?

I noticed that Google has the end-side solution called "AI Edge" which contains LiteRT runtime, MediaPipe, etc. to facilitate the development of AI application on the edge like Phone, ...

But can I run agent(s) applications on Android, maybe developed by adk-java? To be more specific:

  1. Can I write agent code using adk-java in Android Studio?
  2. Can adk-java use LLM(SLM) provided by end-side runtime like LiteRT? (It seems no? https://google.github.io/adk-docs/agents/models/)
  3. Can agents application developed by adk-java deployed on edge? (It seems no? https://google.github.io/adk-docs/deploy/)

So, basically I want to run agents applications on Android, maybe process user's personal private data on their phone, maybe create some graphs, automatically decide which app to use, or do some reasoning/reflections, etc. If I cannot do that with adk-java, can anyone suggest other options? Appreciate for any suggestions.

Th1nK4data avatar Jun 19 '25 03:06 Th1nK4data

Hi @Th1nK4data, thank you for reaching out, we can not use adk-java for Android development because it is strictly a server-side framework built for cloud environments and relying on heavy JVM dependencies. so it is incompatible with Android's runtime.

if your goal is building an agents on android, we recommend you to use Google AI Edge and Android AICore to help with the built in Gemini Nano model. these tools provide the exact edge capabilities which will help you to build an agents on android.

hemasekhar-p avatar Mar 26 '26 14:03 hemasekhar-p

Closing this issue since it has been stale for more than 14 days.

hemasekhar-p avatar Apr 29 '26 09:04 hemasekhar-p