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

小米手机无法使用 #2

Open
chenzefeng09 opened this issue Apr 28, 2017 · 1 comment
Open

小米手机无法使用 #2

chenzefeng09 opened this issue Apr 28, 2017 · 1 comment

Comments

@chenzefeng09
Copy link

升级到0.1.0.9,点击analyzer里 的项,提示检测到使用了小米手机,可能需要你手动开启悬浮窗权限。
但是权限已经开启了,而且再0.1.0.8版本是可以正常弹出显示的。

机型:红米pro
系统:miui 8,android 6.0

@chenzefeng09
Copy link
Author

有log报错PermissionHelper: request permission for xiaomi failed。
可是权限已经给了。

@franksun1988
Copy link

同样问题,你的解决了吗

@franksun1988
Copy link

找到原因了,MIUI8包换了,代码里用的 intent.setClassName("com.miui.securitycenter", "com.miui.permcenter.permissions.AppPermissionsEditorActivity"),这个在MIUI 5/6/7可用,打不到这个activity所以检测有误

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants