Error map

BLE: onConnectionStateChange status 133 (GATT_ERROR) BluetoothGatt: onClientConnectionState() - status=133 clientIf=5 device=AA:BB:CC:DD:EE:FF

Android · layer 1, On your device

Open the full error page →

Centre: this error. First ring: errors it is linked with (11). Outer ring: what those are linked with. Colours show the layer of a request each error belongs to. Click any dot to re-centre the map on it; hover to follow its connections. The centre dot opens the error page.

BLE: onConnectionStateChange status 133 (GATT_ERROR) — BluetoothGatt: onClientConnectionState() - status=133 clientIf=5 device=AA:BB:CC:DD:EE:FF (Android)BLE: onConn…no devices/emulators found — adb: no devices/emulators found / error: device not found (Android)no devices/emulator…android:attr/lStar not found — AAPT: error: resource android:attr/lStar not found (Android)android:attr/lStar …Android resource linking failed — AAPT: error: resource x (aka y) not found — Android resource linking failed (Android)Android resource li…NSURLErrorCannotConnectToHost (-1004) — Error Domain=NSURLErrorDomain Code=-1004 "Could not connect to the server." (iOS)NSURLErrorCannotCon…IOException: unexpected end of stream on Connection — java.io.IOException: unexpected end of stream on Connection{api.example.com:443} (Android)IOException: unexpe…NSURLErrorNetworkConnectionLost (-1005) — Error Domain=NSURLErrorDomain Code=-1005 "The network connection was lost." (iOS)NSURLErrorNetworkCo…AccessibilityService restricted setting (Android 13) — Restricted setting: For your security, this setting is currently unavailable (Android)AccessibilityServic…CBCentralManager state: unauthorized / NSBluetoothAlwaysUsageDescription — CoreBluetooth: API MISUSE: <CBCentralManager> can only accept this command while in the powered on state (iOS)CBCentralManager st…Error building the app bundle — Execution failed for task ':app:bundleRelease'. Error while executing bundletool (Android)Error building the …SecurityException: Need android.permission.BLUETOOTH_CONNECT permission — java.lang.SecurityException: Need android.permission.BLUETOOTH_CONNECT permission for AttributionSource (Android)SecurityException: …WindowLeaked: Activity has leaked window — android.view.WindowLeaked: Activity com.example.MainActivity has leaked window DecorView@a1b2c3 that was originally added here (Android)WindowLeaked: Activ…INSTALL_FAILED_UPDATE_INCOMPATIBLE — Android: INSTALL_FAILED_UPDATE_INCOMPATIBLE (Android)INSTALL_FAILED_UPDA…INSTALL_FAILED_INSUFFICIENT_STORAGE — INSTALL_FAILED_INSUFFICIENT_STORAGE: Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE] (Android)INSTALL_FAILED_INSU…INSTALL_FAILED_TEST_ONLY — INSTALL_FAILED_TEST_ONLY: installPackageLI (Android)INSTALL_FAILED_TEST…Could not resolve — Gradle: Could not resolve all files for configuration / Could not resolve dependency (Android)Could not resolveManifest merger failed — Manifest merger failed: android:exported needs to be explicitly specified (Android)Manifest merger fai…Duplicate class — Duplicate class X found in modules A and B (Android)Duplicate classUnsupported class file major version — Gradle: Unsupported class file major version / Android Gradle plugin requires Java 17 to run (Android)Unsupported class f…FailedScheduling — Kubernetes: Pod stuck in Pending — FailedScheduling: 0/3 nodes are available (Kubernetes)FailedSchedulingEvicted — Kubernetes: Pod Evicted — The node was low on resource: memory / ephemeral-storage (Kubernetes)EvictedCould not resolve host — fatal: unable to access 'https://github.com/…': Could not resolve host: github.com (Git)Could not resolve h…port 22 timed out — ssh: connect to host github.com port 22: Connection timed out (Git)port 22 timed outkex_exchange_identification — kex_exchange_identification: Connection closed by remote host (Git)kex_exchange_identi…UnknownHostException: Unable to resolve host — java.net.UnknownHostException: Unable to resolve host "api.example.com": No address associated with hostname (Android)UnknownHostExceptio…SSLPeerUnverifiedException: Hostname not verified — javax.net.ssl.SSLPeerUnverifiedException: Hostname api.example.com not verified: certificate: sha256/AAAA DN: CN=other.example.com (Android)SSLPeerUnverifiedEx…fatal: unable to access: OpenSSL SSL_read: Connection was reset — fatal: unable to access 'https://github.com/org/repo.git/': OpenSSL SSL_read: Connection was reset, errno 10054 (Git)fatal: unable to ac…early EOF — fatal: early EOF — fatal: index-pack failed (Git)early EOFNSURLErrorDomain Code=-1009 — Error Domain=NSURLErrorDomain Code=-1009 "The Internet connection appears to be offline." (iOS)NSURLErrorDomain Co…NSURLErrorDomain Code=-1001 — Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." (iOS)NSURLErrorDomain Co…INSTALL_FAILED_USER_RESTRICTED — INSTALL_FAILED_USER_RESTRICTED: Install canceled by user (Xiaomi/MIUI, Oppo, Vivo) (Android)INSTALL_FAILED_USER…POST_NOTIFICATIONS permission denied (Android 13) — Notification not shown: android.permission.POST_NOTIFICATIONS has not been granted (Android)POST_NOTIFICATIONS …CorruptionException: Unable to parse preferences proto — androidx.datastore.core.CorruptionException: Unable to parse preferences proto (Android)CorruptionException…attempted to access privacy-sensitive data without a usage description — This app has crashed because it attempted to access privacy-sensitive data without a usage description (iOS)attempted to access…INSTALL_FAILED_DUPLICATE_PERMISSION — Failure [INSTALL_FAILED_DUPLICATE_PERMISSION perm=com.example.permission.C2D_MESSAGE pkg=com.example.old] (Android)INSTALL_FAILED_DUPL…SecurityException: Caller needs SCHEDULE_EXACT_ALARM — java.lang.SecurityException: Caller com.example needs to hold android.permission.SCHEDULE_EXACT_ALARM or android.permission.USE_EXACT_ALARM to set exact alarms (Android)SecurityException: …Failed to find target with hash string — Failed to find target with hash string 'android-34' / Failed to install the following Android SDK packages as some licences have not been accepted (Android)Failed to find targ…Minimum supported Gradle version — Minimum supported Gradle version is 8.7. Current version is 8.2 (Android)Minimum supported G…Namespace not specified — Namespace not specified. Specify a namespace in the module's build file (AGP 8) (Android)Namespace not speci…SecurityException: Permission Denial — java.lang.SecurityException: Permission Denial ... requires android.permission.X (Android)SecurityException: …EACCES (Permission denied) / FileNotFoundException on external storage — java.io.FileNotFoundException: /storage/emulated/0/Download/file.txt: open failed: EACCES (Permission denied) (Android)EACCES (Permission …SecurityException: Permission Denial: starting Intent ... requires android.permission.CAMERA — java.lang.SecurityException: Permission Denial: opening provider / starting Intent requires android.permission.CAMERA (Android)SecurityException: …BadTokenException — WindowManager$BadTokenException: Unable to add window -- token null is not valid; is your activity running? (Android)BadTokenExceptionCan not perform this action after onSaveInstanceState — IllegalStateException: Can not perform this action after onSaveInstanceState (fragment transaction) (Android)Can not perform thi…Fragment not attached to a context — IllegalStateException: Fragment x not attached to a context / not attached to an activity (Android)Fragment not attach…

Directly related (11)

no devices/emulators foundAndroid

adb: no devices/emulators found / error: device not found

adb can’t see any connected device or running emulator.

android:attr/lStar not foundAndroid

AAPT: error: resource android:attr/lStar not found

A dependency (androidx.core 1.7+) uses an attribute from Android 12 (API 31), but your module compiles against an older compileSd…

Android resource linking failedAndroid

AAPT: error: resource x (aka y) not found — Android resource linking failed

A layout, manifest or style references a resource (drawable, string, style, attribute) that doesn’t exist in the module or its de…

NSURLErrorCannotConnectToHost (-1004)iOS

Error Domain=NSURLErrorDomain Code=-1004 "Could not connect to the server."

The device reached the network but not the server.

IOException: unexpected end of stream on ConnectionAndroid

java.io.IOException: unexpected end of stream on Connection{api.example.com:443}

The connection closed before the response finished.

NSURLErrorNetworkConnectionLost (-1005)iOS

Error Domain=NSURLErrorDomain Code=-1005 "The network connection was lost."

The connection dropped mid-request.

AccessibilityService restricted setting (Android 13)Android

Restricted setting: For your security, this setting is currently unavailable

Sideloaded apps can't use accessibility on Android 13+ until allowed.

CBCentralManager state: unauthorized / NSBluetoothAlwaysUsageDescriptioniOS

