Hi.
I have an app here which fails to start on the "owner" (=non-play-services) profile of my P8pro (running latest GOS, always updating) but works on the PlayServices profile I have. So what?
Well, there is another app for the same purpose working without the PSs, but that is being discontinued, so at some point I'll have to switch.
Switching the profile for that purpose every time is a bit annoying.
So, is there a way to have the PlayServices (spoofed) in the primary profile somehow?
Fwiw, here's the error lines from the crash log:
com.google.android.gms.tasks.RuntimeExecutionException: com.google.android.gms.common.api.ApiException: 17: API: LocationServices.API is not available on this device. Connection failed with: ConnectionResult{statusCode=SERVICE_INVALID, resolution=null, message=null}
at com.google.android.gms.tasks.D.j(com.google.android.gms:play-services-tasks@@18.0.2:27)
at com.hmg.ccs.sdk.core.sensor.LocationProvider.checkSharedLocation$lambda$12(LocationProvider.kt:6)
at com.hmg.ccs.sdk.core.sensor.LocationProvider.j(LocationProvider.kt:1)
at com.hmg.ccs.sdk.core.sensor.b.onComplete(R8$$SyntheticClass:3)
at com.google.android.gms.cloudmessaging.m.run(com.google.android.gms:play-services-cloud-messaging@@17.0.0:26)
at android.os.Handler.handleCallback(Handler.java:991)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loopOnce(Looper.java:232)
at android.os.Looper.loop(Looper.java:317)
at android.app.ActivityThread.main(ActivityThread.java:8973)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:591)
at com.android.internal.os.ExecInit.main(ExecInit.java:50)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:369)
Caused by: com.google.android.gms.common.api.ApiException: 17: API: LocationServices.API is not available on this device. Connection failed with: ConnectionResult{statusCode=SERVICE_INVALID, resolution=null, message=null}
at androidx.compose.foundation.l.g(BorderStroke.kt:15)
at com.google.android.gms.common.api.internal.f0.a(com.google.android.gms:play-services-base@@18.2.0:6)
at com.google.android.gms.common.api.internal.G.d(com.google.android.gms:play-services-base@@18.2.0:47)
at com.google.android.gms.common.api.internal.G.c(com.google.android.gms:play-services-base@@18.2.0:10)
at com.google.android.gms.common.api.internal.G.n(com.google.android.gms:play-services-base@@18.2.0:191)
at com.google.android.gms.common.api.internal.G.l(com.google.android.gms:play-services-base@@18.2.0:144)
at com.google.android.gms.common.api.internal.G.m(com.google.android.gms:play-services-base@@18.2.0:52)
at com.google.android.gms.common.api.internal.f.handleMessage(com.google.android.gms:play-services-base@@18.2.0:990)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loopOnce(Looper.java:232)
at android.os.Looper.loop(Looper.java:317)
at android.os.HandlerThread.run(HandlerThread.java:85)