Error map

Layout Inspector: Unable to attach / not responding Layout Inspector failed to connect: process not debuggable

Android · layer 1, On your device

Open the full error page →

Centre: this error. First ring: errors it is linked with (6). 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.

Layout Inspector: Unable to attach / not responding — Layout Inspector failed to connect: process not debuggable (Android)Layout Insp…No connected devices / device not found — flutter run: No connected devices found; check 'flutter doctor'. Expected at least one device (Flutter / Dart)No connected device…Gradle sync failed: Connection reset / Could not install Gradle distribution — Could not install Gradle distribution from 'https://services.gradle.org/distributions/gradle-8.7-bin.zip'. Connection reset (Android)Gradle sync failed:…Invalid Gradle JDK configuration found — Invalid Gradle JDK configuration found. Open Gradle Settings (Android)Invalid Gradle JDK …Compose preview: Render problem / failed to instantiate — Failed to instantiate one or more classes / java.lang.NoSuchMethodError in Compose preview (Android)Compose preview: Re…Logcat shows nothing / No debuggable processes — Logcat empty after run / No debuggable applications (Android)Logcat shows nothin…Android Studio too old for this Android Gradle plugin — This version of Android Studio is incompatible with the Gradle Plugin used. Try disabling the Android Gradle Plugin (Android)Android Studio too …INSTALL_FAILED_USER_RESTRICTED — INSTALL_FAILED_USER_RESTRICTED: Install canceled by user (Xiaomi/MIUI, Oppo, Vivo) (Android)INSTALL_FAILED_USER…adb unauthorized — adb: device unauthorized. This adb server's $ADB_VENDOR_KEYS is not set (Android)adb unauthorizedno 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…Android Gradle plugin requires a newer Gradle — The Android Gradle plugin supports only Gradle version 8.x and higher. Current Gradle version is 7.x (Android)Android Gradle plug…not a git repository — fatal: not a git repository (or any of the parent directories): .git (Git)not a git repositoryUnsupported class file major version — Gradle: Unsupported class file major version / Android Gradle plugin requires Java 17 to run (Android)Unsupported class f…UnsupportedClassVersionError — java.lang.UnsupportedClassVersionError: class file version 61.0, this version of the Java Runtime only recognizes up to 55.0 (Java)UnsupportedClassVer…Compose Compiler requires a different Kotlin version — This version (1.5.3) of the Compose Compiler requires Kotlin version 1.9.10 but you appear to be using Kotlin version 1.9.0 (Android)Compose Compiler re…Compose: Reading a state in the wrong scope / infinite recomposition — Compose Runtime: Detected infinite recomposition loop / state read during composition (Android)Compose: Reading a …LazyColumn: Key was already used — java.lang.IllegalArgumentException: Key "42" was already used. If you are using LazyColumn/Row please make sure you provide a unique key for each item. (Android)LazyColumn: Key was…adb server version doesn't match — adb server version (41) doesn't match this client (39); killing... (Android)adb server version …INSTALL_FAILED_DUPLICATE_PERMISSION — Failure [INSTALL_FAILED_DUPLICATE_PERMISSION perm=com.example.permission.C2D_MESSAGE pkg=com.example.old] (Android)INSTALL_FAILED_DUPL…INSTALL_FAILED_DEXOPT — Failure [INSTALL_FAILED_DEXOPT] (Android)INSTALL_FAILED_DEXO…This app can't run on your PC — This app can't run on your PC — To find a version for your PC, check with the software publisher (Windows)This app can't run …Android Gradle plugin requires Java 17 — Android Gradle plugin requires Java 17 to run. You are currently using Java 11 (Android)Android Gradle plug…BuildConfig unresolved reference — Unresolved reference: BuildConfig / buildFeatures buildConfig is not enabled (Android)BuildConfig unresol…

Directly related (6)

Two steps away (18)

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.

adb unauthorizedAndroid

adb: device unauthorized. This adb server's $ADB_VENDOR_KEYS is not set

The phone hasn’t accepted your computer’s RSA key for USB debugging yet.

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…

Android Gradle plugin requires a newer GradleAndroid

The Android Gradle plugin supports only Gradle version 8.x and higher. Current Gradle version is 7.x

The Android Gradle plugin (AGP) in your build needs a newer Gradle than the wrapper provides.

not a git repositoryGit

fatal: not a git repository (or any of the parent directories): .git

You ran a Git command outside a Git working tree.

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.

UnsupportedClassVersionErrorJava

java.lang.UnsupportedClassVersionError: class file version 61.0, this version of the Java Runtime only recognizes up to 55.0

Code compiled for a newer Java version is running on an older JVM.

Compose Compiler requires a different Kotlin versionAndroid

This version (1.5.3) of the Compose Compiler requires Kotlin version 1.9.10 but you appear to be using Kotlin version 1.9.0

The Compose compiler plugin is tied to one exact Kotlin release and yours differs.

Compose: Reading a state in the wrong scope / infinite recompositionAndroid

Compose Runtime: Detected infinite recomposition loop / state read during composition

A Compose state is written during composition, so the UI keeps recomposing.

LazyColumn: Key was already usedAndroid

java.lang.IllegalArgumentException: Key "42" was already used. If you are using LazyColumn/Row please make sure you provide a unique key for each item.

Two items in a lazy list share the same key.

adb server version doesn't matchAndroid

adb server version (41) doesn't match this client (39); killing...

Two different adb binaries are running — e.g. Android Studio’s SDK adb and another one on PATH (Homebrew, Genymotion, older SDK).

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.

INSTALL_FAILED_DEXOPTAndroid

Failure [INSTALL_FAILED_DEXOPT]

The device couldn't optimize the APK's dex code during installation.

This app can't run on your PCWindows

This app can't run on your PC — To find a version for your PC, check with the software publisher

The program was built for another architecture (32/64-bit, ARM) or is blocked by S mode/compatibility, or the file is corrupt.

Android Gradle plugin requires Java 17Android

Android Gradle plugin requires Java 17 to run. You are currently using Java 11

This AGP version runs on JDK 17 (or newer) and Gradle is currently started with an older JDK.

BuildConfig unresolved referenceAndroid

Unresolved reference: BuildConfig / buildFeatures buildConfig is not enabled

AGP 8 no longer generates BuildConfig unless you ask for it.