Error map

WebView: JavaScript interface method is undefined Uncaught TypeError: Android.showToast is not a function

Android · layer 1, On your device

Open the full error page →

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

WebView: JavaScript interface method is undefined — Uncaught TypeError: Android.showToast is not a function (Android)WebView: Ja…CalledFromWrongThreadException — CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views (Android)CalledFromWrongThre…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…WebView: net::ERR_SSL_PROTOCOL_ERROR / blank page — Web page not available net::ERR_CLEARTEXT_NOT_PERMITTED / ERR_SSL_PROTOCOL_ERROR (Android)WebView: net::ERR_S…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 …ITMS-90809: Deprecated API Usage — UIWebView — ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs. (iOS)ITMS-90809: Depreca…Guideline 4.2: Minimum Functionality — Guideline 4.2 - Design - Minimum Functionality: your app provides a limited user experience as it is not sufficiently different from a mobile browser (iOS)Guideline 4.2: Mini…WindowLeaked: Activity has leaked window — android.view.WindowLeaked: Activity com.example.MainActivity has leaked window DecorView@a1b2c3 that was originally added here (Android)WindowLeaked: Activ…WKWebView: JavaScript not running / blank page — WKWebView: Failed to load resource: The resource could not be loaded because the App Transport Security policy requires the use of a secure connection (iOS)WKWebView: JavaScri…NetworkOnMainThreadException — android.os.NetworkOnMainThreadException (Android)NetworkOnMainThread…BadTokenException — WindowManager$BadTokenException: Unable to add window -- token null is not valid; is your activity running? (Android)BadTokenExceptionANR — ANR: Application Not Responding (Input dispatching timed out) (Android)ANRCould 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)EvictedCLEARTEXT — CLEARTEXT communication to host not permitted by network security policy (Android)CLEARTEXTRPC failed — error: RPC failed; HTTP 400 curl 22 / curl 92 HTTP/2 stream was not closed cleanly — the remote end hung up unexpectedly (Git)RPC failedCould not resolve host — fatal: unable to access 'https://github.com/…': Could not resolve host: github.com (Git)Could not resolve h…INSTALL_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…ITMS-90206 — ITMS-90206: Invalid Bundle. The bundle at 'App.appex' contains disallowed file 'Frameworks' (iOS)ITMS-90206onBackPressed deprecated / predictive back not working — 'onBackPressed(): Unit' is deprecated. Deprecated in Java (Android)onBackPressed depre…startActivityForResult deprecated — 'startActivityForResult(Intent!, Int): Unit' is deprecated (Android)startActivityForRes…App Review Guideline 2.1: App Completeness — Guideline 2.1 - Performance - App Completeness: We discovered one or more bugs in your app (iOS)App Review Guidelin…Guideline 5.1.1: Data Collection and Storage — Guideline 5.1.1 - Legal - Privacy - Data Collection and Storage: purpose string does not clearly describe use (iOS)Guideline 5.1.1: Da…Guideline 4.3(a) Design: Spam — Guideline 4.3(a) - Design - Spam: we noticed your app shares a similar binary, metadata, and/or concept (iOS)Guideline 4.3(a) De…Can not perform this action after onSaveInstanceState — IllegalStateException: Can not perform this action after onSaveInstanceState (fragment transaction) (Android)Can not perform thi…Fragment not attached to a context — IllegalStateException: Fragment x not attached to a context / not attached to an activity (Android)Fragment not attach…setState() called after dispose() — Flutter: setState() called after dispose(): _MyState#1a2b3 (lifecycle state: defunct, not mounted) (Flutter / Dart)setState() called a…ATS — App Transport Security has blocked a cleartext HTTP resource load (iOS)ATSintegrity could not be verified — Unable to Install "App": This app cannot be installed because its integrity could not be verified (iOS)integrity could not…WKWebView: web content process terminated — WebProcessProxy::didClose / webViewWebContentProcessDidTerminate (iOS)WKWebView: web cont…

Directly related (10)

CalledFromWrongThreadExceptionAndroid

CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views

Background code updated a View directly; UI changes must happen on the main thread.

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…

WebView: net::ERR_SSL_PROTOCOL_ERROR / blank pageAndroid

Web page not available net::ERR_CLEARTEXT_NOT_PERMITTED / ERR_SSL_PROTOCOL_ERROR

A WebView can't load the page due to cleartext rules or a TLS problem.

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.

ITMS-90809: Deprecated API Usage — UIWebViewiOS

ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs.

The app or a library still references UIWebView.

Guideline 4.2: Minimum FunctionalityiOS

Guideline 4.2 - Design - Minimum Functionality: your app provides a limited user experience as it is not sufficiently different from a mobile browser

Review says the app is too basic or just a web wrapper.

WindowLeaked: Activity has leaked windowAndroid

android.view.WindowLeaked: Activity com.example.MainActivity has leaked window DecorView@a1b2c3 that was originally added here

A dialog was still showing when its Activity was destroyed.

WKWebView: JavaScript not running / blank pageiOS

WKWebView: Failed to load resource: The resource could not be loaded because the App Transport Security policy requires the use of a secure connection

The web view shows nothing or scripts don't run.

Two steps away (30)

NetworkOnMainThreadExceptionAndroid

android.os.NetworkOnMainThreadException

The app made a network call on the main (UI) thread, which Android forbids.

BadTokenExceptionAndroid

WindowManager$BadTokenException: Unable to add window -- token null is not valid; is your activity running?

A dialog or popup was shown with a context whose Activity is finishing/destroyed, or with the Application context.

ANRAndroid

ANR: Application Not Responding (Input dispatching timed out)

The main thread was blocked for about 5 seconds (input) or a broadcast/service took too long, so Android showed “App isn’t respon…

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.

CLEARTEXTAndroid

CLEARTEXT communication to host not permitted by network security policy

Android 9+ blocks plain `http://` requests by default; the app tried to call a non-HTTPS URL.

RPC failedGit

error: RPC failed; HTTP 400 curl 22 / curl 92 HTTP/2 stream was not closed cleanly — the remote end hung up unexpectedly

A large HTTPS push/clone broke mid-transfer — size limits, proxies or flaky HTTP/2.

Could not resolve hostGit

fatal: unable to access 'https://github.com/…': Could not resolve host: github.com

DNS lookup for the Git host failed from this machine.

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…

ITMS-90206iOS

ITMS-90206: Invalid Bundle. The bundle at 'App.appex' contains disallowed file 'Frameworks'

An app extension (or framework) embeds its own Frameworks folder; only the main app may embed frameworks.

onBackPressed deprecated / predictive back not workingAndroid

'onBackPressed(): Unit' is deprecated. Deprecated in Java

The old back handling API is deprecated, and predictive back needs the new dispatcher.

startActivityForResult deprecatedAndroid

'startActivityForResult(Intent!, Int): Unit' is deprecated

Use the Activity Result API instead of request codes.

App Review Guideline 2.1: App CompletenessiOS

Guideline 2.1 - Performance - App Completeness: We discovered one or more bugs in your app

Review found crashes or broken features.

Guideline 5.1.1: Data Collection and StorageiOS

Guideline 5.1.1 - Legal - Privacy - Data Collection and Storage: purpose string does not clearly describe use

Review rejected vague permission descriptions or required account deletion.

Guideline 4.3(a) Design: SpamiOS

Guideline 4.3(a) - Design - Spam: we noticed your app shares a similar binary, metadata, and/or concept

Review thinks your app duplicates others.

Can not perform this action after onSaveInstanceStateAndroid

IllegalStateException: Can not perform this action after onSaveInstanceState (fragment transaction)

A FragmentTransaction (or DialogFragment.show/navigation) ran after the Activity saved its state, typically from an async callbac…

Fragment not attached to a contextAndroid

IllegalStateException: Fragment x not attached to a context / not attached to an activity

Code called requireContext()/requireActivity()/getString() after the Fragment was detached — usually in an async callback.

setState() called after dispose()Flutter / Dart

Flutter: setState() called after dispose(): _MyState#1a2b3 (lifecycle state: defunct, not mounted)

An async callback (network, timer, stream) finished after the widget was removed and then called setState.

ATSiOS

App Transport Security has blocked a cleartext HTTP resource load

iOS blocked an `http://` request (or a weak-TLS HTTPS one) because App Transport Security requires secure connections.

integrity could not be verifiediOS

Unable to Install "App": This app cannot be installed because its integrity could not be verified

iOS rejected the app because its signature doesn’t validate for this device — expired/revoked certificate, ad-hoc profile without…

WKWebView: web content process terminatediOS

WebProcessProxy::didClose / webViewWebContentProcessDidTerminate

iOS killed the web process, often for memory.