Error map

Retrofit: Unable to create converter for class java.lang.IllegalArgumentException: Unable to create converter for class com.example.User for method Api.getUser

Android · layer 1, On your device

Open the full error page →

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

Retrofit: Unable to create converter for class — java.lang.IllegalArgumentException: Unable to create converter for class com.example.User for method Api.getUser (Android)Retrofit: U…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…AccessibilityService restricted setting (Android 13) — Restricted setting: For your security, this setting is currently unavailable (Android)AccessibilityServic…Error building the app bundle — Execution failed for task ':app:bundleRelease'. Error while executing bundletool (Android)Error building the …JsonSyntaxException: Expected BEGIN_ARRAY but was BEGIN_OBJECT — com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 2 path $ (Android)JsonSyntaxException…Moshi: JsonDataException: Required value missing — com.squareup.moshi.JsonDataException: Required value 'name' missing at $.user (Android)Moshi: JsonDataExce…IOException: Canceled / Socket closed — java.io.IOException: Canceled (Android)IOException: Cancel…Gson: Unable to invoke no-args constructor — java.lang.RuntimeException: Unable to invoke no-args constructor for interface com.example.Item. Registering an InstanceCreator with Gson for this type may fix this problem. (Android)Gson: Unable to inv…ClassNotFoundException only in release — java.lang.ClassNotFoundException: Didn't find class "com.example.Model" on path: DexPathList (Android)ClassNotFoundExcept…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)EvictedINSTALL_FAILED_USER_RESTRICTED — INSTALL_FAILED_USER_RESTRICTED: Install canceled by user (Xiaomi/MIUI, Oppo, Vivo) (Android)INSTALL_FAILED_USER…POST_NOTIFICATIONS permission denied (Android 13) — Notification not shown: android.permission.POST_NOTIFICATIONS has not been granted (Android)POST_NOTIFICATIONS …CorruptionException: Unable to parse preferences proto — androidx.datastore.core.CorruptionException: Unable to parse preferences proto (Android)CorruptionException…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…Namespace not specified — Namespace not specified. Specify a namespace in the module's build file (AGP 8) (Android)Namespace not speci…NumberFormatException — java.lang.NumberFormatException: For input string: "x" (Java)NumberFormatExcepti…DateTimeParseException — java.time.format.DateTimeParseException: Text '31/12/2024' could not be parsed at index 2 (Java)DateTimeParseExcept…Unparseable date — java.text.ParseException: Unparseable date: "x" (Java)Unparseable dateInconsistent JVM-target compatibility — Inconsistent JVM-target compatibility detected for tasks 'compileDebugJavaWithJavac' (17) and 'compileDebugKotlin' (1.8) (Android)Inconsistent JVM-ta…type 'Null' is not a subtype of type 'String' — Dart: type 'Null' is not a subtype of type 'String' in type cast (Flutter / Dart)type 'Null' is not …type '_InternalLinkedHashMap' is not a subtype of type 'List<dynamic>' — Dart: type '_InternalLinkedHashMap<String, dynamic>' is not a subtype of type 'List<dynamic>' in type cast (Flutter / Dart)type '_InternalLink…JobCancellationException: StandaloneCoroutine was cancelled — kotlinx.coroutines.JobCancellationException: StandaloneCoroutine was cancelled; job=StandaloneCoroutine{Cancelling}@a1b2c3 (Android)JobCancellationExce…UnknownHostException: Unable to resolve host — java.net.UnknownHostException: Unable to resolve host "api.example.com": No address associated with hostname (Android)UnknownHostExceptio…SSLPeerUnverifiedException: Hostname not verified — javax.net.ssl.SSLPeerUnverifiedException: Hostname api.example.com not verified: certificate: sha256/AAAA DN: CN=other.example.com (Android)SSLPeerUnverifiedEx…FormatException: Unexpected character — Dart: FormatException: Unexpected character (at character 1) <!DOCTYPE html> — jsonDecode of an HTML page (Flutter / Dart)FormatException: Un…Fragment$InstantiationException: could not find Fragment constructor — androidx.fragment.app.Fragment$InstantiationException: Unable to instantiate fragment com.example.DetailFragment: could not find Fragment constructor (Android)Fragment$Instantiat…Crashlytics: unsymbolicated stack traces / mapping file not uploaded — Crashlytics: Missing deobfuscation mapping file (Android)Crashlytics: unsymb…R8: Missing class — ERROR: Missing classes detected while running R8. Please add the missing classes or apply additional keep rules (missing_rules.txt) (Android)R8: Missing classFLAG_IMMUTABLE or FLAG_MUTABLE — Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent (Android)FLAG_IMMUTABLE or F…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…

Directly related (9)

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…

AccessibilityService restricted setting (Android 13)Android

Restricted setting: For your security, this setting is currently unavailable

Sideloaded apps can't use accessibility on Android 13+ until allowed.

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.

JsonSyntaxException: Expected BEGIN_ARRAY but was BEGIN_OBJECTAndroid

com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 2 path $

The JSON shape doesn't match the model: an object arrived where a list was expected.

Moshi: JsonDataException: Required value missingAndroid

com.squareup.moshi.JsonDataException: Required value 'name' missing at $.user

A non-null Kotlin property had no value in the JSON.

IOException: Canceled / Socket closedAndroid

java.io.IOException: Canceled

An OkHttp call was cancelled.

Gson: Unable to invoke no-args constructorAndroid

java.lang.RuntimeException: Unable to invoke no-args constructor for interface com.example.Item. Registering an InstanceCreator with Gson for this type may fix this problem.

Gson can't instantiate an interface or abstract type.

ClassNotFoundException only in releaseAndroid

java.lang.ClassNotFoundException: Didn't find class "com.example.Model" on path: DexPathList

A class is stripped or renamed by R8 in the release build but still used by reflection.

Two steps away (27)

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.

INSTALL_FAILED_USER_RESTRICTEDAndroid

INSTALL_FAILED_USER_RESTRICTED: Install canceled by user (Xiaomi/MIUI, Oppo, Vivo)

The phone’s manufacturer layer blocked installs over USB — Xiaomi/MIUI, Oppo/ColorOS and Vivo require extra developer settings.

POST_NOTIFICATIONS permission denied (Android 13)Android

Notification not shown: android.permission.POST_NOTIFICATIONS has not been granted

Android 13 requires a runtime permission to show notifications.

CorruptionException: Unable to parse preferences protoAndroid

androidx.datastore.core.CorruptionException: Unable to parse preferences proto

The DataStore file on disk can't be read.

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.

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…

NumberFormatExceptionJava

java.lang.NumberFormatException: For input string: "x"

A string couldn’t be parsed as a number — it’s empty, has spaces/commas, is too large, or isn’t numeric.

DateTimeParseExceptionJava

java.time.format.DateTimeParseException: Text '31/12/2024' could not be parsed at index 2

A java.time parse call got text that doesn’t match the expected format.

Unparseable dateJava

java.text.ParseException: Unparseable date: "x"

SimpleDateFormat couldn’t parse the string with its pattern.

Inconsistent JVM-target compatibilityAndroid

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.

type 'Null' is not a subtype of type 'String'Flutter / Dart

Dart: type 'Null' is not a subtype of type 'String' in type cast

A value that was `null` at runtime was cast or used as a non-nullable type, most often when parsing JSON.

type '_InternalLinkedHashMap' is not a subtype of type 'List<dynamic>'Flutter / Dart

Dart: type '_InternalLinkedHashMap<String, dynamic>' is not a subtype of type 'List<dynamic>' in type cast

JSON decoded to a Map but your code expected a List (or the other way round).

JobCancellationException: StandaloneCoroutine was cancelledAndroid

kotlinx.coroutines.JobCancellationException: StandaloneCoroutine was cancelled; job=StandaloneCoroutine{Cancelling}@a1b2c3

A coroutine was cancelled, usually because its scope ended.

UnknownHostException: Unable to resolve hostAndroid

java.net.UnknownHostException: Unable to resolve host "api.example.com": No address associated with hostname

The device couldn't turn the host name into an IP address.

SSLPeerUnverifiedException: Hostname not verifiedAndroid

javax.net.ssl.SSLPeerUnverifiedException: Hostname api.example.com not verified: certificate: sha256/AAAA DN: CN=other.example.com

The certificate presented doesn't match the host you called.

FormatException: Unexpected characterFlutter / Dart

Dart: FormatException: Unexpected character (at character 1) <!DOCTYPE html> — jsonDecode of an HTML page

`jsonDecode` received something that is not JSON, commonly an HTML error page, an empty string, or a plain-text message.

Fragment$InstantiationException: could not find Fragment constructorAndroid

androidx.fragment.app.Fragment$InstantiationException: Unable to instantiate fragment com.example.DetailFragment: could not find Fragment constructor

The system can't recreate a fragment because it has no public no-argument constructor.

Crashlytics: unsymbolicated stack traces / mapping file not uploadedAndroid

Crashlytics: Missing deobfuscation mapping file

Crashlytics shows obfuscated stack traces because mapping files weren't uploaded.

R8: Missing classAndroid

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.

FLAG_IMMUTABLE or FLAG_MUTABLEAndroid

Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent

Apps targeting Android 12+ must declare PendingIntent mutability; missing flags crash.

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.