Skip to content

Feature is unavailable in every module in ML Kit GenAI API #952

Closed
@emilyhdo

Description

@emilyhdo

Hello,

I downloaded the ML Kit GenAI API Demo, and installed it on my Android phone (Samsung Galaxy S22). It said “Feature is unavailable” in every module (Image Description, Proofreading, Rewriting and Summarization API).

I also encountered the same problem with code. The featureStatus = imageDescriber.checkFeatureStatus().get() always return 0 (UNAVAILABLE). I have already waited for it to initialize and called the method again many times. The phone has Internet access and the below code returns true:
boolean isPlayServicesAvailable = GoogleApiAvailability.getInstance().isGooglePlayServicesAvailable(context) == ConnectionResult.SUCCESS;

Please advise.
Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions