Error map

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 · layer 1, On your device

Open the full error page →

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

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 g…Namespace not specified — Namespace not specified. Specify a namespace in the module's build file (AGP 8) (Android)Namespace not speci…Could not load entry from build cache / transforms cache corrupted — Failed to load cache entry for task ':app:compileDebugKotlin' (Android)Could not load entr…TestFlight build expired — This beta build has expired. Builds are available for 90 days (iOS)TestFlight build ex…OutOfMemoryError: Java heap space during dexing — Execution failed for task ':app:dexBuilderDebug' java.lang.OutOfMemoryError: Java heap space (Android)OutOfMemoryError: J…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…Parcelize: 'Parcelable' not implemented / plugin not applied — error: Class 'User' is not abstract and does not implement abstract member public abstract fun writeToParcel (Android)Parcelize: 'Parcela…Swift package plugin: Sandbox: deny file-write — error: Sandbox: swift-format(1234) deny(1) file-write-create (iOS)Swift package plugi…Xcode Preview: Cannot preview in this file (build for iOS Simulator failed) — Cannot preview in this file — Compiling failed: Cannot find 'X' in scope (iOS)Xcode Preview: Cann…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…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: 'com.an…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…Manifest merger failed — Manifest merger failed: android:exported needs to be explicitly specified (Android)Manifest merger fai…caching_sha2_password — Authentication plugin 'caching_sha2_password' cannot be loaded (MySQL)caching_sha2_passwo…old lockfile — npm WARN old lockfile — The package-lock.json file was created with an old version of npm, so supplemental metadata must be fetched (npm)old lockfileUnsupported class file major version — Gradle: Unsupported class file major version / Android Gradle plugin requires Java 17 to run (Android)Unsupported class f…corrupt object — error: object file .git/objects/x is empty / fatal: loose object is corrupt (Git)corrupt objectGradle wrapper main class — Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain (Java)Gradle wrapper main…Redundant Binary Upload — ITMS-4238: Redundant Binary Upload. You've already uploaded a build with build number 'x' for version number 'y' (iOS)Redundant Binary Up…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 …OutOfMemoryError — java.lang.OutOfMemoryError: Java heap space (Java)OutOfMemoryErrorMEMORY_MANAGEMENT — Blue Screen: MEMORY_MANAGEMENT (Stop code 0x0000001A) (Windows)MEMORY_MANAGEMENTSIGSEGV — Segmentation fault (core dumped) (Linux)SIGSEGVSDK 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…Minimum supported Gradle version — Minimum supported Gradle version is 8.7. Current version is 8.2 (Android)Minimum supported G…Compose Compiler requires a different Kotlin version — 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 (Android)Compose Compiler re…kapt: error type was incorrect / cannot find symbol — error: cannot find symbol class DaggerAppComponent / kaptDebugKotlin FAILED (Android)kapt: error type wa…Duplicate class kotlin.collections found in modules — Duplicate class kotlin.collections.jdk8.CollectionsJDK8Kt found in modules kotlin-stdlib-1.8.0 and kotlin-stdlib-jdk8-1.7.10 (Android)Duplicate class kot…Missing package product 'X' — error: Missing package product 'Alamofire' (iOS)Missing package pro…checksum of downloaded artifact does not match — error: checksum of downloaded artifact of binary target 'Lib' (abc) does not match checksum specified by the manifest (def) (iOS)checksum of downloa…Sandbox: deny file-write-create (Run Script) — error: Sandbox: rsync(1234) deny(1) file-write-create /path/App.app/Frameworks (iOS)Sandbox: deny file-…Signing requires a development team — Signing for "App" requires a development team. Select a development team in the Signing & Capabilities editor (iOS)Signing requires a …No such module — Swift: No such module 'X' (module not found) (iOS)No such moduleUndefined symbols for architecture — Undefined symbol(s) for architecture arm64 — linker command failed with exit code 1 (iOS)Undefined symbols f…Cannot fit requested classes in a single dex file — Cannot fit requested classes in a single dex file (# methods: 65536 > 65536) — mergeDex failed (Android)Cannot fit requeste…android:attr/lStar not found — AAPT: error: resource android:attr/lStar not found (Android)android:attr/lStar …Android resource linking failed — AAPT: error: resource x (aka y) not found — Android resource linking failed (Android)Android resource li…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 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…Resources$NotFoundException — android.content.res.Resources$NotFoundException: Resource ID #0x7f... (Android)Resources$NotFoundE…Duplicate resources — Execution failed for task ':app:mergeDebugResources'. > Duplicate resources (Android)Duplicate resourcesCONFLICT during cherry-pick — error: could not apply a1b2c3d... Fix login bug / hint: After resolving the conflicts, mark them with git add/rm, then run git cherry-pick --continue (Git)CONFLICT during che…

Directly related (11)

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…

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.

TestFlight build expirediOS

This beta build has expired. Builds are available for 90 days

TestFlight builds expire after 90 days.

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.

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.

Parcelize: 'Parcelable' not implemented / plugin not appliedAndroid

error: Class 'User' is not abstract and does not implement abstract member public abstract fun writeToParcel

@Parcelize is used without the plugin.

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.

Xcode Preview: Cannot preview in this file (build for iOS Simulator failed)iOS

Cannot preview in this file — Compiling failed: Cannot find 'X' in scope

The preview's build target fails.

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.

Plugin [id: 'com.android.application'] was not found in any of the following sourcesAndroid

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

Gradle can't find a plugin in the configured repositories.

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.

Two steps away (33)

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.

caching_sha2_passwordMySQL

Authentication plugin 'caching_sha2_password' cannot be loaded

An old MySQL client/driver can’t use MySQL 8’s default authentication plugin.

old lockfilenpm

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.

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.

corrupt objectGit

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.

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.

Redundant Binary UploadiOS

ITMS-4238: Redundant Binary Upload. You've already uploaded a build with build number 'x' for version number 'y'

The build number (CFBundleVersion) has already been used for that version in App Store Connect.

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.

OutOfMemoryErrorJava

java.lang.OutOfMemoryError: Java heap space

The JVM ran out of heap memory and garbage collection couldn’t free enough.

MEMORY_MANAGEMENTWindows

Blue Screen: MEMORY_MANAGEMENT (Stop code 0x0000001A)

Windows detected a severe memory-management error — commonly faulty RAM, unstable memory settings or a bad driver.

SIGSEGVLinux

Segmentation fault (core dumped)

A program accessed memory it wasn’t allowed to, and the kernel killed it with SIGSEGV (exit code 139).

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.

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.

Compose Compiler requires a different Kotlin versionAndroid

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.

kapt: error type was incorrect / cannot find symbolAndroid

error: cannot find symbol class DaggerAppComponent / kaptDebugKotlin FAILED

Annotation processing with kapt failed, so generated classes such as Dagger or Room code are missing.

Duplicate class kotlin.collections found in modulesAndroid

Duplicate class kotlin.collections.jdk8.CollectionsJDK8Kt found in modules kotlin-stdlib-1.8.0 and kotlin-stdlib-jdk8-1.7.10

Two Kotlin stdlib artifacts contain the same classes and conflict at build time.

Missing package product 'X'iOS

error: Missing package product 'Alamofire'

Xcode has the package reference but not the product linked to your target.

checksum of downloaded artifact does not matchiOS

error: checksum of downloaded artifact of binary target 'Lib' (abc) does not match checksum specified by the manifest (def)

A binary xcframework package changed or the manifest checksum is wrong.

Sandbox: deny file-write-create (Run Script)iOS

error: Sandbox: rsync(1234) deny(1) file-write-create /path/App.app/Frameworks

Xcode 15's user script sandboxing blocks a build script from writing.

Signing requires a development teamiOS

Signing for "App" requires a development team. Select a development team in the Signing & Capabilities editor

No Apple developer team is selected for the target, so Xcode can’t sign the app.

No such moduleiOS

Swift: No such module 'X' (module not found)

Xcode can’t find a Swift package, pod or framework you import.

Undefined symbols for architectureiOS

Undefined symbol(s) for architecture arm64 — linker command failed with exit code 1

The linker can’t find the implementation of a symbol your code uses — a missing framework/library, a file not in the target, or a…

Cannot fit requested classes in a single dex fileAndroid

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

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…

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…

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

Resources$NotFoundExceptionAndroid

android.content.res.Resources$NotFoundException: Resource ID #0x7f...

Code asked for a resource ID that doesn’t exist for the current configuration — often passing an int to setText(), or a resource…

Duplicate resourcesAndroid

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

CONFLICT during cherry-pickGit

error: could not apply a1b2c3d... Fix login bug / hint: After resolving the conflicts, mark them with git add/rm, then run git cherry-pick --continue

The picked commit touches lines that differ on your branch.