-
Notifications
You must be signed in to change notification settings - Fork 639
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android 15 Beta 1 application getting crashed #6297
Comments
If we are updating the targetSdkVersion 33 to 34 then application is getting crashed due to the permission issue. I have fixed the Android 15 Beta 1 scrcpy issue too soon i will send the PR 05-01 13:07:59.406 10082 10082 E AndroidRuntime: FATAL EXCEPTION: main |
While running on android 15 beta 1 application is geting crashed even with scrcpy integration also its not working becuase scrcpy have chagned a lot due to andorid 15 having many changes related to display library
Google Pixel 7 and Pixel 6
OS :- Android 15 Beta 1
From the Application UI :-
From the Command Line Application :-
4:- Getting crashed
Following are the link where fix is applied(Scrcpy)
Genymobile/scrcpy#4678
Genymobile/scrcpy#4656
Genymobile/scrcpy#4657
It should work properly
Logs
04-12 12:49:51.305 8806 8821 E WSChannelRTCClient: sent websocket message:{"command":"publish","streamId":"17bd600e-78e2-41d5-8792-a6174f41459a","token":"tokenId","subscriberId":"","subscriberCode":"","streamName":"","video":true,"audio":true}
--------- beginning of crash
04-12 12:49:51.315 8806 8834 E AndroidRuntime: FATAL EXCEPTION: pool-1-thread-1
04-12 12:49:51.315 8806 8834 E AndroidRuntime: PID: 8806
04-12 12:49:51.315 8806 8834 E AndroidRuntime: java.lang.RuntimeException: java.lang.NoSuchMethodException: android.view.SurfaceControl.createDisplay [class java.lang.String, boolean]
04-12 12:49:51.315 8806 8834 E AndroidRuntime: at io.antmedia.webrtcandroidframework.scrcpy.DisplayCapturerAndroid.createDisplay(DisplayCapturerAndroid.java:112)
04-12 12:49:51.315 8806 8834 E AndroidRuntime: at io.antmedia.webrtcandroidframework.scrcpy.DisplayCapturerAndroid.capture(DisplayCapturerAndroid.java:72)
04-12 12:49:51.315 8806 8834 E AndroidRuntime: at io.antmedia.webrtcandroidframework.scrcpy.DisplayCapturerAndroid.startCapture(DisplayCapturerAndroid.java:66)
04-12 12:49:51.315 8806 8834 E AndroidRuntime: at io.antmedia.webrtcandroidframework.WebRTCClient.createVideoTrack(WebRTCClient.java:2220)
04-12 12:49:51.315 8806 8834 E AndroidRuntime: at io.antmedia.webrtcandroidframework.WebRTCClient.lambda$initializeVideoCapturer$2$io-antmedia-webrtcandroidframework-WebRTCClient(WebRTCClient.java:800)
04-12 12:49:51.315 8806 8834 E AndroidRuntime: at io.antmedia.webrtcandroidframework.WebRTCClient$$ExternalSyntheticLambda29.run(Unknown Source:2)
04-12 12:49:51.315 8806 8834 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
04-12 12:49:51.315 8806 8834 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
04-12 12:49:51.315 8806 8834 E AndroidRuntime: at java.lang.Thread.run(Thread.java:1012)
04-12 12:49:51.315 8806 8834 E AndroidRuntime: Caused by: java.lang.NoSuchMethodException: android.view.SurfaceControl.createDisplay [class java.lang.String, boolean]
04-12 12:49:51.315 8806 8834 E AndroidRuntime: at java.lang.Class.getMethod(Class.java:2950)
04-12 12:49:51.315 8806 8834 E AndroidRuntime: at java.lang.Class.getMethod(Class.java:2450)
04-12 12:49:51.315 8806 8834 E AndroidRuntime: at com.genymobile.scrcpy.wrappers.SurfaceControl.createDisplay(SurfaceControl.java:81)
04-12 12:49:51.315 8806 8834 E AndroidRuntime: at io.antmedia.webrtcandroidframework.scrcpy.DisplayCapturerAndroid.createDisplay(DisplayCapturerAndroid.java:110)
04-12 12:49:51.315 8806 8834 E AndroidRuntime: ... 8 more
04-12 12:49:51.315 1483 1686 I DropBoxManagerService: add tag=sys
The text was updated successfully, but these errors were encountered: