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
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.
Directly related (8)
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…
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.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.
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.
error: Sandbox: swift-format(1234) deny(1) file-write-create
A build tool plugin tried to write outside its sandbox.
Execution failed for task ':app:bundleRelease'. Error while executing bundletool
Building the Android App Bundle (.aab) failed in the bundle step.
Could not find method libs() / Unresolved reference: libs
Gradle cannot see your `libs.versions.toml` aliases.
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)
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 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 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…
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.
java.lang.ClassNotFoundException / NoClassDefFoundError
The JVM couldn’t find a class on the classpath at runtime.
java.lang.NoSuchMethodError
Code compiled against one version of a library is running with another version where the method doesn’t exist.
[ERROR] Failed to execute goal on project x: Could not resolve dependencies for project
Maven couldn’t download or find one or more dependencies.
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 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.
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 target / lintVitalRelease FAILED
The release build runs a lint check and a fatal lint issue stopped it.
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 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 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 '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).
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…
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.
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.
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.
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.
Failed to load cache entry for task ':app:compileDebugKotlin'
A Gradle cache entry is damaged.