AutoX icon indicating copy to clipboard operation
AutoX copied to clipboard

使用的autoxjs 6.0.2 在小米11 ,安卓版本12上 执行 requestScreenCapture()时软件会直接崩溃,在华为手机上没有出现这个问题。

Open liwinl opened this issue 2 years ago • 5 comments

Version: 602 Android: 31 android.os.RemoteException: Remote stack trace: at com.android.server.media.projection.MediaProjectionManagerService$MediaProjection.start(MediaProjectionManagerService.java:553) at android.media.projection.IMediaProjection$Stub.onTransact(IMediaProjection.java:137) at android.os.Binder.execTransactInternal(Binder.java:1187) at android.os.Binder.execTransact(Binder.java:1146)

java.lang.RuntimeException:Failure delivering result ResultInfo{who=null, request=17777, result=-1, data=Intent { (has extras) }} to activity {org.autojs.autojs.dev/org.autojs.autojs.ui.main.MainActivity_}: java.lang.NullPointerException: Attempt to invoke interface method 'boolean java.util.Set.add(java.lang.Object)' on a null object reference android.app.ActivityThread.deliverResults(ActivityThread.java:5409) ...... Caused by: android.os.RemoteException:Remote stack trace: at com.android.server.media.projection.MediaProjectionManagerService$MediaProjection.start(MediaProjectionManagerService.java:553) at android.media.projection.IMediaProjection$Stub.onTransact(IMediaProjection.java:137) at android.os.Binder.execTransactInternal(Binder.java:1187) at android.os.Binder.execTransact(Binder.java:1146)

liwinl avatar Apr 02 '22 03:04 liwinl

android10以上录制屏幕需要使用前台服务,由于autox.js未适配。因此会出现崩溃

wilinz avatar Apr 10 '22 07:04 wilinz

我也遇到这个问题。。望早点解决

diuchouni avatar Apr 14 '22 07:04 diuchouni

android10以上录制屏幕需要使用前台服务,由于autox.js未适配。因此会出现崩溃

我的安卓11没什么问题

twinklelucas avatar Apr 25 '22 07:04 twinklelucas

同版本运行在红米k20pro miui12.5上无问题。

Warm-rain avatar May 09 '22 12:05 Warm-rain

android10以上录制屏幕需要使用前台服务,由于autox.js未适配。因此会出现崩溃

Android 12 强制

wilinz avatar Jun 14 '22 03:06 wilinz

此lssue由于长期未活动已被自动关闭,如问题任然存在,请重新打开lssue

github-actions[bot] avatar May 30 '24 23:05 github-actions[bot]

估计权限问题

发送自我的盖乐世

-------- 原始信息 -------- 发件人: "github-actions[bot]" @.> 日期: 2024/5/31 07:30 (GMT+08:00) 收件人: kkevsekk1/AutoX @.> 抄送: Subscribed @.***> 主题: Re: [kkevsekk1/AutoX] 使用的autoxjs 6.0.2 在小米11 ,安卓版本12上 执行 requestScreenCapture()时软件会直接崩溃,在华为手机上没有出现这个问题。 (Issue #246)

此lssue由于长期未活动已被自动关闭,如问题任然存在,请重新打开lssue

― Reply to this email directly, view it on GitHubhttps://github.com/kkevsekk1/AutoX/issues/246#issuecomment-2141000380, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AD64RCHMNDUXCO7QRQEJXTDZE6ZCNAVCNFSM5SKI6G4KU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMJUGEYDAMBTHAYA. You are receiving this because you are subscribed to this thread.Message ID: @.***>

kkevsekk1 avatar May 30 '24 23:05 kkevsekk1