CoreBluetooth: API MISUSE: <CBCentralManager> can only accept this command while in the powered on state

Bluetooth isn't ready or allowed.

Error building the app bundleAndroid

Execution failed for task ':app:bundleRelease'. Error while executing bundletool

Building the Android App Bundle (.aab) failed in the bundle step.

SecurityException: Need android.permission.BLUETOOTH_CONNECT permissionAndroid

java.lang.SecurityException: Need android.permission.BLUETOOTH_CONNECT permission for AttributionSource

Android 12+ needs new runtime Bluetooth permissions.

WindowLeaked: Activity has leaked windowAndroid

android.view.WindowLeaked: Activity com.example.MainActivity has leaked window DecorView@a1b2c3 that was originally added here

A dialog was still showing when its Activity was destroyed.

Two steps away (33)

INSTALL_FAILED_UPDATE_INCOMPATIBLEAndroid

Android: INSTALL_FAILED_UPDATE_INCOMPATIBLE

An app with the same package name but a different signing key is already installed on the device.

INSTALL_FAILED_INSUFFICIENT_STORAGEAndroid

INSTALL_FAILED_INSUFFICIENT_STORAGE: Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]

The device or emulator doesn’t have enough free internal storage to install the APK.

INSTALL_FAILED_TEST_ONLYAndroid

INSTALL_FAILED_TEST_ONLY: installPackageLI

The APK is marked testOnly (built by Android Studio’s Run button), so normal installs refuse it.

Could not resolveAndroid

Gradle: Could not resolve all files for configuration / Could not resolve dependency

Gradle couldn’t download a dependency — wrong coordinates/version, missing repository, offline mode, or network/proxy issues.

Manifest merger failedAndroid

Manifest merger failed: android:exported needs to be explicitly specified

Targeting Android 12 (API 31)+ requires `android:exported` on every activity, service or receiver that has an intent-filter.

Duplicate classAndroid

Duplicate class X found in modules A and B

Two dependencies ship the same class — typically old Android Support libraries mixed with AndroidX, or Kotlin stdlib-jdk7/jdk8 ve…

Unsupported class file major versionAndroid

Gradle: Unsupported class file major version / Android Gradle plugin requires Java 17 to run

The JDK running Gradle doesn’t match what the Gradle version or Android Gradle Plugin (AGP) supports.

FailedSchedulingKubernetes

Kubernetes: Pod stuck in Pending — FailedScheduling: 0/3 nodes are available

The scheduler can’t find a node that satisfies the pod’s resource requests, selectors, taints or volume constraints.

EvictedKubernetes

Kubernetes: Pod Evicted — The node was low on resource: memory / ephemeral-storage

The kubelet removed the pod because its node ran short of memory or disk.

Could not resolve hostGit

fatal: unable to access 'https://github.com/…': Could not resolve host: github.com

DNS lookup for the Git host failed from this machine.

port 22 timed outGit

ssh: connect to host github.com port 22: Connection timed out

Outbound SSH on port 22 is blocked (firewall, corporate or public Wi-Fi).

kex_exchange_identificationGit

kex_exchange_identification: Connection closed by remote host

The SSH connection was closed before the handshake — server overload, rate limiting, or a proxy/firewall interfering.

UnknownHostException: Unable to resolve hostAndroid

java.net.UnknownHostException: Unable to resolve host "api.example.com": No address associated with hostname

The device couldn't turn the host name into an IP address.

SSLPeerUnverifiedException: Hostname not verifiedAndroid

javax.net.ssl.SSLPeerUnverifiedException: Hostname api.example.com not verified: certificate: sha256/AAAA DN: CN=other.example.com

The certificate presented doesn't match the host you called.

fatal: unable to access: OpenSSL SSL_read: Connection was resetGit

fatal: unable to access 'https://github.com/org/repo.git/': OpenSSL SSL_read: Connection was reset, errno 10054

