Error map

Plugin [id: 'com.android.application'] was not found in any of the following sources Plugin [id: 'com.google.gms.google-services', version: '4.4.2'] was not found in any of the following sources

Android · layer 1, On your device

Open the full error page →

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

Plugin [id: 'com.android.application'] was not found in any of the following sources — Plugin [id: 'com.google.gms.google-services', version: '4.4.2'] was not found in any of the following sources (Android)Plugin [id:…Android resource linking failed — AAPT: error: resource x (aka y) not found — Android resource linking failed (Android)Android resource li…android:attr/lStar not found — AAPT: error: resource android:attr/lStar not found (Android)android:attr/lStar …Could not resolve com.github.* (JitPack) — Could not resolve com.github.PhilJay:MPAndroidChart:v3.1.0. Could not GET https://jitpack.io (Android)Could not resolve c…Configuration cache problems found in this build — 1 problem was found storing the configuration cache. Task `:app:foo` of type X: invocation of 'Task.project' at execution time is unsupported. (Android)Configuration cache…Swift package plugin: Sandbox: deny file-write — error: Sandbox: swift-format(1234) deny(1) file-write-create (iOS)Swift package plugi…Error building the app bundle — Execution failed for task ':app:bundleRelease'. Error while executing bundletool (Android)Error building the …Unresolved reference: libs in version catalog — Could not find method libs() / Unresolved reference: libs (Android)Unresolved referenc…Could not get unknown property 'android' for root project — Could not get unknown property 'android' for root project 'App' of type org.gradle.api.Project (Android)Could not get unkno…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)EvictedClassNotFoundException — java.lang.ClassNotFoundException / NoClassDefFoundError (Java)ClassNotFoundExcept…NoSuchMethodError — java.lang.NoSuchMethodError (Java)NoSuchMethodErrorMaven resolve — [ERROR] Failed to execute goal on project x: Could not resolve dependencies for project (Java)Maven resolveGradle wrapper main class — Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain (Java)Gradle wrapper main…SDK location not found — 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 (Android)SDK location not fo…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…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…Lint found fatal errors while assembling a release target — Lint found fatal errors while assembling a release target / lintVitalRelease FAILED (Android)Lint found fatal er…CMake Error: Could not find CMAKE_MAKE_PROGRAM — CMake Error: CMake was unable to find a build program corresponding to "Ninja" (Android)CMake Error: Could …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…Dependency requires compileSdk — Dependency 'androidx.x:1.y' requires libraries and applications that depend on it to compile against version 34 or later of the Android APIs (Android)Dependency requires…held broken packages — Unmet dependencies / E: Unable to correct problems, you have held broken packages (Linux)held broken packages0x8007007E — 0x8007007E: The specified module could not be found (Windows)0x8007007Eversion solving failed (pub get) — Dart pub: Because app depends on intl ^0.19.0 and flutter_localizations from sdk depends on intl 0.18.1, version solving failed (Flutter / Dart)version solving fai…OutOfMemoryError: Java heap space during dexing — Execution failed for task ':app:dexBuilderDebug' java.lang.OutOfMemoryError: Java heap space (Android)OutOfMemoryError: J…Duplicate resources / Resource compilation failed — Execution failed for task ':app:mergeDebugResources'. > A failure occurred while executing com.android.build.gradle.internal.res.ResourceCompilerRunnable (Android)Duplicate resources…Could not load entry from build cache / transforms cache corrupted — Failed to load cache entry for task ':app:compileDebugKotlin' (Android)Could not load entr…

Directly related (8)

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: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…

Could not resolve com.github.* (JitPack)Android

Could not resolve com.github.PhilJay:MPAndroidChart:v3.1.0. Could not GET https://jitpack.io

A GitHub-hosted library can't be downloaded because the JitPack repository isn't configured or is unreachable.

Configuration cache problems found in this buildAndroid

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.

Swift package plugin: Sandbox: deny file-writeiOS

error: Sandbox: swift-format(1234) deny(1) file-write-create

A build tool plugin tried to write outside its sandbox.

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.

Unresolved reference: libs in version catalogAndroid

Could not find method libs() / Unresolved reference: libs

Gradle cannot see your `libs.versions.toml` aliases.

Could not get unknown property 'android' for root projectAndroid

Could not get unknown property 'android' for root project 'App' of type org.gradle.api.Project

An `android {}` block runs where the Android plugin isn't applied.

Two steps away (24)

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.

ClassNotFoundExceptionJava

java.lang.ClassNotFoundException / NoClassDefFoundError

The JVM couldn’t find a class on the classpath at runtime.

NoSuchMethodErrorJava

java.lang.NoSuchMethodError

Code compiled against one version of a library is running with another version where the method doesn’t exist.

Maven resolveJava

[ERROR] Failed to execute goal on project x: Could not resolve dependencies for project

Maven couldn’t download or find one or more dependencies.

Gradle wrapper main classJava

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.

SDK location not foundAndroid

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 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.

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.

Lint found fatal errors while assembling a release targetAndroid

Lint found fatal errors while assembling a release target / lintVitalRelease FAILED

The release build runs a lint check and a fatal lint issue stopped it.

CMake Error: Could not find CMAKE_MAKE_PROGRAMAndroid

CMake Error: CMake was unable to find a build program corresponding to "Ninja"

The native build can't find CMake or Ninja.

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…

Dependency requires compileSdkAndroid

Dependency 'androidx.x:1.y' requires libraries and applications that depend on it to compile against version 34 or later of the Android APIs

A library needs a higher compileSdk than your module uses (checkAarMetadata task).

held broken packagesLinux

Unmet dependencies / E: Unable to correct problems, you have held broken packages

apt can’t find a set of package versions that satisfies all dependencies — usually mixed repositories or a package from another r…

0x8007007EWindows

0x8007007E: The specified module could not be found

A DLL that a program, driver or COM component needs isn’t on disk or on the DLL search path.

version solving failed (pub get)Flutter / Dart

Dart pub: Because app depends on intl ^0.19.0 and flutter_localizations from sdk depends on intl 0.18.1, version solving failed

`flutter pub get` cannot find a set of package versions that satisfy every dependency's constraints.

OutOfMemoryError: Java heap space during dexingAndroid

Execution failed for task ':app:dexBuilderDebug' java.lang.OutOfMemoryError: Java heap space

The Gradle daemon or dexer ran out of heap while building the app.

Duplicate resources / Resource compilation failedAndroid

Execution failed for task ':app:mergeDebugResources'. > A failure occurred while executing com.android.build.gradle.internal.res.ResourceCompilerRunnable

Resource merging failed, often from an invalid or duplicate resource file.

Could not load entry from build cache / transforms cache corruptedAndroid

Failed to load cache entry for task ':app:compileDebugKotlin'

A Gradle cache entry is damaged.