Skip to content

Android build issueย #36

@noma4i

Description

@noma4i
org.jetbrains.kotlin.util.FileAnalysisException: While analysing /Users/noma4i/yupi/yupi_v2/node_modules/react-native-nitro-web-image/android/src/main/java/com/margelo/nitro/web/image/HybridWebImageLoader.kt:20:5: java.lang.IllegalArgumentException: source must not be null

I have resolved the iOS build issue, and it is now working correctly. However, when I switched to Android, the build failed.
There are some other issue like Coil 3.2.0 https://github.com/coil-kt/coil/blob/e285239f97b9f0c6f77db81eeb85a2878e0c7a11/CHANGELOG.md?plain=1#L19
Here's an improved version:

The compatibility issue arises because React Native is built using Kotlin 2.0, and many other libraries target this version. However, Coil 3.2.0 requires Kotlin 2.2.0, creating a version mismatch.

Even after excluding libraries such as Amplitude (https://github.com/amplitude/Amplitude-TypeScript), I was unable to build the Android application due to the following error: IllegalArgumentException: source must not be null in HybridWebImageLoader

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions