willowtreeapps/Hyperion-Android

Hyperion crash on Android 14

Closed this issue · 1 comments

gradle settings:

compileSdk 33
minSdk 21
targetSdk 34

Manufacturer: samsung
Model: SM-A145F
Brand: samsung
Device: a14
Board: exynos3830
Hardware: s5e3830
Product: a14nsxx
Android Version: 14

java.lang.RuntimeException: Unable to create service com.willowtreeapps.hyperion.core.internal.HyperionService: java.lang.SecurityException: com.square_enix.android_googleplay.PortalAppjp.sqa: One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts
android.app.ActivityThread.handleCreateService(ActivityThread.java:5111)
android.app.ActivityThread.-$$Nest$mhandleCreateService(Unknown Source:0)
android.app.ActivityThread$H.handleMessage(ActivityThread.java:2506)
android.os.Handler.dispatchMessage(Handler.java:106)
android.os.Looper.loopOnce(Looper.java:230)
android.os.Looper.loop(Looper.java:319)
android.app.ActivityThread.main(ActivityThread.java:8919)
java.lang.reflect.Method.invoke(Native Method)
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:578)
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1103)
Caused by:
java.lang.SecurityException: com.square_enix.android_googleplay.PortalAppjp.sqa: One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts
android.os.Parcel.createExceptionOrNull(Parcel.java:3069)
android.os.Parcel.createException(Parcel.java:3053)
android.os.Parcel.readException(Parcel.java:3036)
android.os.Parcel.readException(Parcel.java:2978)
android.app.IActivityManager$Stub$Proxy.registerReceiverWithFeature(IActivityManager.java:6157)
android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:1913)
android.app.ContextImpl.registerReceiver(ContextImpl.java:1853)
android.app.ContextImpl.registerReceiver(ContextImpl.java:1841)
android.content.ContextWrapper.registerReceiver(ContextWrapper.java:772)
com.willowtreeapps.hyperion.core.internal.HyperionService.onCreate(HyperionService.java:114)
android.app.ActivityThread.handleCreateService(ActivityThread.java:5098)
android.app.ActivityThread.-$$Nest$mhandleCreateService(Unknown Source:0)
android.app.ActivityThread$H.handleMessage(ActivityThread.java:2506)
android.os.Handler.dispatchMessage(Handler.java:106)
android.os.Looper.loopOnce(Looper.java:230)
android.os.Looper.loop(Looper.java:319)
android.app.ActivityThread.main(ActivityThread.java:8919)
java.lang.reflect.Method.invoke(Native Method)
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:578)
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1103)
Caused by:
android.os.RemoteException: Remote stack trace:
at com.android.server.am.ActivityManagerService.registerReceiverWithFeature(ActivityManagerService.java:16680)
at android.app.IActivityManager$Stub.onTransact$registerReceiverWithFeature$(IActivityManager.java:11613)
at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:2961)
at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3199)
at android.os.Binder.execTransactInternal(Binder.java:1375)

adding this to manifest will fix the issue

AndroidManifest