Crash on Android14(targetSdk=34)
TadashiSatoo opened this issue · 2 comments
Hi, I' Tadashi Sato.
I'm using your app.Thank you.
I'm changing my application for targetSdk 34.
But my application crashed with Hyperion.
FATAL EXCEPTION: main
Process: xxxxxxxxx, PID: 4436
java.lang.SecurityException: Starting FGS with type mediaProjection callerApp=ProcessRecord{c3503b5 4436:xxxxxxxxxxx/u0a272} targetSDK=34 requires permissions: all of the permissions allOf=true [android.permission.FOREGROUND_SERVICE_MEDIA_PROJECTION] any of the permissions allOf=false [android.permission.CAPTURE_VIDEO_OUTPUT, android:project_media]
at android.os.Parcel.createExceptionOrNull(Parcel.java:3057)
at android.os.Parcel.createException(Parcel.java:3041)
at android.os.Parcel.readException(Parcel.java:3024)
at android.os.Parcel.readException(Parcel.java:2966)
at android.app.IActivityManager$Stub$Proxy.setServiceForeground(IActivityManager.java:6557)
at android.app.Service.startForeground(Service.java:775)
at com.willowtreeapps.hyperion.core.internal.HyperionService.attach(HyperionService.java:44)
at com.willowtreeapps.hyperion.core.internal.HyperionService$Connection.onServiceConnected(HyperionService.java:173)
Can you resolved this issue?
Thank you for your support.
Same issue for me on API level 34. Please update this library to handle this issue on the recent Android version.
Hey! We resolved this issue in v0.9.38. Let us know if you still see issues on API 34 with this latest release