Skip to content
FR
  1. LuzineDebug
  2. Mobile (Android, iOS)

Mobile (Android, iOS) errors: causes and fixes

Build and runtime errors on Android, iOS, React Native and Flutter: SDK not found, CocoaPods, Metro, Xcode signing.

SDK location not found. Define a valid SDK location with an ANDROID_HOME environment varia…

Fix "SDK location not found" (ANDROID_HOME / sdk.dir) on Android

Gradle does not know where the Android SDK is installed. Put its path in android/local.properties with sdk.dir=..., or set the AND…

Beginner 5 min
[!] CocoaPods could not find compatible versions for pod "Firebase/CoreOnly"

Fix "CocoaPods could not find compatible versions for pod" on iOS

CocoaPods cannot find a version of a pod that satisfies every constraint (Podfile, Podfile.lock, plugins, minimum iOS target). Mos…

Intermediate 15 min
Unable to load script. Make sure you're either running Metro (run 'npx react-native start'…

Fix "Unable to load script" (index.android.bundle) in React Native

The app found neither a reachable Metro server nor an embedded JavaScript bundle. In development, run npx react-native start, then…

Beginner 10 min
Signing for "App" requires a development team. Select a development team in the Signing &…

Fix "Signing for "App" requires a development team" in Xcode

Xcode must sign the app to install it on an iPhone or archive it, but no Apple team is assigned to the target. Add your Apple ID i…

Beginner 5 min
adb: failed to install app-release.apk: Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE: Packa…

Fix "INSTALL_FAILED_UPDATE_INCOMPATIBLE: signatures do not match" on Android

A version of the app with the same package name but signed with a different key is already installed on the device, and Android re…

Beginner 5 min
Duplicate class kotlin.collections.jdk8.CollectionsJDK8Kt found in modules kotlin-stdlib-1…

Fix "Duplicate class ... found in modules" in an Android Gradle build

Two dependencies of your app contain the same Java/Kotlin class, and Gradle refuses to package them together. For kotlin-stdlib-jd…

Intermediate 20 min
[!] Android toolchain - develop for Android devices (Android SDK version 35.0.0)

Fix "cmdline-tools component is missing" and "Android license status unknown" (flutter doctor)

The Android SDK Command-line Tools package, which provides sdkmanager, is missing, so Flutter can neither check nor accept the SDK…

Beginner 10 min
Invariant Violation: "main" has not been registered. This can happen if:

Fix "Invariant Violation: "main" has not been registered" (React Native / Expo)

The native app asked for a root component named main (or your app name), but the JavaScript bundle never registered it. First look…

Beginner 10 min

Other areas