🤖 Android errors

Android, Gradle and ADB build/install errors.

CodeErrorWhat it means
INSTALL_FAILED_UPDATE_INCOMPATIBLE Android: INSTALL_FAILED_UPDATE_INCOMPATIBLE An app with the same package name but a different signing key is already installed on the device.
CLEARTEXT 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.
Duplicate class 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…
Could not resolve 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 netwo…
Unsupported class file major 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.
Manifest merger failed 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…