baronha / react-native-multiple-image-picker

🏞 react-native-multiple-image-picker enables applications to pick images and videos from multiple smart albums in iOS/Android, similar to the current Facebook app.
MIT License
372 stars 104 forks source link

Caused by: org.jetbrains.kotlin.gradle.tasks.CompilationErrorException: Compilation error. See log for more details #136

Open yinminqian opened 7 months ago

yinminqian commented 7 months ago
image

i just init new react native project,version is 0.73 ,when i use run , i got a error。look this image ,just android have error,ios is ok 。

this is my react native info System: OS: macOS 14.1.2 CPU: (10) arm64 Apple M1 Pro Memory: 104.27 MB / 16.00 GB Shell: version: "5.9" path: /bin/zsh Binaries: Node: version: 20.10.0 path: ~/.nvm/versions/node/v20.10.0/bin/node Yarn: version: 1.22.21 path: /opt/homebrew/bin/yarn npm: version: 10.2.3 path: ~/.nvm/versions/node/v20.10.0/bin/npm Watchman: version: 2023.09.25.00 path: /opt/homebrew/bin/watchman Managers: CocoaPods: version: 1.14.3 path: /Users/yinminqian/.rbenv/shims/pod SDKs: iOS SDK: Platforms:

yinminqian commented 7 months ago
image image

Based on my intuition, I feel that it has something to do with this, but I modified it to 1.8.0, which does not solve the problem. Please help me.

quoctruongkt commented 6 months ago

I'm also having the same problem, do you have any solution?

ddvalereio commented 6 months ago

Stuck with same issue.. please suggest any solution. Library is not supported for 0.73

baronha commented 5 months ago

OMG. I think I need to upgrade the library.

chetanbhadarka commented 5 months ago

Same issue.

Caused by: org.jetbrains.kotlin.gradle.tasks.CompilationErrorException: Compilation error. See log for more details
> Task :baronha_react-native-multiple-image-picker:compileDebugKotlin FAILED
e: /node_modules/@baronha/react-native-multiple-image-picker/android/src/main/java/com/reactnativemultipleimagepicker/GlideEngine.kt:67:31 Unresolved reference: ps_image_placeholder
e: /node_modules/@baronha/react-native-multiple-image-picker/android/src/main/java/com/reactnativemultipleimagepicker/GlideEngine.kt:86:31 Unresolved reference: ps_image_placeholder
e: /node_modules/@baronha/react-native-multiple-image-picker/android/src/main/java/com/reactnativemultipleimagepicker/MultipleImagePickerModule.kt:162:52 Unresolved reference: anim
e: /node_modules/@baronha/react-native-multiple-image-picker/android/src/main/java/com/reactnativemultipleimagepicker/MultipleImagePickerModule.kt:163:51 Unresolved reference: anim
e: /node_modules/@baronha/react-native-multiple-image-picker/android/src/main/java/com/reactnativemultipleimagepicker/MultipleImagePickerModule.kt:173:61 Unresolved reference: ps_album_bg
e: /node_modules/@baronha/react-native-multiple-image-picker/android/src/main/java/com/reactnativemultipleimagepicker/MultipleImagePickerModule.kt:174:59 Unresolved reference: ps_ic_grey_arrow
e: /node_modules/@baronha/react-native-multiple-image-picker/android/src/main/java/com/reactnativemultipleimagepicker/MultipleImagePickerModule.kt:175:61 Unresolved reference: ps_ic_black_back
e: /node_modules/@baronha/react-native-multiple-image-picker/android/src/main/java/com/reactnativemultipleimagepicker/MultipleImagePickerModule.kt:176:54 Unresolved reference: ps_ic_black_back
e: /node_modules/@baronha/react-native-multiple-image-picker/android/src/main/java/com/reactnativemultipleimagepicker/MultipleImagePickerModule.kt:186:56 Unresolved reference: ps_color_white
e: /node_modules/@baronha/react-native-multiple-image-picker/android/src/main/java/com/reactnativemultipleimagepicker/MultipleImagePickerModule.kt:189:56 Unresolved reference: ps_color_53575e
e: /node_modules/@baronha/react-native-multiple-image-picker/android/src/main/java/com/reactnativemultipleimagepicker/MultipleImagePickerModule.kt:191:56 Unresolved reference: ps_color_53575e
e: /node_modules/@baronha/react-native-multiple-image-picker/android/src/main/java/com/reactnativemultipleimagepicker/MultipleImagePickerModule.kt:205:56 Unresolved reference: ps_color_white
e: /node_modules/@baronha/react-native-multiple-image-picker/android/src/main/java/com/reactnativemultipleimagepicker/MultipleImagePickerModule.kt:216:56 Unresolved reference: ps_color_9b
"@baronha/react-native-multiple-image-picker": "^1.1.6",
"react-native": "0.73.2",

Solution: RN-0.73 Android Not Work [Solved]

eldynguyen1204 commented 3 months ago

+1

RogerIn1900 commented 2 weeks ago

same issue image

RogerIn1900 commented 2 weeks ago

And I found some infos here image