android 重叠_如何修复Android上的“检测到屏幕重叠”错误

android 重叠

android 重叠

IMG_9559

Starting with Android Marshmallow, there’s a curious error that sometimes shows its face, but it can be hard to decipher what’s causing it. The “screen overlay detected” error is a troubling one since it won’t allow certain apps to launch, but it’s even more frustrating because it’s hard to find what’s causing it.

从Android Marshmallow开始,有时会显示一个奇怪的错误,但是它可能很难解释导致它的原因。 “检测到屏幕覆盖”错误是一个令人不安的错误,因为它不允许启动某些应用程序,但更令人沮丧的是,因为很难找到导致此问题的原因。

Fortunately, it’s a pretty easy fix once you know what’s causing the error: a feature found in Marshmallow and beyond that allows apps to “draw” over other apps. For example, Facebook Messenger uses chat heads to stay in the foreground of whatever you’re doing—this is the app using the “Draw over other apps” feature. In other words, it’s a screen overlay. It’s already starting to click, isn’t it?

幸运的是,一旦您知道导致错误的原因,这是一个非常简单的修复程序:棉花糖中以及其以外的一项功能使应用程序可以“绘制”其他应用程序。 例如,Facebook Messenger使用聊天头保持在您所做的任何事情的最前线-这是使用“在其他应用程序之上绘制”功能的应用程序。 换句话说,它是一个屏幕覆盖。 它已经开始点击了,不是吗?

  1. Open Settings > Apps

    打开设置>应用
  2. Tap the Gear icon on the top right of the Settings page

    点按“设置”页面右上角的齿轮图标
  3. Scroll down and tap “Special Access”

    向下滚动并点击“特殊访问”
  4. Tap “Draw over other apps” and toggle apps in the list

    点按“在其他应用上绘制”,然后在列表中切换应用

Unfortunately, some apps do odd things when an overlay is actively running, especially if the app in question needs to request a new permission. Android absolutely will not allow permissions to be changed when an overlay is running, thus resulting in the “Screen Overlay Detected” error.

不幸的是,某些应用在覆盖运行时会做些奇怪的事情, 特别是当相关应用需要请求新的权限时。 Android的绝对不会允许的权限时,覆盖运行,从而导致“屏幕叠加检测到”错误而改变。

So, if you install a new app and launch it for the first time while also having a conversation over a Facebook Chat Head, you’ll get an error as the new app tries to request its permissions. In the example below, I’m using Twilight—a “night mode” app—which uses a screen overlay to do its thing.

因此,如果您安装了一个新应用程序并首次启动它,同时还通过Facebook聊天头进行了交谈,则在新应用程序尝试请求其权限时会出现错误。 在下面的示例中,我使用的是Twilight(一个“夜间模式”应用程序),该应用程序使用屏幕覆盖来完成其任务。

Screenshot_20160913-130521

Now, sometimes when this error is generated, it includes an “Open Settings” link that sends you directly into the “Draw over other apps” menu. The rough part is that each app has to be toggled manually—just tap on an app, slide the “Permit Drawing Over Other Apps” toggle, and go back. You could disable every single one, but that could be super time consuming, especially if you have dozens of apps installed that can apply overlays.

现在,有时会在生成此错误时,包含一个“打开设置”链接,使您直接进入“在其他应用程序上绘制”菜单。 粗略的部分是,每个应用程序都必须手动切换-只需轻按一个应用程序,滑动“允许在其他应用程序上绘图”切换器,然后返回即可。 您可以禁用每个应用程序,但这可能会非常耗时,尤其是如果您安装了数十个可以应用覆盖图的应用程序时。

Screenshot_20160913-130233
Screenshot_20160913-130240

Ideally, you’ll know which app caused the conflict, and you can disable just that one. So think to yourself:

理想情况下,您将知道引起冲突的应用程序,并且可以仅禁用该应用程序。 所以想想自己:

  • What apps have you been using recently? As mentioned above, Facebook Messenger draws on the screen for chat heads, so if a chat head is actively running, it’s most likely your culprit.

    您最近在使用哪些应用程序? 如上所述,Facebook Messenger在屏幕上显示聊天头,因此,如果聊天头正在运行,则很可能是您的罪魁祸首。

  • What passive apps do you use that run in the background? Similarly, apps like CF.lumen and Twilight draw on the screen when enabled, so you’ll need to pause or disable those services to get rid of the screen overlay error.

    您使用哪些在后台运行的被动应用程序? 同样,启用后会在屏幕上绘制CF.lumenTwilight之类的应用程序,因此您需要暂停或禁用这些服务以消除屏幕覆盖错误。

The list in the screenshot above shows all the apps that have permission to draw on the screen, but if you can figure out which one is actually drawing on the screen when you get that error, you can just disable that one and move on.

上面的屏幕快照中的列表显示了所有有权在屏幕上绘制的应用程序,但是如果您在发现该错误时可以确定在屏幕上实际绘制的是哪个应用程序,则可以禁用该应用程序并继续前进。

Of course, that’s not foolproof—in some instances there may be more than one app drawing on the screen, which can be incredibly frustrating. In that situation, I’d just go ahead and disallow all of them, then re-enable them on an as-needed basis. It’s a pickle, for sure.

当然,这并非万无一失-在某些情况下,屏幕上可能会有多个应用程序绘图,这令人难以置信。 在这种情况下,我会继续禁止所有这些,然后根据需要重新启用它们。 当然是泡菜。

Fortunately, in Android Oreo, Google basically made it really easy to figure out what app is causing the issue with a new notification that tells you exactly what is displaying over other apps. You can find more info—as well as how to disable said notification—here.

