Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
yinminqian opened this issue Dec 13, 2023 · 6 comments

Comments

@yinminqian
Copy link

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:
- DriverKit 23.0
- iOS 17.0
- macOS 14.0
- tvOS 17.0
- watchOS 10.0
Android SDK: Not Found
IDEs:
Android Studio: 2022.3 AI-223.8836.35.2231.10671973
Xcode:
version: 15.0.1/15A507
path: /usr/bin/xcodebuild
Languages:
Java:
version: 11.0.20.1
path: /usr/bin/javac
Ruby:
version: 2.7.5
path: /Users/yinminqian/.rbenv/shims/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.73.0
wanted: 0.73.0
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: true
newArchEnabled: false

@yinminqian
Copy link
Author

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
Copy link

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

@ddvalereio
Copy link

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

@baronha
Copy link
Owner

baronha commented Jan 24, 2024

OMG. I think I need to upgrade the library.

@chetanbhadarka
Copy link

chetanbhadarka commented Feb 5, 2024

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]

@chetanbhadarka chetanbhadarka mentioned this issue Feb 6, 2024
@eldynguyen1204
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants