Error map
BuildConfig unresolved reference Unresolved reference: BuildConfig / buildFeatures buildConfig is not enabled
Android · layer 1, On your device
Centre: this error. First ring: errors it is linked with (12). 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 (12)
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…
Cannot fit requested classes in a single dex file (# methods: 65536 > 65536) — mergeDex failed
The app exceeds the 64K method reference limit of a single DEX file and multidex isn’t enabled (minSdk below 21).
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…
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.
bash: ./gradlew: Permission denied
The Gradle wrapper script isn't executable.
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.
1 problem was found storing the configuration cache. Task `:app:foo` of type X: invocation of 'Task.project' at execution time is unsupported.
A task or plugin isn't compatible with the Gradle configuration cache.
Failed to load cache entry for task ':app:compileDebugKotlin'
A Gradle cache entry is damaged.
Task 'assembleRelease' not found in root project 'MyApp'. Some candidates are: 'assemble'.
The task name doesn't exist at the level you ran it.
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.
error: cannot find symbol class ActivityMainBinding
The generated view-binding or data-binding class does not exist.
Two steps away (35)
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.
Authentication plugin 'caching_sha2_password' cannot be loaded
An old MySQL client/driver can’t use MySQL 8’s default authentication plugin.
npm WARN old lockfile — The package-lock.json file was created with an old version of npm, so supplemental metadata must be fetched
The lockfile is lockfileVersion 1 (npm 6) and npm 7+ is upgrading it.
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.
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…
Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain
The Gradle wrapper JAR (gradle/wrapper/gradle-wrapper.jar) is missing or corrupt.
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.
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.
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.
Error creating: pods is forbidden: exceeded quota: compute-resources, requested: limits.memory=1Gi, used: ..., limited: ...
The namespace’s ResourceQuota doesn’t have room for the new pod’s requests/limits (or object count).
pods is forbidden: failed quota: must specify limits.cpu,limits.memory,requests.cpu,requests.memory
A ResourceQuota on the namespace covers CPU/memory, so every pod must declare those requests/limits — and this one doesn’t.
ResourceNotFound: The Resource 'Microsoft.X/...' under resource group 'y' was not found
The specific resource doesn’t exist in that resource group/subscription — wrong name, group or subscription, or it was deleted.
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.
ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
Build tools (Gradle, Maven, Android tools) can’t find a JDK.
[ERROR] Fatal error compiling: error: release version 17 not supported
The JDK running Maven is older than the Java version the project compiles for.
Windows Error 0x80070005 (E_ACCESSDENIED): Access is denied
Windows refused an operation because the account or process lacks permission — seen in Windows Update, installers, Task Scheduler…
user is not in the sudoers file. This incident will be reported.
Your account isn’t allowed to use sudo.
! [remote rejected] main -> main (shallow update not allowed)
You pushed from a shallow clone to a remote that doesn’t accept shallow history.
Execution failed for task ':app:bundleRelease'. Error while executing bundletool
Building the Android App Bundle (.aab) failed in the bundle step.
Invalid Gradle JDK configuration found. Open Gradle Settings
Android Studio's selected Gradle JDK is missing or invalid.
CKError 9 NotAuthenticated: This request requires an authenticated account
CloudKit needs a signed-in iCloud account.
SDK location not found. Define a valid SDK location with an ANDROID_HOME environment variable or by setting the sdk.dir path in local.properties
Gradle doesn’t know where the Android SDK is installed.
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 version is 8.7. Current version is 8.2
The Android Gradle Plugin (AGP) version in your build needs a newer Gradle wrapper version.
error: object file .git/objects/x is empty / fatal: loose object is corrupt
The local Git object database is corrupted — usually after a crash, disk full or sync tool interference.
ERROR: Missing classes detected while running R8. Please add the missing classes or apply additional keep rules (missing_rules.txt)
R8 (minification) found references to classes that aren’t on the classpath, typically optional dependencies of a library.
Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.0.0, expected version is 1.8.0
A dependency was compiled with a newer Kotlin version than your project’s Kotlin Gradle plugin can read.
(behavior) .onAppear is called more than once
A view appears several times, so `onAppear` repeats.
error: 'init' is inaccessible due to 'internal' protection level
A type's initializer isn't visible to the caller's module.
Gradle: Expiring Daemon because JVM heap space is exhausted / java.lang.OutOfMemoryError: Java heap space during build
The Gradle daemon (or Kotlin daemon) ran out of memory compiling or dexing the project.
Execution failed for task ':app:mergeDebugResources'. > Duplicate resources
Two resource files define the same name and type in the same configuration (e.g. ic_logo.png and ic_logo.xml).
Android Gradle: uses-sdk:minSdkVersion 16 cannot be smaller than version 21 declared in library [:firebase_auth]
A plugin requires a higher Android minimum SDK than your app declares.
Jetpack Compose: Vertically scrollable component was measured with an infinity maximum height constraints, which is disallowed
A LazyColumn (or verticalScroll) is placed inside another vertically scrolling container, so it gets infinite height.
Flutter: A RenderFlex overflowed by x pixels on the right/bottom
A Row or Column’s children need more space than available, so Flutter draws the yellow-black overflow stripes.
Flutter: RenderBox was not laid out: RenderFlex#a1b2c relayoutBoundary=up2 NEEDS-PAINT — Failed assertion: 'hasSize'
A widget was asked for its size or painted before layout finished, usually because a parent gave it unbounded or conflicting cons…