Error map
Layout Inspector: Unable to attach / not responding Layout Inspector failed to connect: process not debuggable
Android · layer 1, On your device
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.
Directly related (6)
flutter run: No connected devices found; check 'flutter doctor'. Expected at least one device
Flutter cannot see any emulator, simulator, browser or phone to run on.
Could not install Gradle distribution from 'https://services.gradle.org/distributions/gradle-8.7-bin.zip'. Connection reset
Android Studio can't download the Gradle version the wrapper asks for.
Invalid Gradle JDK configuration found. Open Gradle Settings
Android Studio's selected Gradle JDK is missing or invalid.
Failed to instantiate one or more classes / java.lang.NoSuchMethodError in Compose preview
Android Studio can't render the @Preview of your composable.
Logcat empty after run / No debuggable applications
Android Studio's Logcat window is empty or filtered out.
This version of Android Studio is incompatible with the Gradle Plugin used. Try disabling the Android Gradle Plugin
The IDE can't open a project using a newer AGP.
Two steps away (18)
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: 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.
adb: no devices/emulators found / error: device not found
adb can’t see any connected device or running emulator.
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…
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…
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.
fatal: not a git repository (or any of the parent directories): .git
You ran a Git command outside a Git working tree.
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.
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.
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 Runtime: Detected infinite recomposition loop / state read during composition
A Compose state is written during composition, so the UI keeps recomposing.
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 (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).
Failure [INSTALL_FAILED_DUPLICATE_PERMISSION perm=com.example.permission.C2D_MESSAGE pkg=com.example.old]
Another installed app already declares the same custom permission.
Failure [INSTALL_FAILED_DEXOPT]
The device couldn't optimize the APK's dex code during installation.
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 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.
Unresolved reference: BuildConfig / buildFeatures buildConfig is not enabled
AGP 8 no longer generates BuildConfig unless you ask for it.