Skip to content

react-native-image-marker:compileDebugKotlin FAILED #174

Closed

Description

@Tiepbm

Describe the bug
e: file:///Users/tiepbm/Desktop/TiepBM/PVI/PVI247/node_modules/react-native-image-marker/android/src/main/java/com/jimmydaddy/imagemarker/ImageLoader.kt:140:34 Type mismatch: inferred type is ImagePipelineExperiments but ImagePipelineConfig? was expected
Uploading image.png…

Devlopment environment(please complete the following information):

  • OS: Mac M1
  • nodejs: 21.2.0
  • react-native: 0.73.0
  • react-native-image-marker : 1.1.10

Smartphone (please complete the following information):

  • Device:SamSung S22
  • OS: Android 12

thanks!

Activity

  1. JimmyDaddy commented on Dec 15, 2023

    @JimmyDaddy
    Owner

    @Tiepbm the image didn't upload successfully. By the way what is the minSdkVersion of your main android project(you can check it in ${your app root dir}/android/build.gradle)

  2. Tiepbm commented on Dec 15, 2023

    @Tiepbm
    Author

    @Tiepbm the image didn't upload successfully. By the way what is the minSdkVersion of your main android project(you can check it in ${your app root dir}/android/build.gradle)
    buildToolsVersion = "34.0.0"
    minSdkVersion = 21
    compileSdkVersion = 34
    targetSdkVersion = 34
    ndkVersion = "25.1.8937393"
    kotlinVersion = "1.6.20" //old version is 1.8
    e5357eb85bccf392aadd

  3. JimmyDaddy commented on Dec 15, 2023

    @JimmyDaddy
    Owner

    @Tiepbm the image didn't upload successfully. By the way what is the minSdkVersion of your main android project(you can check it in ${your app root dir}/android/build.gradle)
    buildToolsVersion = "34.0.0"
    minSdkVersion = 21
    compileSdkVersion = 34
    targetSdkVersion = 34
    ndkVersion = "25.1.8937393"
    kotlinVersion = "1.6.20" //old version is 1.8
    e5357eb85bccf392aadd

    I replace my example project's build.gradle config with yours, but still can't reproduce the error. Could you pls provide me a minimal reproducible example repo?

  4. JimmyDaddy commented on Dec 15, 2023

    @JimmyDaddy
    Owner

    @Tiepbm I have found the cause of the problem. You should upgrade your kotlinVersion to 1.7.0.

  5. Repository owner locked and limited conversation to collaborators on Dec 15, 2023
  6. converted this issue into a discussion #175 on Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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