Skip to content

Duplicated issue #6266 - Unknown calling package name 'com.google.android.gms'. on Android builds Only #6365

@cadufreeela

Description

@cadufreeela

Can we access your project?

  • I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.

Current Behavior

when running my app on Android I get this error:

E/GoogleApiManager( 5556): Failed to get service from broker.
E/GoogleApiManager( 5556): java.lang.SecurityException: Unknown calling package name 'com.google.android.gms'.

Android manifest is unlocked and has the line corresponding to the appropiate API KEY for google maps.
This is not happening in IOS builds

Based on previous investigation outlined in bug #6266 it seems that android builds is using a CACHED version, alternatively I edited a custom action and the change didnt reflect in the console log either.

full log:

allowed)
I/fker ( 6074): Unable to retrieve flag snapshot for com.google.android.gms.providerinstaller#com.mycompany.freeela, using defaults.
E/GoogleApiManager( 6074): Failed to get service from broker.
E/GoogleApiManager( 6074): java.lang.SecurityException: Unknown calling package name 'com.google.android.gms'.
E/GoogleApiManager( 6074): at android.os.Parcel.createExceptionOrNull(Parcel.java:3242)
E/GoogleApiManager( 6074): at android.os.Parcel.createException(Parcel.java:3226)
E/GoogleApiManager( 6074): at android.os.Parcel.readException(Parcel.java:3209)
E/GoogleApiManager( 6074): at android.os.Parcel.readException(Parcel.java:3151)
E/GoogleApiManager( 6074): at aywe.a(:com.google.android.gms@[email protected] (260400-783060121):36)
E/GoogleApiManager( 6074): at ayul.z(:com.google.android.gms@[email protected] (260400-783060121):143)
E/GoogleApiManager( 6074): at aybk.run(:com.google.android.gms@[email protected] (260400-783060121):42)
E/GoogleApiManager( 6074): at android.os.Handler.handleCallback(Handler.java:959)
E/GoogleApiManager( 6074): at android.os.Handler.dispatchMessage(Handler.java:100)
E/GoogleApiManager( 6074): at cirp.mw(:com.google.android.gms@[email protected] (260400-783060121):1)
E/GoogleApiManager( 6074): at cirp.dispatchMessage(:com.google.android.gms@[email protected] (260400-783060121):5)
E/GoogleApiManager( 6074): at android.os.Looper.loopOnce(Looper.java:232)
E/GoogleApiManager( 6074): at android.os.Looper.loop(Looper.java:317)
E/GoogleApiManager( 6074): at android.os.HandlerThread.run(HandlerThread.java:85)
W/FlagRegistrar( 6074): Failed to register com.google.android.gms.providerinstaller#com.mycompany.freeela
W/FlagRegistrar( 6074): fkfd: 17: 17: API: Phenotype.API is not available on this device. Connection failed with: ConnectionResult{statusCode=DEVELOPER_ERROR, resolution=null, message=null}
W/FlagRegistrar( 6074): at fkff.a(:com.google.android.gms@[email protected] (260400-783060121):13)
W/FlagRegistrar( 6074): at ggal.d(:com.google.android.gms@[email protected] (260400-783060121):3)
W/FlagRegistrar( 6074): at ggan.run(:com.google.android.gms@[email protected] (260400-783060121):130)
W/FlagRegistrar( 6074): at ggcu.execute(:com.google.android.gms@[email protected] (260400-783060121):1)
W/FlagRegistrar( 6074): at ggav.f(:com.google.android.gms@[email protected] (260400-783060121):1)
W/FlagRegistrar( 6074): at ggav.m(:com.google.android.gms@[email protected] (260400-783060121):99)
W/FlagRegistrar( 6074): at ggav.r(:com.google.android.gms@[email protected] (260400-783060121):17)
W/FlagRegistrar( 6074): at fcoc.hJ(:com.google.android.gms@[email protected] (260400-783060121):35)
W/FlagRegistrar( 6074): at eqsr.run(:com.google.android.gms@[email protected] (260400-783060121):12)
W/FlagRegistrar( 6074): at ggcu.execute(:com.google.android.gms@[email protected] (260400-783060121):1)
W/FlagRegistrar( 6074): at eqss.b(:com.google.android.gms@[email protected] (260400-783060121):18)
W/FlagRegistrar( 6074): at eqth.b(:com.google.android.gms@[email protected] (260400-783060121):36)
W/FlagRegistrar( 6074): at eqtj.d(:com.google.android.gms@[email protected] (260400-783060121):25)
W/FlagRegistrar( 6074): at axyt.c(:com.google.android.gms@[email protected] (260400-783060121):9)
W/FlagRegistrar( 6074): at aybi.q(:com.google.android.gms@[email protected] (260400-783060121):48)
W/FlagRegistrar( 6074): at aybi.d(:com.google.android.gms@[email protected] (260400-783060121):10)
W/FlagRegistrar( 6074): at aybi.g(:com.google.android.gms@[email protected] (260400-783060121):185)
W/FlagRegistrar( 6074): at aybi.onConnectionFailed(:com.google.android.gms@[email protected] (260400-783060121):2)
W/FlagRegistrar( 6074): at aybk.run(:com.google.android.gms@[email protected] (260400-783060121):70)
W/FlagRegistrar( 6074): at android.os.Handler.handleCallback(Handler.java:959)
W/FlagRegistrar( 6074): at android.os.Handler.dispatchMessage(Handler.java:100)
W/FlagRegistrar( 6074): at cirp.mw(:com.google.android.gms@[email protected] (260400-783060121):1)
W/FlagRegistrar( 6074): at cirp.dispatchMessage(:com.google.android.gms@[email protected] (260400-783060121):5)
W/FlagRegistrar( 6074): at android.os.Looper.loopOnce(Looper.java:232)
W/FlagRegistrar( 6074): at android.os.Looper.loop(Looper.java:317)
W/FlagRegistrar( 6074): at android.os.HandlerThread.run(HandlerThread.java:85)
W/FlagRegistrar( 6074): Caused by: axxh: 17: API: Phenotype.API is not available on this device. Connection failed with: ConnectionResult{statusCode=DEVELOPER_ERROR, resolution=null, message=null}
W/FlagRegistrar( 6074): at aytx.a(:com.google.android.gms@[email protected] (260400-783060121):15)
W/FlagRegistrar( 6074): at axyw.a(:com.google.android.gms@[email protected] (260400-783060121):1)
W/FlagRegistrar( 6074): at axyt.c(:com.google.android.gms@[email protected] (260400-783060121):5)
W/FlagRegistrar( 6074): ... 12 more

Expected Behavior

Should work as expected

Steps to Reproduce

  1. open my project
  2. run in an android simulator or local device

Reproducible from Blank

  • The steps to reproduce above start from a blank project.

Bug Report Code (Required)

ITFTksjf35N2ofVY+Krcc8ZsoCAXCUMfWLsr0utuGA0hNZeqB4kheOLedhRLYtThdHNiOGH9iTgH3OjVkfLIGPcCaQqZGKZfyoRXQRfhe3OWMKnWEZO8fkBQEdFXfxXC07unviUmHNVodXwZwE6qCvCNG3qCf9qOYwx5e6fDbOY=

Visual documentation

Image

Environment

- FlutterFlow version: v.6.1.44
- Platform:MacOs Dekstop
- Browser name and version: 
- Operating system and version affected: 15.6 (24G84)

Additional Information

No response

Metadata

Metadata

Assignees

Labels

status: needs triageA potential issue that has not been confirmed as a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions