Skip to content
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

[Bug]:部分机型ActivityNotFoundException #327

Open
Godsbox opened this issue Oct 21, 2024 · 3 comments
Open

[Bug]:部分机型ActivityNotFoundException #327

Godsbox opened this issue Oct 21, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@Godsbox
Copy link

Godsbox commented Oct 21, 2024

框架版本【必填】

18.5

问题描述【必填】

android 13、14 部分机型, No Activity found to handle Intent { act=android.content.pm.action.REQUEST_PERMISSIONS pkg=com.android.permissioncontroller
Redmi表现是:No Activity found to handle Intent { act=android.content.pm.action.REQUEST_PERMISSIONS pkg=com.lbe.security.miui

复现步骤【必填】

申请Manifest.permission.READ_EXTERNAL_STORAGE, Manifest.permission.WRITE_EXTERNAL_STORAGE,
Manifest.permission.CAMERA权限

是否必现【必填】

项目 targetSdkVersion【必填】

30

出现问题的手机信息【必填】

HONOR/ANY-AN00/android13; Redmi/23054RA19C/android13;HONOR/SDY-AN00/android14

出现问题的安卓版本【必填】

13,14

问题信息的来源渠道【必填】

umeng

是部分机型还是所有机型都会出现【必答】

部分: HONOR/ANY-AN00/android13; Redmi/23054RA19C/android13;HONOR/SDY-AN00/android14

框架最新的版本是否存在这个问题【必答】

不确定

框架文档是否提及了该问题【必答】

是否已经查阅框架文档但还未能解决的【必答】

issue 列表中是否有人曾提过类似的问题【必答】

是否已经搜索过了 issue 列表但还未能解决的【必答】

是否可以通过 Demo 来复现该问题【必答】

提供报错堆栈

android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.content.pm.action.REQUEST_PERMISSIONS pkg=com.lbe.security.miui (has extras) }
	at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:2220)
	at android.app.Instrumentation.execStartActivity(Instrumentation.java:2006)
	at java.lang.reflect.Method.invoke(Method.java)
	at com.vlite.sdk.client.hook.service.app.InstrumentationLiteApp.execStartActivity(InstrumentationLiteApp.java:503)
	at android.app.Activity.startActivityForResult(Activity.java:6488)
	at android.app.Activity$HostCallbacks.onRequestPermissionsFromFragment(Activity.java:9339)
	at android.app.Fragment.requestPermissions(Fragment.java:1233)
	at com.hjq.permissions.PermissionFragment.requestDangerousPermission(PermissionFragment.java:287)
	at com.hjq.permissions.PermissionFragment.requestSpecialPermission(PermissionFragment.java:221)
	at com.hjq.permissions.PermissionFragment.onResume(PermissionFragment.java:176)
	at android.app.Fragment.performResume(Fragment.java:2551)
	at android.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:1346)
	at android.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManagerImpl.java:1581)
	at android.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:1642)
	at android.app.FragmentManagerImpl.executeOpsTogether(FragmentManagerImpl.java:2220)
	at android.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManagerImpl.java:2166)
	at android.app.FragmentManagerImpl.execPendingActions(FragmentManagerImpl.java:2067)
	at android.app.FragmentManagerImpl$1.run(FragmentManagerImpl.java:742)
android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.content.pm.action.REQUEST_PERMISSIONS pkg=com.android.permissioncontroller (has extras) }
	at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:2302)
	at android.app.Instrumentation.execStartActivity(Instrumentation.java:2065)
	at java.lang.reflect.Method.invoke(Method.java)
	at com.vlite.sdk.client.hook.service.app.InstrumentationLiteApp.execStartActivity(InstrumentationLiteApp.java:503)
	at android.app.Activity.startActivityForResult(Activity.java:6801)
	at android.app.Activity$HostCallbacks.onRequestPermissionsFromFragment(Activity.java:9821)
	at android.app.Fragment.requestPermissions(Fragment.java:1245)
	at com.hjq.permissions.PermissionFragment.requestDangerousPermission(PermissionFragment.java:287)
	at com.hjq.permissions.PermissionFragment.requestSpecialPermission(PermissionFragment.java:221)
	at com.hjq.permissions.PermissionFragment.onResume(PermissionFragment.java:176)

提供截图或视频

No response

提供解决方案

No response

@Godsbox Godsbox added the bug Something isn't working label Oct 21, 2024
@getActivity
Copy link
Owner

image

@getActivity
Copy link
Owner

问题的原因大概率在这里,你可以顺着这条线往下排查

@Godsbox
Copy link
Author

Godsbox commented Oct 25, 2024

我的app没有这个东西,这代表目标手机系统的hook,还是说我们app被恶意篡改了?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants