跳转到主内容

Problems caused by multiple user profiles

信息

This article is about AdGuard for Android, a multifunctional ad blocker that protects your device at the system level. To see how it works, download the AdGuard app

In this article you will find the methods on how to solve problems with AdGuard when you set up multiple accounts or Restricted Profiles on your Android devices.

Problems caused by multiple user profiles

On Android 9 and later, if AdGuard is installed for more than one user profile on your device, you may encounter problems when uninstalling the app. When you uninstall AdGuard from one user profile, the app will still appear on the app list, but you won't be able to uninstall or reinstall it. This happens because AdGuard is installed for a different user profile on the device.

If you try to reinstall AdGuard after an unsuccessful removal attempt, you will see the error message “You can't install the app on your device”.

To solve this problem, you need to uninstall the application for all users: go to Settings → All apps → AdGuard. Tap the three-dot menu in the top right corner and select Uninstall for all users.

Uninstall *mobile border

受限模式导致的一些问题

拥有安卓7+操作系统的手机、笔记本或电视的用户可能会遇到使用受限模式(Restricted Mode)的配置文件导致的问题。 如您有遇到这种情况,AdGuard 与其他使用 VPN 的应用程序一样进行选择性过滤 VPN 流量时,受其限制。 因此,AdGuard 无法使用本地 VPN 模式开启保护。 除此之外,如您在设备上使用双开应用/应用分身帐户也会导致相似的问题。 以下是您可以规避该问题的操作。

解决方法

解决该问题有三种方法:

方案 1:允许 AdGuard 使用 ADB

注意

This approach is available starting from AdGuard v3.5 nightly 6. 如您仍在使用旧版本,您可以在此处下载 nightly 版本。

  1. Activate the developer mode and enable USB debugging:

    • Open the Settings app phone;
    • Go to System section (last item in the settings menu). In this section, find the sub-item About phone;
    • Tap the Build number line 7 times. After that, you will receive a notification that You are now a developer (If necessary, enter an unlock code for the device);
    • Open System SettingsDeveloper Options → Scroll down and enable USB debugging → Confirm debugging is enabled in the window Allow USB debugging after reading the warning carefully.
    注意

    如您遇到任何困难或其他问题,在此处可查看完整说明。

:::

  1. Install and configure ADB; On the Windows platform, Samsung owners may need to install this utility.

  2. 使用 USB 电缆将您的设备连接至您已安装 ADB 的电脑或笔记本等设备上;

  3. 在您的 PC 上打开命令行

    • 如您使用的是 Windows,打开 Cmd.exe
    • 如您使用的是 macOS,打开 Terminal
  4. 输入 adb shell pm grant com.adguard.android android.permission.INTERACT_ACROSS_USERS 的命令并点击回车键

方案 2:移除受限用户帐户

在此可以查看如何在安卓设备上管理用户帐户的相关信息。

注意

In some cases restricted user accounts are created implicitly and cannot be removed. 例如,您在安卓LG 设备上使用应用分身或双开应用功能时,将会自动创建受限用户帐户。 您可以阅读以下内容以查看,在上面描述的情况下该如何解决问题。

方案 3:使用 AdGuard 的本地 HTTP 代理模式(需要 root 权限)

To enable this mode, open AdGuard SettingsNetworkFiltering methodLocal HTTP proxy

LG 和三星设备

LG三星手机的用户也可能会遇到相同的问题。 这可能是由双开应用/双 Messenger 账户功能(其本质是隐式创建了受限账户)引起的。 为了解决该问题,您需要禁用该功能。

Samsung

  • 前往设置
  • 点击高级功能;
  • 向下移动,点击双 Messenger 账户
  • Disable the Dual messenger for all apps;
  • 锁定您的设备5分钟;
  • 解锁屏幕并重新试图创建 VPN 账号。

LG

  • 前往设置
  • 选择常规标签钮;
  • 向下移动,点击双开应用
  • Remove all apps from the list;
  • 重启您的设备。