Error map

Invalid file name: must contain only lowercase letters and digits ([a-z0-9_.]) Android resource file name must contain only lowercase a-z, 0-9, or underscore

Android · layer 1, On your device

Open the full error page →

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.

Invalid file name: must contain only lowercase letters and digits ([a-z0-9_.]) — Android resource file name must contain only lowercase a-z, 0-9, or underscore (Android)Invalid fil…Resources$NotFoundException — android.content.res.Resources$NotFoundException: Resource ID #0x7f... (Android)Resources$NotFoundE…android:attr/lStar not found — AAPT: error: resource android:attr/lStar not found (Android)android:attr/lStar …Duplicate resources — Execution failed for task ':app:mergeDebugResources'. > Duplicate resources (Android)Duplicate resourcesAndroid resource linking failed — AAPT: error: resource x (aka y) not found — Android resource linking failed (Android)Android resource li…TestFlight build expired — This beta build has expired. Builds are available for 90 days (iOS)TestFlight build ex…Vector drawable: <vector> tag requires viewportWidth > 0 — org.xmlpull.v1.XmlPullParserException: <vector> tag requires viewportWidth > 0 (Android)Vector drawable: <v…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…Resources$NotFoundException in values-night / color not found in dark mode — Resources$NotFoundException: Resource ID #0x7f0600c1 type #0x1d is not valid (Android)Resources$NotFoundE…fatal: 'x y' is not a valid branch name — fatal: 'feature/my branch' is not a valid branch name. (Git)fatal: 'x y' is not…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…Evicted — Kubernetes: Pod Evicted — The node was low on resource: memory / ephemeral-storage (Kubernetes)Evictedexceeded quota — Error creating: pods is forbidden: exceeded quota: compute-resources, requested: limits.memory=1Gi, used: ..., limited: ... (Kubernetes)exceeded quotamust specify limits — pods is forbidden: failed quota: must specify limits.cpu,limits.memory,requests.cpu,requests.memory (Kubernetes)must specify limitsCould 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 classFailedScheduling — Kubernetes: Pod stuck in Pending — FailedScheduling: 0/3 nodes are available (Kubernetes)FailedSchedulingResourceNotFound — ResourceNotFound: The Resource 'Microsoft.X/...' under resource group 'y' was not found (Azure)ResourceNotFoundFailed 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…Unsupported class file major version — Gradle: Unsupported class file major version / Android Gradle plugin requires Java 17 to run (Android)Unsupported class f…Gradle 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…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…OutOfMemoryError: Java heap space during dexing — Execution failed for task ':app:dexBuilderDebug' java.lang.OutOfMemoryError: Java heap space (Android)OutOfMemoryError: J…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…Error building the app bundle — Execution failed for task ':app:bundleRelease'. Error while executing bundletool (Android)Error building the …InflateException: Binary XML file line #12: Error inflating class — android.view.InflateException: Binary XML file line #12 in com.example:layout/activity_main: Binary XML file line #12: Error inflating class androidx.constraintlayout.widget.ConstraintLayout (Android)InflateException: B…IllegalArgumentException: Failed to find configured root — java.lang.IllegalArgumentException: Failed to find configured root that contains /data/user/0/com.example/files/img.png (Android)IllegalArgumentExce…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 …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…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…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…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…You need to use a Theme.AppCompat theme — java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity (Android)You need to use a T…Android 12 splash screen shows twice / wrong icon — (behavior) Two splash screens appear on Android 12+ (Android)Android 12 splash s…Unresolved reference: R (after namespace change) — Unresolved reference: R (Android)Unresolved referenc…branch exists — fatal: a branch named 'x' already exists (Git)branch existserror: The branch is not fully merged — error: The branch 'feature/x' is not fully merged. If you are sure you want to delete it, run 'git branch -D feature/x'. (Git)error: The branch i…error: Cannot delete branch checked out at — error: Cannot delete branch 'main' checked out at '/home/user/repo' (Git)error: Cannot delet…CONFLICT 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…Rebase replays too many commits / unrelated histories — fatal: refusing to merge unrelated histories (Git)Rebase replays too …rerere: Recorded resolution reused wrongly — Resolved 'app.js' using previous resolution. (Git)rerere: Recorded re…

Directly related (12)

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…

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…

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

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…

TestFlight build expirediOS

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

TestFlight builds expire after 90 days.

Vector drawable: <vector> tag requires viewportWidth > 0Android

org.xmlpull.v1.XmlPullParserException: <vector> tag requires viewportWidth > 0

A vector drawable is missing viewport size.

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.

Resources$NotFoundException in values-night / color not found in dark modeAndroid

Resources$NotFoundException: Resource ID #0x7f0600c1 type #0x1d is not valid

A resource used in dark mode isn't defined for the night configuration.

fatal: 'x y' is not a valid branch nameGit

fatal: 'feature/my branch' is not a valid branch name.

The branch name contains characters Git forbids.

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 (36)

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.

exceeded quotaKubernetes

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

must specify limitsKubernetes

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.

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…

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.

ResourceNotFoundAzure

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.

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.

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.

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.

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.

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.

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.

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.

InflateException: Binary XML file line #12: Error inflating classAndroid

android.view.InflateException: Binary XML file line #12 in com.example:layout/activity_main: Binary XML file line #12: Error inflating class androidx.constraintlayout.widget.ConstraintLayout

A layout file couldn't be inflated, usually because a class or attribute inside is wrong.

IllegalArgumentException: Failed to find configured rootAndroid

java.lang.IllegalArgumentException: Failed to find configured root that contains /data/user/0/com.example/files/img.png

The FileProvider paths XML doesn't cover the file you're sharing.

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.

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.

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…

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…

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

You need to use a Theme.AppCompat themeAndroid

java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity

An AppCompatActivity runs with a theme that isn't AppCompat based.

Android 12 splash screen shows twice / wrong iconAndroid

(behavior) Two splash screens appear on Android 12+

Android 12 forces a system splash screen, so custom splash activities cause a double splash.

Unresolved reference: R (after namespace change)Android

Unresolved reference: R

The generated R class isn't visible, usually after a namespace/package change.

branch existsGit

fatal: a branch named 'x' already exists

You tried to create a branch whose name is already taken locally.

error: The branch is not fully mergedGit

error: The branch 'feature/x' is not fully merged. If you are sure you want to delete it, run 'git branch -D feature/x'.

Git refuses to delete a branch whose commits aren't merged elsewhere.

error: Cannot delete branch checked out atGit

error: Cannot delete branch 'main' checked out at '/home/user/repo'

You can't delete a branch that is checked out in this or another worktree.

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.

Rebase replays too many commits / unrelated historiesGit

fatal: refusing to merge unrelated histories

The two branches have no common ancestor, so Git refuses to merge them.

rerere: Recorded resolution reused wronglyGit

Resolved 'app.js' using previous resolution.

git rerere re-applied an earlier conflict resolution you didn't want.