The TLS connection to the Git host was dropped mid-transfer.

early EOFGit

fatal: early EOF — fatal: index-pack failed

A clone or fetch was cut off mid-transfer.

NSURLErrorDomain Code=-1009iOS

Error Domain=NSURLErrorDomain Code=-1009 "The Internet connection appears to be offline."

URLSession couldn’t reach the network — the device is offline, the app’s cellular data is disabled, or the simulator lost network…

NSURLErrorDomain Code=-1001iOS

Error Domain=NSURLErrorDomain Code=-1001 "The request timed out."

The server didn’t respond within URLSession’s timeout (60 s default) — slow server, unreachable host on this network, or a stalle…

INSTALL_FAILED_USER_RESTRICTEDAndroid

INSTALL_FAILED_USER_RESTRICTED: Install canceled by user (Xiaomi/MIUI, Oppo, Vivo)

The phone’s manufacturer layer blocked installs over USB — Xiaomi/MIUI, Oppo/ColorOS and Vivo require extra developer settings.

POST_NOTIFICATIONS permission denied (Android 13)Android

Notification not shown: android.permission.POST_NOTIFICATIONS has not been granted

Android 13 requires a runtime permission to show notifications.

CorruptionException: Unable to parse preferences protoAndroid

androidx.datastore.core.CorruptionException: Unable to parse preferences proto

The DataStore file on disk can't be read.

attempted to access privacy-sensitive data without a usage descriptioniOS

This app has crashed because it attempted to access privacy-sensitive data without a usage description

The app requested camera, photos, microphone, location, contacts, etc. without the required NS…UsageDescription in Info.plist, so…

INSTALL_FAILED_DUPLICATE_PERMISSIONAndroid

Failure [INSTALL_FAILED_DUPLICATE_PERMISSION perm=com.example.permission.C2D_MESSAGE pkg=com.example.old]

Another installed app already declares the same custom permission.

SecurityException: Caller needs SCHEDULE_EXACT_ALARMAndroid

java.lang.SecurityException: Caller com.example needs to hold android.permission.SCHEDULE_EXACT_ALARM or android.permission.USE_EXACT_ALARM to set exact alarms

Android 12+ restricts exact alarms and the app lacks permission.

Failed to find target with hash stringAndroid

Failed to find target with hash string 'android-34' / Failed to install the following Android SDK packages as some licences have not been accepted

Gradle needs an SDK platform/build-tools that isn’t installed, or the licences haven’t been accepted on this machine.

Minimum supported Gradle versionAndroid

Minimum supported Gradle version is 8.7. Current version is 8.2

The Android Gradle Plugin (AGP) version in your build needs a newer Gradle wrapper version.

Namespace not specifiedAndroid

Namespace not specified. Specify a namespace in the module's build file (AGP 8)

AGP 8 requires android { namespace = "…" } in each module’s build file; the package attribute in AndroidManifest.xml is no longer…

SecurityException: Permission DenialAndroid

java.lang.SecurityException: Permission Denial ... requires android.permission.X

The app called an API that needs a permission it hasn’t declared or the user hasn’t granted at runtime.

EACCES (Permission denied) / FileNotFoundException on external storageAndroid

java.io.FileNotFoundException: /storage/emulated/0/Download/file.txt: open failed: EACCES (Permission denied)

Scoped storage blocks direct file paths to other apps' or shared files.

SecurityException: Permission Denial: starting Intent ... requires android.permission.CAMERAAndroid

java.lang.SecurityException: Permission Denial: opening provider / starting Intent requires android.permission.CAMERA

Camera access was requested without the CAMERA permission granted.

BadTokenExceptionAndroid

WindowManager$BadTokenException: Unable to add window -- token null is not valid; is your activity running?

A dialog or popup was shown with a context whose Activity is finishing/destroyed, or with the Application context.

Can not perform this action after onSaveInstanceStateAndroid

IllegalStateException: Can not perform this action after onSaveInstanceState (fragment transaction)

A FragmentTransaction (or DialogFragment.show/navigation) ran after the Activity saved its state, typically from an async callbac…

Fragment not attached to a contextAndroid

IllegalStateException: Fragment x not attached to a context / not attached to an activity

Code called requireContext()/requireActivity()/getString() after the Fragment was detached — usually in an async callback.