googlesamples / googlesamples/mlkit
[Bug report] MLKit-GenAI Summarization Failed to Download Model
- Dominant language
- Kotlin
- Stars
- 4.3k
- Forks
- 3.1k
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
On Motorola Razr 60 Ultra device, AICore service is enabled by installing the google privately provided oss apk. As a result, Proofreading API, Rewriting API, and Open Prompt API are supported, however, Summarization API and Image Description API are not supported on nano-v3.
logs are:
Failed to download model: com.google.mlkit.genai.common.genAiException: [ErrorCode 0] AICore failed with error type 1-DOWNLOAD_ERROR and error code 0-UNKNOWN: Feature Summarization English (Non-Conversational) (QNN HTP) failed with failure status 0 and error dpf.
Cause: com.google.android.gms.internal.mlkit_genai_summarization.zzaw: AICore failed with error type 1-DOWNLOAD_ERROR and error code 0-UNKNOWN: Feature SAPI Summerization English (Non-Conversational) (QNN HTP) failed with failure status 0 and error dpf.
Failed to download model: com.google.mlkit.genai.common.genAiException: [ErrorCode 0] AICore failed with error type 1-DOWNLOAD_ERROR and error code 0-UNKNOWN: Feature SAPI Image Description English (QNN HTP) failed with failure status 0 and error dpf.
Cause: com.google.android.gms.internal.mlkit_genai_image_description.zzar: AICore failed with error type 1-DOWNLOAD_ERROR and error code 0-UNKNOWN: Feature SAPI Image Description English (Non-Conversational) (QNN HTP) failed with failure status 0 and error dpf.
**To Reproduce**
Example Steps to reproduce the behavior in sample app:
1. Go to 'MLKit-GenAI'
2. Click on 'Summarization API (Kotlin)'
3. Choose Language: 'English'
4. Input a prompt to be summarized.
5. See error
MLKit-GenAI app is built from this repo using genai directory, input prompt example: "Gemini Nano lets you deliver rich generative AI experiences without needing a network connection or sending data to the cloud. On-device AI is a great solution for use-cases where low cost, and privacy safeguards are your primary concerns."
**Expected behavior**
Prompt runs normally and output a one bullet sentence summary.
**SDK Info:**
- SDK Name & Version [e.g. com.google.mlkit.genai.demo:1.0]
- implementation 'com.google.mlkit:genai-image-description:1.0.0-beta1'
implementation 'com.google.mlkit:genai-prompt:1.0.0-beta1'
implementation 'com.google.mlkit:genai-proofreading:1.0.0-beta1'
implementation 'com.google.mlkit:genai-rewriting:1.0.0-beta1'
implementation 'com.google.mlkit:genai-summarization:1.0.0-beta1'
**Smartphone:**
- Device/Simulator: [e.g. Motorola SM8750 Razr 60 Ultra]
- Device/Simulator OS: [e.g. Android 15, API 35]
**Development Environment:**
*(For Android issue feel free to skip this section)*
- IDE Eversion: [ Android Studio Quail 2 | 2026.1.2]
- Laptop/Desktop: [Lenovo ThinkPad T14s Gen 6]
- Laptop/Desktop OS/version: [Windows 11 Pro, 26200.8655]
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the genai directory and the Summarization API (Kotlin) sample, then reproduce the failure on the stated Motorola device using the supplied dependencies and logs. Done means the failure is isolated to a sample defect or a confirmed device/AICore limitation, with supporting evidence and a clear next step.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- machine-learning, mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100