幸运的是,在Android Oreo中,Google基本上可以非常轻松地通过一条新通知来找出导致该问题的应用程序,该通知可以准确地告诉您其他应用程序上显示的内容。 您可以在此处找到更多信息以及如何禁用所说的通知。

如何访问“在其他应用程序上绘图”菜单 (How to Access the “Draw Over Other Apps” Menu)

So, how do you get to the “Draw over other apps” menu without first experiencing the error and getting that quick link? Or, what if there is no quick link? That part’s pretty easy. The biggest issue is that the setting for screen overlays is found in different spots on different manufacturers’ handsets. Here’s the breakdown.

因此,如何在不首先遇到错误并获得快速链接的情况下进入“在其他应用程序上绘制”菜单? 或者,如果没有快速链接怎么办? 那部分很简单。 最大的问题是在不同制造商的手机上的不同位置可以找到屏幕覆盖的设置。 这是细分。

现货的Android Oreo (On Stock Android Oreo)

If you’re using Android Oreo, the Settings menu has been redesigned so most things are slightly different than other modern versions of Android, including the Draw Over Other Apps feature.

如果您使用的是Android Oreo,则“设置”菜单已经过重新设计,因此大多数功能与其他现代版本的Android略有不同,包括“在其他应用程序上绘制”功能。

First, pull the notification shade and tap the gear icon to open Settings.

首先,拉动通知栏,然后点击齿轮图标以打开“设置”。

From here, choose the “Apps & Notifications” category, and then tap the “Advanced” button.

在这里,选择“应用程序和通知”类别,然后点击“高级”按钮。

This reveals additional options, the last of which is the “Special App Access” option. Go ahead and tap that.

这显示了其他选项,最后一个是“特殊应用程序访问”选项。 继续点击。

A little ways down the menu, you’ll see the “Display Over Other Apps” option. That’s what you’re looking for.

在菜单下方,您会看到“在其他应用程序上显示”选项。 这就是您要寻找的。

现货的Android棉花糖或牛轧糖 (On Stock Android Marshmallow or Nougat)

On Stock Android, pull the notification shade twice and tap the gear icon.

在Stock Android上,两次拉动通知栏,然后点击齿轮图标。

Screenshot_20160913-130203

From there, head down to “Apps,” and then tap the gear icon in the top right.

从那里,转到“应用程序”,然后点击右上角的齿轮图标。

Screenshot_20160913-130211
Screenshot_20160913-130219

In this menu, scroll down and tap the “Special Access” option. From there, you’ll find the “Draw over other apps” menu. That’s what you’ve been looking for!

在此菜单中,向下滚动并点击“特殊访问”选项。 从那里,您会找到“在其他应用程序上绘制”菜单。 那就是您一直在寻找的东西!

screenshot_20170131-083349
screenshot_20170131-083355

Feel free to toggle things here to your heart’s desire. Just open each item to enable or disable it.

随意在这里切换您的内心需求。 只需打开每个项目即可启用或禁用它。

Screenshot_20160913-130233

在三星设备上 (On Samsung Devices)

First, pull down the notification shade and tap the gear icon, and then scroll down the “Applications” option.

首先,下拉通知栏并点击齿轮图标,然后向下滚动“应用程序”选项。

Screenshot_20160913-154007
Screenshot_20160913-154059

From here, tap the “Application manager” link, then the “More” button in the top-right.

在此处,点击“应用程序管理器”链接,然后点击右上角的“更多”按钮。

Screenshot_20160913-154107
Screenshot_20160913-154113

Next, select the “Apps that can appear on top” option and, boom, you’re there. Samsung also makes it easier by adding the toggle beside the app name, and not in a separate menu. Thanks, Samsung!

接下来,选择“可以显示在顶部的应用程序”选项,然后,就在这里。 三星还通过在应用程序名称旁边而不是在单独的菜单中添加了切换按钮,使操作更加轻松。 谢谢,三星!

Screenshot_20160913-154119
Screenshot_20160913-154132

在LG设备上 (On LG Devices)

Again, pull the notification shade down and tap the gear icon, then jump into the “Apps” menu.

再次拉下通知栏并点击齿轮图标,然后跳至“应用”菜单。

Screenshot_2016-09-13-15-40-22
Screenshot_2016-09-13-15-41-56

Next, tap the three-dot overflow button, and then select the “Configure apps” option.

接下来,点击三点溢出按钮,然后选择“配置应用程序”选项。

Screenshot_2016-09-13-15-42-09
Screenshot_2016-09-13-15-42-16

From here, it should work just like stock Android—tap the “Draw over other apps” option and you’ll find yourself where you need to be.

从这里开始,它应该像普通的Android一样工作-点击“在其他应用上绘图”选项,您将发现自己需要在哪里。

Screenshot_2016-09-13-15-42-22
Screenshot_2016-09-13-15-42-29


If you’re not sure what’s causing the “Screen Overlay Detected” error, it can make you want to throw your phone. In fact, I’ve had more friends experience this error (and subsequently ask me about it) than any other error! So, here’s the solution—you’re welcome, friends.

如果您不确定是什么原因导致“检测到屏幕重叠”错误,则可能使您想丢手机。 实际上,与其他任何错误相比,我有更多的朋友遇到此错误(并随后问我有关此错误的信息)! 因此,这就是解决方案-不用客气,朋友。

翻译自: https://www.howtogeek.com/271519/how-to-fix-the-screen-overlay-detected-error-on-android/

android 重叠

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值