Software⏱️ 3 min read📅 2026-06-04

How to Fix: Android Studio - ADB Error - "...device unauthorized. Please check the confirmation dialog on your device."

Check ADB permissions on your device and ensure the confirmation dialog is enabled.

Quick Answer: Enable USB debugging and confirm the permission dialog on your Android device.

You are encountering an ADB error on your Android device, which is causing issues with logcat output for your app. This problem affects users who have installed Android Studio and are trying to debug their apps using ADB.

This error can be frustrating as it prevents you from viewing important logcat output, making it difficult to diagnose and fix issues with your app. In this guide, we will walk you through the steps to resolve this issue.

💡 Why You Are Getting This Error

  • The primary cause of this error is that the confirmation dialog on your device is not enabled or is blocked by a security feature. This can happen if the user has disabled the 'Allow USB debugging' option or if the device's security settings are preventing ADB from functioning properly.
  • Another possible reason for this error is that the device's bootloader is locked, preventing ADB from establishing a connection.

🚀 How to Resolve This Issue

Enabling Confirmation Dialog on Device

  1. Step 1: Open your device's Settings app and navigate to 'Developer options'.
  2. Step 2: Look for the 'USB debugging' option and toggle it to the 'On' position.
  3. Step 3: Confirm that you want to enable USB debugging by selecting the 'OK' button.
  4. Step 4: Restart your device to apply the changes.

Unlocking Bootloader (For Devices with Locked Bootloaders)

  1. Step 1: Download and install a bootloader unlocker tool, such as Magisk or TWRP.
  2. Step 2: Follow the instructions provided by the tool to unlock your device's bootloader.
  3. Step 3: Once unlocked, you will need to re-enable USB debugging in the Developer options section of your device's Settings app.

✨ Wrapping Up

By following these steps, you should be able to resolve the ADB error and enable logcat output for your app. If you are still experiencing issues after trying these methods, it may be worth seeking further assistance from a qualified technician or the manufacturer's support team.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions