KeyMapper icon indicating copy to clipboard operation
KeyMapper copied to clipboard

Crashes when opened on Waydroid

Open Firepup6500 opened this issue 6 months ago • 7 comments
trafficstars

Developer TODO (don't remove)

  • [ ] update documentation

Describe the bug The app crashes when launched on Waydroid

Attach bug report Not possible

To Reproduce Steps to reproduce the behavior:

  1. Install the app
  2. Launch the app
  3. Observe the crash

Key maps N/A

Expected behavior The app launches

Screenshots Image

Device and app info

  • Device: Waydroid x86_64 Device
  • Android version (include HyperOS, OneUI version as well): 11
  • Key Mapper version: 3.1.1

Some logs from logcat:

05-14 11:07:41.259   262  5760 I ActivityTaskManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10300000 cmp=io.github.sds100.keymapper/.MainActivity} from uid 10152
05-14 11:07:41.264   262  5760 E BoringdroidConfig: Don't save package windowing mode when pc mode disabled
05-14 11:07:41.297   262   283 I android_os_HwBinder: HwBinder: Starting hwbinderthread pool for getting: [email protected]::IWaydroidWindow/default
05-14 11:07:41.300   262   282 D CompatibilityChangeReporter: Compat change id reported: 136274596; UID 10200; state: ENABLED
05-14 11:07:41.310   262   435 I system_server: oneway function results will be dropped but finished with status OK and parcel size 4
05-14 11:07:41.314   262   435 I system_server: oneway function results will be dropped but finished with status OK and parcel size 4
05-14 11:07:41.315 20209 20209 D AppCompatDelegate: Checking for metadata for AppLocalesMetadataHolderService : Service not found
05-14 11:07:41.318   262   435 I system_server: oneway function results will be dropped but finished with status OK and parcel size 4
05-14 11:07:41.351 20209 20209 I android_os_HwBinder: HwBinder: Starting hwbinderthread pool for getting: [email protected]::IWaydroidWindow/default
05-14 11:07:41.368 15145 15145 D RecentsOrientedState: current RecentsOrientedState: [this=RecentsOrientedState@4b853b4 mOrientationHandler=PortraitPagedViewHandler@794adc4 mDisplayRotation=0 mTouchRotation=0 mRecentsActivityRotation=0 isRecentsActivityRotationAllowed=true mSystemRotation=false mFlags=0]
05-14 11:07:41.368 15145 15145 I chatty  : uid=10131(com.android.launcher3) identical 2 lines
05-14 11:07:41.368 15145 15145 D RecentsOrientedState: current RecentsOrientedState: [this=RecentsOrientedState@4b853b4 mOrientationHandler=PortraitPagedViewHandler@794adc4 mDisplayRotation=0 mTouchRotation=0 mRecentsActivityRotation=0 isRecentsActivityRotationAllowed=true mSystemRotation=false mFlags=0]
05-14 11:07:41.414 20209 20209 I android_os_HwBinder: HwBinder: Starting hwbinderthread pool for getting: [email protected]::IWaydroidWindow/default
05-14 11:07:41.445 20209 20209 I android_os_HwBinder: HwBinder: Starting hwbinderthread pool for getting: [email protected]::IWaydroidWindow/default
05-14 11:07:41.450 19720 19740 I Finsky  : [2168] oby.iE(64): io.github.sds100.keymapper: Account determined from installer data - [H8N_xqwR6AHtkk8U9Uuplqqk8zx40Y20BHjXZji-uyI]
05-14 11:07:41.451 19720 19740 I Finsky  : [2168] wdg.d(891): Billing preferred account via installer for io.github.sds100.keymapper: [H8N_xqwR6AHtkk8U9Uuplqqk8zx40Y20BHjXZji-uyI]
05-14 11:07:41.452 19720 19740 W Finsky  : [2168] oqp.A(756): Input error: Non-null bundle expected for showInAppMessages
05-14 11:07:41.513    19    19 I hwservicemanager: getTransport: Cannot find entry [email protected]::IMapper/default in either framework or device manifest.
05-14 11:07:41.514 20209 20261 W MESA    : Using gralloc header from libdrm/android/gralloc_handle.h.  This is not recommended for new distributions.  Initializing a fallback gralloc as a helper:
05-14 11:07:41.515 20209 20261 I MESA    : Using fallback gralloc implementation
05-14 11:07:41.515 20209 20261 W EGL-MAIN: failed to get driver name for fd -1
05-14 11:07:41.515 20209 20261 W EGL-MAIN: MESA-LOADER: failed to retrieve device information
05-14 11:07:41.515 20209 20261 W EGL-MAIN: failed to get driver name for fd -1
05-14 11:07:41.536    19    19 I hwservicemanager: getTransport: Cannot find entry [email protected]::IMapper/default in either framework or device manifest.
05-14 11:07:41.537 20209 20261 I Gralloc4: mapper 4.x is not supported
05-14 11:07:41.538    19    19 I hwservicemanager: getTransport: Cannot find entry [email protected]::IMapper/default in either framework or device manifest.
05-14 11:07:41.538 20209 20261 W Gralloc3: mapper 3.x is not supported
05-14 11:07:41.642    85   201 W APM::AudioPolicyEngine: getDevicesForStrategy() unknown strategy: -1
05-14 11:07:41.643   262  5760 I system_server: oneway function results will be dropped but finished with status OK and parcel size 4
05-14 11:07:41.692 19720 19740 I Finsky  : [2168] oby.iE(64): io.github.sds100.keymapper: Account determined from installer data - [H8N_xqwR6AHtkk8U9Uuplqqk8zx40Y20BHjXZji-uyI]
05-14 11:07:41.693 19720 19740 I Finsky  : [2168] wdg.d(891): Billing preferred account via installer for io.github.sds100.keymapper: [H8N_xqwR6AHtkk8U9Uuplqqk8zx40Y20BHjXZji-uyI]
05-14 11:07:41.694 19720 19740 W Finsky  : [2168] sfq.p(55): Got api version 24 for account: [H8N_xqwR6AHtkk8U9Uuplqqk8zx40Y20BHjXZji-uyI]
05-14 11:07:41.696   262   287 I ActivityTaskManager: Displayed io.github.sds100.keymapper/.MainActivity: +422ms
05-14 11:07:41.725 19720 19740 I Finsky  : [2168] oby.iE(64): io.github.sds100.keymapper: Account determined from installer data - [H8N_xqwR6AHtkk8U9Uuplqqk8zx40Y20BHjXZji-uyI]
05-14 11:07:41.726 19720 19740 I Finsky  : [2168] wdg.d(891): Billing preferred account via installer for io.github.sds100.keymapper: [H8N_xqwR6AHtkk8U9Uuplqqk8zx40Y20BHjXZji-uyI]
05-14 11:07:41.731 19720 19740 W Finsky  : [2168] sfq.p(55): Got api version 24 for account: [H8N_xqwR6AHtkk8U9Uuplqqk8zx40Y20BHjXZji-uyI]
05-14 11:07:41.732 19720 19740 I Finsky  : [2168] qdk.h(661): User is not an active Play Pass subscriber
05-14 11:07:41.768 20209 20209 D AndroidRuntime: Shutting down VM
05-14 11:07:41.769 20209 20209 E AndroidRuntime: FATAL EXCEPTION: main
05-14 11:07:41.769 20209 20209 E AndroidRuntime: Process: io.github.sds100.keymapper, PID: 20209
05-14 11:07:41.769 20209 20209 E AndroidRuntime: java.lang.ExceptionInInitializerError
05-14 11:07:41.769 20209 20209 E AndroidRuntime:        at com.google.android.gms.internal.play_billing.D.l(SourceFile:6)
05-14 11:07:41.769 20209 20209 E AndroidRuntime:        at com.google.android.gms.internal.play_billing.D.m(SourceFile:28)
05-14 11:07:41.769 20209 20209 E AndroidRuntime:        at com.revenuecat.purchases.google.BillingClientParamBuildersKt.buildQueryProductDetailsParams(SourceFile:144)
05-14 11:07:41.769 20209 20209 E AndroidRuntime:        at com.revenuecat.purchases.google.usecase.QueryProductDetailsUseCase.queryProductDetailsAsyncEnsuringOneResponse(SourceFile:2)
05-14 11:07:41.769 20209 20209 E AndroidRuntime:        at com.revenuecat.purchases.google.usecase.QueryProductDetailsUseCase.access$queryProductDetailsAsyncEnsuringOneResponse(SourceFile:1)
05-14 11:07:41.769 20209 20209 E AndroidRuntime:        at com.revenuecat.purchases.google.usecase.QueryProductDetailsUseCase$executeAsync$1.invoke(SourceFile:6)
05-14 11:07:41.769 20209 20209 E AndroidRuntime:        at com.revenuecat.purchases.google.usecase.QueryProductDetailsUseCase$executeAsync$1.invoke(SourceFile:1)
05-14 11:07:41.769 20209 20209 E AndroidRuntime:        at com.revenuecat.purchases.google.BillingWrapper.withConnectedClient(SourceFile:17)
05-14 11:07:41.769 20209 20209 E AndroidRuntime:        at com.revenuecat.purchases.google.BillingWrapper.access$withConnectedClient(SourceFile:1)
05-14 11:07:41.769 20209 20209 E AndroidRuntime:        at com.revenuecat.purchases.google.BillingWrapper$queryProductDetailsAsync$useCase$1.invoke(SourceFile:2)
05-14 11:07:41.769 20209 20209 E AndroidRuntime:        at com.revenuecat.purchases.google.BillingWrapper$queryProductDetailsAsync$useCase$1.invoke(SourceFile:1)
05-14 11:07:41.769 20209 20209 E AndroidRuntime:        at com.revenuecat.purchases.google.usecase.QueryProductDetailsUseCase.executeAsync(SourceFile:73)
05-14 11:07:41.769 20209 20209 E AndroidRuntime:        at com.revenuecat.purchases.google.usecase.BillingClientUseCase$run$1.invoke(SourceFile:2)
05-14 11:07:41.769 20209 20209 E AndroidRuntime:        at com.revenuecat.purchases.google.usecase.BillingClientUseCase$run$1.invoke(SourceFile:1)
05-14 11:07:41.769 20209 20209 E AndroidRuntime:        at com.revenuecat.purchases.google.BillingWrapper.executePendingRequests$lambda$3$lambda$2$lambda$0(SourceFile:7)
05-14 11:07:41.769 20209 20209 E AndroidRuntime:        at com.revenuecat.purchases.google.BillingWrapper.e(SourceFile:1)
05-14 11:07:41.769 20209 20209 E AndroidRuntime:        at com.revenuecat.purchases.google.a.run(SourceFile:1)
05-14 11:07:41.769 20209 20209 E AndroidRuntime:        at android.os.Handler.handleCallback(Handler.java:938)
05-14 11:07:41.769 20209 20209 E AndroidRuntime:        at android.os.Handler.dispatchMessage(Handler.java:99)
05-14 11:07:41.769 20209 20209 E AndroidRuntime:        at android.os.Looper.loop(Looper.java:223)
05-14 11:07:41.769 20209 20209 E AndroidRuntime:        at android.app.ActivityThread.main(ActivityThread.java:7665)
05-14 11:07:41.769 20209 20209 E AndroidRuntime:        at java.lang.reflect.Method.invoke(Native Method)
05-14 11:07:41.769 20209 20209 E AndroidRuntime:        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
05-14 11:07:41.769 20209 20209 E AndroidRuntime:        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:948)
05-14 11:07:41.769 20209 20209 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.util.AbstractCollection.size()' on a null object reference
05-14 11:07:41.769 20209 20209 E AndroidRuntime:        at com.google.android.gms.internal.play_billing.A.<init>(SourceFile:1)
05-14 11:07:41.769 20209 20209 E AndroidRuntime:        at com.google.android.gms.internal.play_billing.D.<clinit>(SourceFile:6)
05-14 11:07:41.769 20209 20209 E AndroidRuntime:        ... 24 more
05-14 11:07:41.772    88    88 E Layer   : [Task=47 - animation-leash#0] No local sync point found
05-14 11:07:41.772    88    88 E Layer   : [Task=7 - animation-leash#0] No local sync point found
05-14 11:07:41.777   262 20282 I DropBoxManagerService: add tag=data_app_crash isTagEnabled=true flags=0x2
05-14 11:07:41.778   262   705 W ActivityTaskManager:   Force finishing activity io.github.sds100.keymapper/.MainActivity

Firepup6500 avatar May 14 '25 16:05 Firepup6500

A note since it mentions billing in the crash: Other paid apps (and ones with in-app purchases) work fine.

Firepup6500 avatar May 14 '25 16:05 Firepup6500

Thanks for reporting this. Did the app crash on any previous version?

jambl3r avatar May 14 '25 23:05 jambl3r

I'm not sure, this is the first time I've tried to use it on wayland

Firepup6500 avatar May 15 '25 04:05 Firepup6500

Is this using official google play services or micro g?

sds100 avatar May 15 '25 10:05 sds100

I'm not sure, it might have both

Firepup6500 avatar May 16 '25 06:05 Firepup6500

Hey 👋 all

@sds100 , thanks for looking into this. I believe i am having the same issue and I am using Google Play Store

Device name: WayDroid x86_64 Device Build number: lineage_waydroid_x86_64-userdebug 11 RQ3A.211001.001 146 test-keys Google Play Store 30.3.21-21 [0] [PR] 445437866

The google play store was installed with the help of https://github.com/casualsnek/waydroid_script

Output of waydroid logcat, See at the bottom of the message ⬇

Thank you 👍

https://github.com/user-attachments/assets/819c3525-1271-4390-8aa6-2b697cade5b8

The Crash log (Click to expand)

06-06 19:16:56.663  1101  1101 D BoundBrokerSvc: onUnbind: Intent { act=com.google.android.gms.measurement.START pkg=com.google.android.gms }
06-06 19:16:59.736   970   970 D BoundBrokerSvc: onUnbind: Intent { act=com.google.android.gms.scheduler.ACTION_PROXY_SCHEDULE_SINGLE_USER dat=chimera-action: cmp=com.google.android.gms/.chimera.PersistentSingleUserInternalApiService }
06-06 19:17:00.000   393   393 D KeyguardClockSwitch: Updating clock: 7:17
06-06 19:17:10.121   258  4492 I ActivityTaskManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=io.github.sds100.keymapper/.MainActivity bnds=[248,349][424,477]} from uid 10140
06-06 19:17:10.125   258  4492 E BoringdroidConfig: Don't save package windowing mode when pc mode disabled
06-06 19:17:10.132   258   278 D CompatibilityChangeReporter: Compat change id reported: 136274596; UID 10162; state: ENABLED
06-06 19:17:00.013   393   393 D KeyguardClockSwitch: Updating clock: 7:17
06-06 19:17:10.132   258   279 I android_os_HwBinder: HwBinder: Starting hwbinderthread pool for getting: [email protected]::IWaydroidWindow/default
06-06 19:17:10.133   258   279 D ViewRootImpl: Faking touch inputs for io.github.sds100.keymapper
06-06 19:17:10.135 10276 10276 D AppCompatDelegate: Checking for metadata for AppLocalesMetadataHolderService : Service not found
06-06 19:17:10.145 10276 10276 I android_os_HwBinder: HwBinder: Starting hwbinderthread pool for getting: [email protected]::IWaydroidWindow/default
06-06 19:17:10.162   258   571 I system_server: oneway function results will be dropped but finished with status OK and parcel size 4
06-06 19:17:10.162   258  4492 I system_server: oneway function results will be dropped but finished with status OK and parcel size 4
06-06 19:17:10.163   258  4492 I system_server: oneway function results will be dropped but finished with status OK and parcel size 4
06-06 19:17:10.172   110   110 E Layer   : [Task=196 - animation-leash#0] No local sync point found
06-06 19:17:10.172   110   110 E Layer   : [Task=196 - animation-leash#0] No local sync point found
06-06 19:17:10.172   110   110 E Layer   : [Task=1 - animation-leash#0] No local sync point found
06-06 19:17:10.172   110   110 E Layer   : [Task=1 - animation-leash#0] No local sync point found
06-06 19:17:10.182 10276 10276 D ViewRootImpl: Faking touch inputs for io.github.sds100.keymapper
06-06 19:17:10.189  7153  7172 I Finsky  : [456] ges.a(14): io.github.sds100.keymapper: Account determined from installer data - [iPoah7iXZLMlk0Z71iy9g9nJ67jqFLHUkjFG2BQmf9k]
06-06 19:17:10.190  7153  7172 I Finsky  : [456] ges.a(63): Billing preferred account via installer for io.github.sds100.keymapper: [iPoah7iXZLMlk0Z71iy9g9nJ67jqFLHUkjFG2BQmf9k]
06-06 19:17:10.232    35    35 I hwservicemanager: getTransport: Cannot find entry [email protected]::IMapper/default in either framework or device manifest.
06-06 19:17:10.232 10276 10723 W MESA    : Using gralloc header from libdrm/android/gralloc_handle.h.  This is not recommended for new distributions.  Initializing a fallback gralloc as a helper:
06-06 19:17:10.233 10276 10723 I MESA    : Using fallback gralloc implementation
06-06 19:17:10.233 10276 10723 W EGL-MAIN: failed to get driver name for fd -1
06-06 19:17:10.233 10276 10723 W EGL-MAIN: MESA-LOADER: failed to retrieve device information
06-06 19:17:10.233 10276 10723 W EGL-MAIN: failed to get driver name for fd -1
06-06 19:17:10.243    35    35 I hwservicemanager: getTransport: Cannot find entry [email protected]::IMapper/default in either framework or device manifest.
06-06 19:17:10.243 10276 10723 I Gralloc4: mapper 4.x is not supported
06-06 19:17:10.243    35    35 I hwservicemanager: getTransport: Cannot find entry [email protected]::IMapper/default in either framework or device manifest.
06-06 19:17:10.243 10276 10723 W Gralloc3: mapper 3.x is not supported
06-06 19:17:10.273  7153  7172 I Finsky  : [456] ges.a(14): io.github.sds100.keymapper: Account determined from installer data - [iPoah7iXZLMlk0Z71iy9g9nJ67jqFLHUkjFG2BQmf9k]
06-06 19:17:10.273  7153  7172 I Finsky  : [456] ges.a(63): Billing preferred account via installer for io.github.sds100.keymapper: [iPoah7iXZLMlk0Z71iy9g9nJ67jqFLHUkjFG2BQmf9k]
06-06 19:17:10.274   258   283 I ActivityTaskManager: Displayed io.github.sds100.keymapper/.MainActivity: +150ms
06-06 19:17:10.280  7153  7172 I Finsky  : [456] ges.a(14): io.github.sds100.keymapper: Account determined from installer data - [iPoah7iXZLMlk0Z71iy9g9nJ67jqFLHUkjFG2BQmf9k]
06-06 19:17:10.281  7153  7172 I Finsky  : [456] ges.a(63): Billing preferred account via installer for io.github.sds100.keymapper: [iPoah7iXZLMlk0Z71iy9g9nJ67jqFLHUkjFG2BQmf9k]
06-06 19:17:10.431   101   235 W APM::AudioPolicyEngine: getDevicesForStrategy() unknown strategy: -1
06-06 19:17:10.431   258  1322 I system_server: oneway function results will be dropped but finished with status OK and parcel size 4
06-06 19:17:10.681   970   988 I FontLog : Received query Noto Color Emoji Compat, URI content://com.google.android.gms.fonts [CONTEXT service_id=132 ]
06-06 19:17:10.682   970   988 I FontLog : Query [emojicompat-emoji-font] resolved to {Noto Color Emoji Compat, wdth 100.0, wght 400, ital 0.0, bestEffort false}, isVf false} [CONTEXT service_id=132 ]
06-06 19:17:10.682   970   988 I FontLog : Fetch {Noto Color Emoji Compat, wdth 100.0, wght 400, ital 0.0, bestEffort false}, isVf false} end status Status{statusCode=SUCCESS, resolution=null} [CONTEXT service_id=132 ]
06-06 19:17:10.683   970   988 I FontLog : Pulling font file for id = 71, cache size = 8 [CONTEXT service_id=132 ]
06-06 19:17:10.685   970   988 I FontLog : Pulling font file for id = 71, cache size = 8 [CONTEXT service_id=132 ]
06-06 19:17:10.786 10276 10276 D AndroidRuntime: Shutting down VM
06-06 19:17:10.787 10276 10276 E AndroidRuntime: FATAL EXCEPTION: main
06-06 19:17:10.787 10276 10276 E AndroidRuntime: Process: io.github.sds100.keymapper, PID: 10276
06-06 19:17:10.787 10276 10276 E AndroidRuntime: java.lang.ExceptionInInitializerError
06-06 19:17:10.787 10276 10276 E AndroidRuntime: 	at com.google.android.gms.internal.play_billing.D.l(SourceFile:6)
06-06 19:17:10.787 10276 10276 E AndroidRuntime: 	at com.google.android.gms.internal.play_billing.D.m(SourceFile:28)
06-06 19:17:10.787 10276 10276 E AndroidRuntime: 	at com.revenuecat.purchases.google.BillingClientParamBuildersKt.buildQueryProductDetailsParams(SourceFile:144)
06-06 19:17:10.787 10276 10276 E AndroidRuntime: 	at com.revenuecat.purchases.google.usecase.QueryProductDetailsUseCase.queryProductDetailsAsyncEnsuringOneResponse(SourceFile:2)
06-06 19:17:10.787 10276 10276 E AndroidRuntime: 	at com.revenuecat.purchases.google.usecase.QueryProductDetailsUseCase.access$queryProductDetailsAsyncEnsuringOneResponse(SourceFile:1)
06-06 19:17:10.787 10276 10276 E AndroidRuntime: 	at com.revenuecat.purchases.google.usecase.QueryProductDetailsUseCase$executeAsync$1.invoke(SourceFile:6)
06-06 19:17:10.787 10276 10276 E AndroidRuntime: 	at com.revenuecat.purchases.google.usecase.QueryProductDetailsUseCase$executeAsync$1.invoke(SourceFile:1)
06-06 19:17:10.787 10276 10276 E AndroidRuntime: 	at com.revenuecat.purchases.google.BillingWrapper.withConnectedClient(SourceFile:17)
06-06 19:17:10.787 10276 10276 E AndroidRuntime: 	at com.revenuecat.purchases.google.BillingWrapper.access$withConnectedClient(SourceFile:1)
06-06 19:17:10.787 10276 10276 E AndroidRuntime: 	at com.revenuecat.purchases.google.BillingWrapper$queryProductDetailsAsync$useCase$1.invoke(SourceFile:2)
06-06 19:17:10.787 10276 10276 E AndroidRuntime: 	at com.revenuecat.purchases.google.BillingWrapper$queryProductDetailsAsync$useCase$1.invoke(SourceFile:1)
06-06 19:17:10.787 10276 10276 E AndroidRuntime: 	at com.revenuecat.purchases.google.usecase.QueryProductDetailsUseCase.executeAsync(SourceFile:73)
06-06 19:17:10.787 10276 10276 E AndroidRuntime: 	at com.revenuecat.purchases.google.usecase.BillingClientUseCase$run$1.invoke(SourceFile:2)
06-06 19:17:10.787 10276 10276 E AndroidRuntime: 	at com.revenuecat.purchases.google.usecase.BillingClientUseCase$run$1.invoke(SourceFile:1)
06-06 19:17:10.787 10276 10276 E AndroidRuntime: 	at com.revenuecat.purchases.google.BillingWrapper.executePendingRequests$lambda$3$lambda$2$lambda$0(SourceFile:7)
06-06 19:17:10.787 10276 10276 E AndroidRuntime: 	at com.revenuecat.purchases.google.BillingWrapper.e(SourceFile:1)
06-06 19:17:10.787 10276 10276 E AndroidRuntime: 	at com.revenuecat.purchases.google.a.run(SourceFile:1)
06-06 19:17:10.787 10276 10276 E AndroidRuntime: 	at android.os.Handler.handleCallback(Handler.java:938)
06-06 19:17:10.787 10276 10276 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:99)
06-06 19:17:10.787 10276 10276 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:223)
06-06 19:17:10.787 10276 10276 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:7665)
06-06 19:17:10.787 10276 10276 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
06-06 19:17:10.787 10276 10276 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
06-06 19:17:10.787 10276 10276 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:948)
06-06 19:17:10.787 10276 10276 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.util.AbstractCollection.size()' on a null object reference
06-06 19:17:10.787 10276 10276 E AndroidRuntime: 	at com.google.android.gms.internal.play_billing.A.<init>(SourceFile:1)
06-06 19:17:10.787 10276 10276 E AndroidRuntime: 	at com.google.android.gms.internal.play_billing.D.<clinit>(SourceFile:6)
06-06 19:17:10.787 10276 10276 E AndroidRuntime: 	... 24 more
06-06 19:17:10.789   258 10749 I DropBoxManagerService: add tag=data_app_crash isTagEnabled=true flags=0x2
06-06 19:17:10.789   258  1273 W ActivityTaskManager:   Force finishing activity io.github.sds100.keymapper/.MainActivity
06-06 19:17:10.796   258   284 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.stats.service.DropBoxEntryAddedReceiver
06-06 19:17:10.796    35    35 I hwservicemanager: getTransport: Cannot find entry [email protected]::IMapper/default in either framework or device manifest.
06-06 19:17:10.796   258  2791 W MESA    : Using gralloc header from libdrm/android/gralloc_handle.h.  This is not recommended for new distributions.  Initializing a fallback gralloc as a helper:
06-06 19:17:10.796   258  2791 I MESA    : Using fallback gralloc implementation
06-06 19:17:10.797   258  2791 W EGL-MAIN: failed to get driver name for fd -1
06-06 19:17:10.797   258  2791 W EGL-MAIN: MESA-LOADER: failed to retrieve device information
06-06 19:17:10.797   258  2791 W EGL-MAIN: failed to get driver name for fd -1
06-06 19:17:10.797 10276 10276 I Process : Sending signal. PID: 10276 SIG: 9
06-06 19:17:10.808   258   318 W InputDispatcher: channel 'e9339a8 io.github.sds100.keymapper/io.github.sds100.keymapper.MainActivity (server)' ~ Consumer closed input channel or an error occurred.  events=0xd
06-06 19:17:10.808   258   318 E InputDispatcher: channel 'e9339a8 io.github.sds100.keymapper/io.github.sds100.keymapper.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
06-06 19:17:10.808   750   770 W System  : A resource failed to call release.
06-06 19:17:10.808   258   627 I WindowManager: WIN DEATH: Window{e9339a8 u0 io.github.sds100.keymapper/io.github.sds100.keymapper.MainActivity}
06-06 19:17:10.808   258  6885 I ActivityManager: Process io.github.sds100.keymapper (pid 10276) has died: vis TOP
06-06 19:17:10.808   750   770 I chatty  : uid=10140(com.android.launcher3) FinalizerDaemon identical 1 line
06-06 19:17:10.808   750   770 W System  : A resource failed to call release.
06-06 19:17:10.808   258   627 W InputDispatcher: Attempted to unregister already unregistered input channel 'e9339a8 io.github.sds100.keymapper/io.github.sds100.keymapper.MainActivity (server)'
06-06 19:17:10.809   750   770 W System  : A resource failed to call release.
06-06 19:17:10.809   750   770 W System  : A resource failed to call release.
06-06 19:17:10.809   258   286 W libprocessgroup: Failed to open process cgroup uid 10162 pid 10276: Permission denied
06-06 19:17:10.809   750   770 W System  : A resource failed to call release.
06-06 19:17:10.809   258   286 E libprocessgroup: Error encountered killing process cgroup uid 10162 pid 10276: Permission denied
06-06 19:17:10.809    69    69 I Zygote  : Process 10276 exited due to signal 9 (Killed)
06-06 19:17:10.810   258   652 W WindowManager: removeWindowToken: Attempted to remove non-existing token: android.os.Binder@d39103b
06-06 19:17:10.810   258  6885 W ActivityManager: Scheduling restart of crashed service io.github.sds100.keymapper/.system.accessibility.MyAccessibilityService in 1000ms for connection
06-06 19:17:10.810   258  1273 W WindowManager: Cannot find window which accessibility connection is added to
06-06 19:17:10.813   258   278 W ActivityManager: setHasOverlayUi called on unknown pid: 10276
06-06 19:17:10.814   750   750 W ViewRootImpl[QuickstepLauncher]: Cancelling event due to no window focus: MotionEvent { action=ACTION_CANCEL, actionButton=0, id[0]=0, x[0]=337.0, y[0]=411.0, toolType[0]=TOOL_TYPE_MOUSE, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=38205265, downTime=38204496, deviceId=-1, source=0x2002, displayId=0 }
06-06 19:17:10.818   258   318 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (811, 450) in display 0.
06-06 19:17:10.814   750   750 I chatty  : uid=10140(com.android.launcher3) identical 2 lines
06-06 19:17:10.814   750   750 W ViewRootImpl[QuickstepLauncher]: Cancelling event due to no window focus: MotionEvent { action=ACTION_CANCEL, actionButton=0, id[0]=0, x[0]=337.0, y[0]=411.0, toolType[0]=TOOL_TYPE_MOUSE, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=38205265, downTime=38204496, deviceId=-1, source=0x2002, displayId=0 }
06-06 19:17:10.828   258  6885 W ActivityManager: Unable to start service Intent { act=com.android.launcher3.WINDOW_OVERLAY dat=app://com.android.launcher3:10140?v=9&cv=14 pkg=com.google.android.googlequicksearchbox } U=0: not found
06-06 19:17:10.828   258   318 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (828, 450) in display 0.
06-06 19:17:10.836   258   318 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (861, 454) in display 0.
06-06 19:17:10.846   258   318 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (893, 456) in display 0.
06-06 19:17:10.852   258   318 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (925, 458) in display 0.
06-06 19:17:10.860   258   318 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (955, 462) in display 0.
06-06 19:17:11.290   258   278 W ActivityTaskManager: Activity top resumed state loss timeout for ActivityRecord{7585306 u0 io.github.sds100.keymapper/.MainActivity t-1 f}}
06-06 19:17:11.811   258   284 D CompatibilityChangeReporter: Compat change id reported: 135634846; UID 10162; state: DISABLED
06-06 19:17:11.812   258   285 D CompatibilityChangeReporter: Compat change id reported: 143937733; UID 10162; state: ENABLED
06-06 19:17:11.823    69    69 D Zygote  : Forked child process 10757
06-06 19:17:11.826   258   285 I ActivityManager: Start proc 10757:io.github.sds100.keymapper/u0a162 for service {io.github.sds100.keymapper/io.github.sds100.keymapper.system.accessibility.MyAccessibilityService}
06-06 19:17:11.828 10757 10757 E libprocessgroup: Failed to make and chown /acct/uid_10162: Read-only file system
06-06 19:17:11.829 10757 10757 W Zygote  : createProcessGroup failed, kernel missing CONFIG_CGROUP_CPUACCT?
06-06 19:17:11.831 10757 10757 W ds100.keymappe: Unexpected CPU variant for X86 using defaults: x86_64
06-06 19:17:11.835   129   151 I adbd    : jdwp connection from 10757
06-06 19:17:11.877 10757 10757 W ds100.keymappe: JIT profile information will not be recorded: profile file does not exist.
06-06 19:17:11.878 10757 10757 I chatty  : uid=10162(io.github.sds100.keymapper) identical 1 line
06-06 19:17:11.878 10757 10757 W ds100.keymappe: JIT profile information will not be recorded: profile file does not exist.
06-06 19:17:11.883 10757 10757 D NetworkSecurityConfig: No Network Security Config specified, using platform default
06-06 19:17:11.884 10757 10757 D NetworkSecurityConfig: No Network Security Config specified, using platform default
06-06 19:17:11.887 10757 10757 I MultiDex: VM with version 2.1.0 has multidex support
06-06 19:17:11.887 10757 10757 I MultiDex: Installing application
06-06 19:17:11.887 10757 10757 I MultiDex: VM has multidex support, MultiDex support library is disabled.
06-06 19:17:11.891 10757 10757 D ShizukuProvider: Initialize Sui: false
06-06 19:17:11.893 10757 10757 I KeyMapperApp: KeyMapperApp: OnCreate
06-06 19:17:11.893 10757 10757 I KeyMapperApp: KeyMapperApp: Init
06-06 19:17:11.896 10757 10757 W ds100.keymappe: Accessing hidden method Landroid/permission/IPermissionManager$Stub;->asInterface(Landroid/os/IBinder;)Landroid/permission/IPermissionManager; (blacklist, linking, denied)
06-06 19:17:11.902 10757 10757 W ds100.keymappe: Accessing hidden method Landroid/permission/IPermissionManager;->grantRuntimePermission(Ljava/lang/String;Ljava/lang/String;I)V (blacklist, linking, denied)
06-06 19:17:11.902 10757 10757 W ds100.keymappe: Accessing hidden method Landroid/permission/IPermissionManager;->grantRuntimePermission(Ljava/lang/String;Ljava/lang/String;I)V (blacklist, linking, denied)
06-06 19:17:11.929 10757 10757 W AudioManager: attempt to call unregisterAudioPlaybackCallback() on a callback that was never registered
06-06 19:17:11.970 10757 10757 I CameraManagerGlobal: Connecting to camera service
06-06 19:17:11.970   161  1348 W ServiceManager: Permission failure: android.permission.CAMERA_OPEN_CLOSE_LISTENER from uid=10162 pid=10757
06-06 19:17:11.981   258   273 D CompatibilityChangeReporter: Compat change id reported: 136293963; UID 10162; state: ENABLED
06-06 19:17:11.989 10757 10757 W ContextCompat: The context:io.github.sds100.keymapper.system.accessibility.MyAccessibilityService@f222306 is not associated with any display. Return a fallback display instead.
06-06 19:17:11.996 10757 10757 D CompatibilityChangeReporter: Compat change id reported: 147600208; UID 10162; state: ENABLED
06-06 19:17:12.009  7153  7172 I Finsky  : [456] ges.a(14): io.github.sds100.keymapper: Account determined from installer data - [iPoah7iXZLMlk0Z71iy9g9nJ67jqFLHUkjFG2BQmf9k]
06-06 19:17:12.010  7153  7172 I Finsky  : [456] ges.a(63): Billing preferred account via installer for io.github.sds100.keymapper: [iPoah7iXZLMlk0Z71iy9g9nJ67jqFLHUkjFG2BQmf9k]
06-06 19:17:12.011  7153  7172 W Finsky  : [456] ggm.h(10): Unsupported billing API version: 23
06-06 19:17:12.015  7153  7172 I Finsky  : [456] ges.a(14): io.github.sds100.keymapper: Account determined from installer data - [iPoah7iXZLMlk0Z71iy9g9nJ67jqFLHUkjFG2BQmf9k]
06-06 19:17:12.016  7153  7172 I Finsky  : [456] ges.a(63): Billing preferred account via installer for io.github.sds100.keymapper: [iPoah7iXZLMlk0Z71iy9g9nJ67jqFLHUkjFG2BQmf9k]
06-06 19:17:12.017  7153  7172 W Finsky  : [456] ggm.h(10): Unsupported billing API version: 22
06-06 19:17:12.021  7153  7172 I Finsky  : [456] ges.a(14): io.github.sds100.keymapper: Account determined from installer data - [iPoah7iXZLMlk0Z71iy9g9nJ67jqFLHUkjFG2BQmf9k]
06-06 19:17:12.022  7153  7172 I Finsky  : [456] ges.a(63): Billing preferred account via installer for io.github.sds100.keymapper: [iPoah7iXZLMlk0Z71iy9g9nJ67jqFLHUkjFG2BQmf9k]
06-06 19:17:12.023  7153  7172 W Finsky  : [456] ggm.h(10): Unsupported billing API version: 21
06-06 19:17:12.027  7153  7172 I Finsky  : [456] ges.a(14): io.github.sds100.keymapper: Account determined from installer data - [iPoah7iXZLMlk0Z71iy9g9nJ67jqFLHUkjFG2BQmf9k]
06-06 19:17:12.030  7153  7172 I Finsky  : [456] ges.a(63): Billing preferred account via installer for io.github.sds100.keymapper: [iPoah7iXZLMlk0Z71iy9g9nJ67jqFLHUkjFG2BQmf9k]
06-06 19:17:12.031  7153  7172 W Finsky  : [456] ggm.h(10): Unsupported billing API version: 20
06-06 19:17:12.034  7153  7172 I Finsky  : [456] ges.a(14): io.github.sds100.keymapper: Account determined from installer data - [iPoah7iXZLMlk0Z71iy9g9nJ67jqFLHUkjFG2BQmf9k]
06-06 19:17:12.034  7153  7172 I Finsky  : [456] ges.a(63): Billing preferred account via installer for io.github.sds100.keymapper: [iPoah7iXZLMlk0Z71iy9g9nJ67jqFLHUkjFG2BQmf9k]
06-06 19:17:12.035  7153  7172 W Finsky  : [456] ggm.h(10): Unsupported billing API version: 19
06-06 19:17:12.036  7153  7172 I Finsky  : [456] ges.a(14): io.github.sds100.keymapper: Account determined from installer data - [iPoah7iXZLMlk0Z71iy9g9nJ67jqFLHUkjFG2BQmf9k]
06-06 19:17:12.036  7153  7172 I Finsky  : [456] ges.a(63): Billing preferred account via installer for io.github.sds100.keymapper: [iPoah7iXZLMlk0Z71iy9g9nJ67jqFLHUkjFG2BQmf9k]
06-06 19:17:12.037  7153  7172 W Finsky  : [456] ggm.h(10): Unsupported billing API version: 18
06-06 19:17:12.040  7153  7172 I Finsky  : [456] ges.a(14): io.github.sds100.keymapper: Account determined from installer data - [iPoah7iXZLMlk0Z71iy9g9nJ67jqFLHUkjFG2BQmf9k]
06-06 19:17:12.041  7153  7172 I Finsky  : [456] ges.a(63): Billing preferred account via installer for io.github.sds100.keymapper: [iPoah7iXZLMlk0Z71iy9g9nJ67jqFLHUkjFG2BQmf9k]
06-06 19:17:12.042  7153  7172 I Finsky  : [456] ges.a(14): io.github.sds100.keymapper: Account determined from installer data - [iPoah7iXZLMlk0Z71iy9g9nJ67jqFLHUkjFG2BQmf9k]
06-06 19:17:12.042  7153  7172 I Finsky  : [456] ges.a(63): Billing preferred account via installer for io.github.sds100.keymapper: [iPoah7iXZLMlk0Z71iy9g9nJ67jqFLHUkjFG2BQmf9k]
06-06 19:17:12.042  7153  7172 W Finsky  : [456] ggm.h(10): Unsupported billing API version: 23
06-06 19:17:12.045  7153  7172 I Finsky  : [456] ges.a(14): io.github.sds100.keymapper: Account determined from installer data - [iPoah7iXZLMlk0Z71iy9g9nJ67jqFLHUkjFG2BQmf9k]
06-06 19:17:12.045  7153  7172 I Finsky  : [456] ges.a(63): Billing preferred account via installer for io.github.sds100.keymapper: [iPoah7iXZLMlk0Z71iy9g9nJ67jqFLHUkjFG2BQmf9k]
06-06 19:17:12.046  7153  7172 W Finsky  : [456] ggm.h(10): Unsupported billing API version: 22
06-06 19:17:12.049  7153  7172 I Finsky  : [456] ges.a(14): io.github.sds100.keymapper: Account determined from installer data - [iPoah7iXZLMlk0Z71iy9g9nJ67jqFLHUkjFG2BQmf9k]
06-06 19:17:12.050  7153  7172 I Finsky  : [456] ges.a(63): Billing preferred account via installer for io.github.sds100.keymapper: [iPoah7iXZLMlk0Z71iy9g9nJ67jqFLHUkjFG2BQmf9k]
06-06 19:17:12.051  7153  7172 W Finsky  : [456] ggm.h(10): Unsupported billing API version: 21
06-06 19:17:12.052  7153  7172 I Finsky  : [456] ges.a(14): io.github.sds100.keymapper: Account determined from installer data - [iPoah7iXZLMlk0Z71iy9g9nJ67jqFLHUkjFG2BQmf9k]
06-06 19:17:12.053  7153  7172 I Finsky  : [456] ges.a(63): Billing preferred account via installer for io.github.sds100.keymapper: [iPoah7iXZLMlk0Z71iy9g9nJ67jqFLHUkjFG2BQmf9k]
06-06 19:17:12.053  7153  7172 W Finsky  : [456] ggm.h(10): Unsupported billing API version: 20
06-06 19:17:12.054  7153  7172 I Finsky  : [456] ges.a(14): io.github.sds100.keymapper: Account determined from installer data - [iPoah7iXZLMlk0Z71iy9g9nJ67jqFLHUkjFG2BQmf9k]
06-06 19:17:12.054  7153  7172 I Finsky  : [456] ges.a(63): Billing preferred account via installer for io.github.sds100.keymapper: [iPoah7iXZLMlk0Z71iy9g9nJ67jqFLHUkjFG2BQmf9k]
06-06 19:17:12.054  7153  7172 W Finsky  : [456] ggm.h(10): Unsupported billing API version: 19
06-06 19:17:12.055  7153  7172 I Finsky  : [456] ges.a(14): io.github.sds100.keymapper: Account determined from installer data - [iPoah7iXZLMlk0Z71iy9g9nJ67jqFLHUkjFG2BQmf9k]
06-06 19:17:12.055  7153  7172 I Finsky  : [456] ges.a(63): Billing preferred account via installer for io.github.sds100.keymapper: [iPoah7iXZLMlk0Z71iy9g9nJ67jqFLHUkjFG2BQmf9k]
06-06 19:17:12.056  7153  7172 W Finsky  : [456] ggm.h(10): Unsupported billing API version: 18
06-06 19:17:12.056  7153  7172 I Finsky  : [456] ges.a(14): io.github.sds100.keymapper: Account determined from installer data - [iPoah7iXZLMlk0Z71iy9g9nJ67jqFLHUkjFG2BQmf9k]
06-06 19:17:12.057  7153  7172 I Finsky  : [456] ges.a(63): Billing preferred account via installer for io.github.sds100.keymapper: [iPoah7iXZLMlk0Z71iy9g9nJ67jqFLHUkjFG2BQmf9k]
06-06 19:17:12.058 10757 10757 W BillingClient: Current client doesn't support get billing config.
06-06 19:17:12.058 10757 10757 E [Purchases] - ERROR: 🤖‼️ Error getting billing config - DebugMessage: Play Store version installed does not support get billing config.. ErrorCode: -2.
06-06 19:17:12.058 10757 10808 I TetheringManager: registerTetheringEventCallback:io.github.sds100.keymapper
06-06 19:17:12.058 10757 10757 E [Purchases] - ERROR: 🤖‼️ PurchasesError(code=PurchaseNotAllowedError, underlyingErrorMessage=Error getting billing config - DebugMessage: Play Store version installed does not support get billing config.. ErrorCode: -2., message='The device or user is not allowed to make the purchase.')
06-06 19:17:12.058 10757 10757 E [Purchases] - ERROR: 🤖‼️ PurchasesError(code=PurchaseNotAllowedError, underlyingErrorMessage=Error getting billing config - DebugMessage: Play Store version installed does not support get billing config.. ErrorCode: -2., message='The device or user is not allowed to make the purchase.')
06-06 19:17:12.059  7153  7172 I Finsky  : [456] ges.a(14): io.github.sds100.keymapper: Account determined from installer data - [iPoah7iXZLMlk0Z71iy9g9nJ67jqFLHUkjFG2BQmf9k]
06-06 19:17:12.060  7153  7172 I Finsky  : [456] ges.a(63): Billing preferred account via installer for io.github.sds100.keymapper: [iPoah7iXZLMlk0Z71iy9g9nJ67jqFLHUkjFG2BQmf9k]
06-06 19:17:12.060  7153  7172 I Finsky  : [456] ges.a(14): io.github.sds100.keymapper: Account determined from installer data - [iPoah7iXZLMlk0Z71iy9g9nJ67jqFLHUkjFG2BQmf9k]
06-06 19:17:12.060  7153  7172 I Finsky  : [456] ges.a(63): Billing preferred account via installer for io.github.sds100.keymapper: [iPoah7iXZLMlk0Z71iy9g9nJ67jqFLHUkjFG2BQmf9k]
06-06 19:17:12.144   258   258 W NotificationHistory: Attempted to add notif for locked/gone/disabled user 0
06-06 19:17:12.243   258   258 D NotificationService: 0|io.github.sds100.keymapper|143|null|10162: granting content://settings/system/notification_sound
06-06 19:17:12.244   258   258 I chatty  : uid=1000 system_server identical 2 lines
06-06 19:17:12.244   258   258 D NotificationService: 0|io.github.sds100.keymapper|143|null|10162: granting content://settings/system/notification_sound
06-06 19:17:12.244   258   258 W NotificationHistory: Attempted to add notif for locked/gone/disabled user 0
06-06 19:17:13.335   258   627 I system_server: oneway function results will be dropped but finished with status OK and parcel size 4
06-06 19:17:17.202 10757 10813 D ProfileInstaller: Skipping profile installation for io.github.sds100.keymapper

vasilake-v avatar Jun 06 '25 17:06 vasilake-v

This issue seems related to the CPU architecture version of the app installed. The Play Store has a known issue where, if an ARM translation layer like libhoudini is used, it may attempt to download the ARM version of the app—even when an x86_64 version is available. For now, you can try downloading the app from F-Droid, which provides builds for most CPU architectures. However, even under the ARM architecture, the app is expected to work , so not sure why it crashed.

VigneshR387 avatar Jun 07 '25 11:06 VigneshR387