Skip to content

AICore failed with error type 4-CONNECTION_ERROR and error code 601-BINDING_FAILURE #22

@julianzhoucn

Description

@julianzhoucn

I'm using Pixel 8 pro to test the app.
I have installed with Android AICore (Beta) and required Private Compute Service APK version.
AICore version:

Image

Also I have turn on the developer option:

Image

But still with the following errors:
2025-02-21 09:09:41.989 7800-7800 EntryChoiceActivity com.google.ai.edge.aicore.demo E Failed to check model availability. com.google.ai.edge.aicore.ConnectionException: AICore failed with error type 4-CONNECTION_ERROR and error code 601-BINDING_FAILURE: AiCore service failed to bind. at com.google.ai.edge.aicore.GenerativeAIException$Companion.from$java_com_google_android_apps_aicore_client_client(com.google.ai.edge.aicore:aicore@@0.0.1-exp01:2) at com.google.ai.edge.aicore.GenerativeModel$prepareInferenceEngine$2.invokeSuspend(com.google.ai.edge.aicore:aicore@@0.0.1-exp01:9) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1156) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:651) at java.lang.Thread.run(Thread.java:1119) Caused by: java.lang.SecurityException: Not allowed to bind to service Intent { xflg=0x4 cmp=com.google.android.aicore/com.google.android.apps.aicore.service.multiuser.AiCoreMultiUserService } at android.app.ContextImpl.bindServiceCommon(ContextImpl.java:2236) at android.app.ContextImpl.bindService(ContextImpl.java:2093) at android.content.ContextWrapper.bindService(ContextWrapper.java:891) at com.google.android.gms.internal.aicore.zzcf.zzf(com.google.ai.edge.aicore:aicore@@0.0.1-exp01:1) at com.google.android.gms.internal.aicore.zzcf.zzb(com.google.ai.edge.aicore:aicore@@0.0.1-exp01:3) at com.google.android.gms.internal.aicore.zzcg.zzp(com.google.ai.edge.aicore:aicore@@0.0.1-exp01:3) at com.google.android.gms.internal.aicore.zzcg.zzh(com.google.ai.edge.aicore:aicore@@0.0.1-exp01:1) at com.google.android.gms.internal.aicore.zzcg.zza(com.google.ai.edge.aicore:aicore@@0.0.1-exp01:1) at com.google.ai.edge.aicore.GenerativeModel.getAiFeature(com.google.ai.edge.aicore:aicore@@0.0.1-exp01:2) at com.google.ai.edge.aicore.GenerativeModel.createLlmService(com.google.ai.edge.aicore:aicore@@0.0.1-exp01:2) at com.google.ai.edge.aicore.GenerativeModel.access$createLlmService(com.google.ai.edge.aicore:aicore@@0.0.1-exp01:1) at com.google.ai.edge.aicore.GenerativeModel$prepareInferenceEngine$2.invokeSuspend(com.google.ai.edge.aicore:aicore@@0.0.1-exp01:5) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1156)  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:651)  at java.lang.Thread.run(Thread.java:1119) 

Is there anything can be done to resolve this?

Thanks

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