What Does the "Unknown Sources Disabled" Error Mean
This error is a system warning on Android that appears when attempting to install an app from an APK file downloaded from the internet or received via a messenger. The message typically reads: "To install apps from unknown sources, enable the setting in security settings" (the text may vary slightly depending on the manufacturer and OS version).
The error is not a system failure but merely blocks installation due to security policy. By default, Android only allows app installations from Google Play or other trusted stores.
Causes
- The "Unknown Sources" setting is disabled — the primary cause. In Android 8.0 (Oreo) and later, this setting became tied to specific apps (browser, file manager) rather than being global.
- Attempting installation from an unsupported source — for example, through an app for which access hasn't been enabled (if you try to install an APK from Telegram but haven't granted Telegram permission).
- Corporate device policies — on work or managed devices, an administrator may block the installation of third-party apps.
- Interface glitch — rarely, after enabling the setting, the system may not immediately update the status (a reboot may be required).
Method 1: Enabling via Security Settings (Universal)
This method works on all Android versions, but the interface differs.
- Open your device's Settings (⚙️).
- Use the search bar at the top of the screen and enter:
unknown sources(for Android 7.1 and lower)install appsorspecial access(for Android 8.0+)
- Depending on the result:
- For Android 7.1 and lower: Open Security → Unknown Sources → toggle on "Allow installation of apps from unknown sources".
- For Android 8.0 and higher: Open Settings → Apps → Special access → Install unknown apps. You'll see a list of apps that have requested APK installation (e.g., Chrome, Files, Telegram). Tap the desired app and activate "Allow from this source".
💡 Tip: If you don't see the needed app in the list, first try opening the APK file with it — the system will automatically add it to the list.
- Return to the APK file and retry the installation.
Method 2: Enabling via ADB (For Advanced Users)
If the setting is unavailable in the interface (e.g., on Chinese firmware or heavily customized skins), you can enable it via ADB (Android Debug Bridge) from a computer.
Requirements:
- Enabled USB debugging (Settings → Developer options).
- ADB installed on your computer (download SDK Platform Tools).
Steps:
- Connect your device to the computer via USB.
- Open a terminal (Windows: CMD/PowerShell, macOS/Linux: Terminal) and run:
Ensure the device is detected.adb devices - Enter the command to enable the global setting (works on most devices):
Or for a specific app (e.g., Chrome browser):adb shell settings put global install_non_market_apps 1adb shell appops set com.android.chrome REQUEST_INSTALL_PACKAGES allow - Disconnect the device from USB. The setting will be activated.
⚠️ Important: The ADB method may fail on devices with a bootloader blocking modifications (e.g., some Chinese brands). In this case, use Method 1.
Prevention
- Install apps only from Google Play or official developer stores.
- After installing an APK, disable the "Unknown Sources" permission for that app (or globally on older Android versions).
- Scan APK files with antivirus before installation (e.g., via VirusTotal).
- Update your system — newer Android versions improve security and offer more granular access control.
- Do not grant permissions to unknown apps in "Special access" settings — this reduces risks.
Frequently Asked Questions
Can this setting be completely disabled in the system?
No, Android requires it to be present for APK installation. However, on Android 8.0+ it's hidden behind per-app permissions, which is safer.
Why does the error still appear after enabling it?
You likely enabled permission for the wrong app that is launching the installation. Check the list in Settings → Apps → Special access and grant permission for the current app (e.g., "Downloads" or "Files").
What if the setting is missing from the menu?
This may be due to the manufacturer's skin (Xiaomi, Huawei, etc.). Try searching in Settings → Additional settings → Security or use ADB (Method 2).