willowtreeapps / Hyperion-Android

App Debugging & Inspection Tool for Android
MIT License
1.95k stars 144 forks source link

Update android14 #263

Closed miyuki-onuma closed 8 months ago

miyuki-onuma commented 1 year ago

Issue

https://github.com/willowtreeapps/Hyperion-Android/issues/262

Bug Reason

Crashes because the following Android 14 was not supported.

This PR is not yet complete.

I am unable to build the sample app with the following error. Can someone please share their findings?

java.lang.SecurityException: Starting FGS with type mediaProjection callerApp=ProcessRecord{aed2e77 30112:com.willowtreeapps.hyperion.sample/u0a184} 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]
miyuki-onuma commented 1 year ago

@fmedlin Could you please review this one? This PR is not yet complete. But, I would be happy to help you solve this problem.

magjoh commented 11 months ago

I was able to compile this branch with the latest tools and applying the following patch. hyperion-sample-android14.patch

alyssa-nash commented 8 months ago

Handled by #265