Error map
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 · 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)
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.
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.
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.
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…
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.
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.
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.
Android Gradle: Execution failed — Unsupported class file major version 65 / Android Gradle plugin requires Java 17 to run
Gradle or the Android Gradle plugin is running on a Java version it does not support.
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.
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.
Flutter: Exception: Gradle task assembleDebug failed with exit code 1
`flutter run` / `flutter build apk` stopped because the Gradle build failed; the real cause is printed above this line.
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).
Two steps away (36)
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.
npm ERR! cb() never called!
An old npm crash during install — usually network/cache corruption.
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.
java.lang.ClassNotFoundException / NoClassDefFoundError
The JVM couldn’t find a class on the classpath at runtime.
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.
! [remote rejected] main -> main (shallow update not allowed)
You pushed from a shallow clone to a remote that doesn’t accept shallow history.
remote: Permission to owner/repo.git denied to github-actions[bot]. fatal: unable to access … The requested URL returned error: 403
A GitHub Actions workflow tried to push but the GITHUB_TOKEN doesn’t have write permission.
npm ERR! `npm ci` can only install packages when your package.json and package-lock.json are in sync
package-lock.json doesn’t match package.json, so npm ci refuses to install.
Error: Cannot find matching keyid (Corepack signature verification)
An older Corepack couldn’t verify the signature of a newly published pnpm/yarn release after npm rotated its signing keys.
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
A deprecation warning printed by npm 8.11–8.12 for the --global flag.
FATAL: database files are incompatible with server — The data directory was initialized by PostgreSQL version 15, which is not compatible with this version 16
A newer (or older) PostgreSQL major version was started on an existing data directory.
AttributeError: module 'numpy' has no attribute 'float'
Code uses np.float/np.int/np.bool/np.object, which were removed in NumPy 1.24.
ModuleNotFoundError: No module named 'distutils'
Python 3.12 removed distutils; old packages or tools that import it fail.
Warning: ReactDOM.render is no longer supported in React 18. Use createRoot instead.
The app uses the legacy root API, so React 18 features (concurrent rendering, automatic batching) are disabled.
npm ERR! code ELIFECYCLE / Command failed with exit code 1
An npm script (build, start, test, postinstall) exited with an error. ELIFECYCLE is only the wrapper — the real error is printed…
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…
COPY failed: file not found in build context / "/app/x": not found
The Dockerfile COPY refers to a path outside the build context, excluded by .dockerignore, or relative to the wrong directory.
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).
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…
Inconsistent JVM-target compatibility detected for tasks 'compileDebugJavaWithJavac' (17) and 'compileDebugKotlin' (1.8)
Java and Kotlin compile tasks target different JVM bytecode versions in the same 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).
Flutter: PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null, null)
Google Sign-In failed on Android because the app's SHA-1 fingerprint or package name is not registered for the OAuth client.
Flutter (Android): java.io.IOException: Cleartext HTTP traffic to api.example.com not permitted
Android 9+ blocks plain `http://` requests by default; the app must use HTTPS or explicitly allow cleartext for that host.
flutter doctor: Android license status unknown. Run `flutter doctor --android-licenses` to accept the SDK licenses
The Android SDK licenses have not been accepted, so builds cannot download or use SDK components.
fatal: not a git repository (or any of the parent directories): .git
You ran a Git command outside a Git working tree.
Author identity unknown *** Please tell me who you are.
Git doesn’t know your name and email for commits.
npm ERR! enoent ENOENT: no such file or directory, open '/path/package.json'
npm ran in a directory without a package.json.
flutter doctor: Android SDK is missing command-line tools; download from https://goo.gl/XxQghQ — cmdline-tools component is missing
The Android SDK Command-line Tools package is not installed, so Flutter cannot run `sdkmanager` or accept licenses.
Android Gradle: Execution failed for task ':app:checkDebugAarMetadata'. Dependency requires libraries and applications that depend on it to compile against version 34 or later of the Android APIs
A dependency was built against a newer Android API than your project's `compileSdk`.
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.
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.
Unresolved reference: BuildConfig / buildFeatures buildConfig is not enabled
AGP 8 no longer generates BuildConfig unless you ask for it.
Execution failed for task ':app:bundleRelease'. Error while executing bundletool
Building the Android App Bundle (.aab) failed in the bundle step.