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

0.73 #134

Closed
TomWq opened this issue Dec 8, 2023 · 17 comments
Closed

0.73 #134

TomWq opened this issue Dec 8, 2023 · 17 comments

Comments

@TomWq
Copy link

TomWq commented Dec 8, 2023

After upgrading to rn0.73, Android will report an error indicating that some files cannot be found

R.drawable.ps_image_placeholder

@yinminqian
Copy link

解决了吗

@hamdij0maa
Copy link

+1

@TomWq
Copy link
Author

TomWq commented Dec 27, 2023

Probably not much maintenance, the author has no reply in this regard

@TomWq
Copy link
Author

TomWq commented Dec 27, 2023

But you can try to change R to com.luck.picture.lib.R is OK @hamdij0maa @yinminqian

@baronha
Copy link
Owner

baronha commented Dec 27, 2023

Have you upgraded to 0.73 already? I haven't tested the latest version yet 🥹🥹🥹

@chetanbhadarka
Copy link

chetanbhadarka commented Feb 6, 2024

But you can try to change R to com.luck.picture.lib.R is OK @hamdij0maa @yinminqian

It's worked 🎉. As per @TomWq suggestion I replaced R with "com.luck.picture.lib.R" for every errors which are listed in compiler. This solution/work-around is working fine for me.

Screenshot 2024-02-07 at 12 02 34 AM

For more detail about error, Visit below issue...
#136 (Actual error)

@Anhunghezo
Copy link

After chang R to "com.luck.picture.lib.R" in GlideEngine.kt and MultipleImagePickerModule.kt

I still get errors:

e: file:///Users/XXX/CODING/YYYYYYY/mobile/node_modules/@baronha/react-native-multiple-image-picker/android/src/main/java/com/reactnativemultipleimagepicker/MultipleImagePickerModule.kt:148:68 Unresolved reference: app_color_black
e: file:///Users/XXX/CODING/YYYYYYY/mobile/node_modules/@baronha/react-native-multiple-image-picker/android/src/main/java/com/reactnativemultipleimagepicker/MultipleImagePickerModule.kt:168:77 Unresolved reference: app_color_white
e: file:///Users/XXX/CODING/YYYYYYY/mobile/node_modules/@baronha/react-native-multiple-image-picker/android/src/main/java/com/reactnativemultipleimagepicker/MultipleImagePickerModule.kt:182:77 Unresolved reference: app_color_pri
e: file:///Users/XXX/CODING/YYYYYYY/mobile/node_modules/@baronha/react-native-multiple-image-picker/android/src/main/java/com/reactnativemultipleimagepicker/MultipleImagePickerModule.kt:184:77 Unresolved reference: app_color_pri
e: file:///Users/XXX/CODING/YYYYYYY/mobile/node_modules/@baronha/react-native-multiple-image-picker/android/src/main/java/com/reactnativemultipleimagepicker/MultipleImagePickerModule.kt:187:78 Unresolved reference: num_oval_orange
e: file:///Users/XXX/CODING/YYYYYYY/mobile/node_modules/@baronha/react-native-multiple-image-picker/android/src/main/java/com/reactnativemultipleimagepicker/MultipleImagePickerModule.kt:192:79 Unresolved reference: app_color_53575e
e: file:///Users/XXX/CODING/YYYYYYY/mobile/node_modules/@baronha/react-native-multiple-image-picker/android/src/main/java/com/reactnativemultipleimagepicker/MultipleImagePickerModule.kt:193:79 Unresolved reference: app_color_black
e: file:///Users/XXX/CODING/YYYYYYY/mobile/node_modules/@baronha/react-native-multiple-image-picker/android/src/main/java/com/reactnativemultipleimagepicker/MultipleImagePickerModule.kt:203:70 Unresolved reference: picture_selector
e: file:///Users/XXX/CODING/YYYYYYY/mobile/node_modules/@baronha/react-native-multiple-image-picker/android/src/main/java/com/reactnativemultipleimagepicker/MultipleImagePickerModule.kt:207:45 Unresolved reference: picture_selector
e: file:///Users/XXX/CODING/YYYYYYY/mobile/node_modules/@baronha/react-native-multiple-image-picker/android/src/main/java/com/reactnativemultipleimagepicker/MultipleImagePickerModule.kt:223:46 Unresolved reference: app_color_white

@s3079
Copy link

s3079 commented Jun 15, 2024

You can use the following method:
MultipleImagePickerModule.kt & GlideEngine.kt
import com.luck.picture.lib.R
import com.reactnativemultipleimagepicker.R.color
import com.reactnativemultipleimagepicker.R.drawable
@baronha+react-native-multiple-image-picker+1.1.6.patch

@oluseyi-ged
Copy link

@ngocdev97 you are a life saver... Many thanks

@projektArkane
Copy link

projektArkane commented Jul 11, 2024

@Anhunghezo

After chang R to "com.luck.picture.lib.R" in GlideEngine.kt and MultipleImagePickerModule.kt

I still get errors:

e: file:///Users/XXX/CODING/YYYYYYY/mobile/node_modules/@baronha/react-native-multiple-image-picker/android/src/main/java/com/reactnativemultipleimagepicker/MultipleImagePickerModule.kt:148:68 Unresolved reference: app_color_black e: file:///Users/XXX/CODING/YYYYYYY/mobile/node_modules/@baronha/react-native-multiple-image-picker/android/src/main/java/com/reactnativemultipleimagepicker/MultipleImagePickerModule.kt:168:77 Unresolved reference: app_color_white e: file:///Users/XXX/CODING/YYYYYYY/mobile/node_modules/@baronha/react-native-multiple-image-picker/android/src/main/java/com/reactnativemultipleimagepicker/MultipleImagePickerModule.kt:182:77 Unresolved reference: app_color_pri e: file:///Users/XXX/CODING/YYYYYYY/mobile/node_modules/@baronha/react-native-multiple-image-picker/android/src/main/java/com/reactnativemultipleimagepicker/MultipleImagePickerModule.kt:184:77 Unresolved reference: app_color_pri e: file:///Users/XXX/CODING/YYYYYYY/mobile/node_modules/@baronha/react-native-multiple-image-picker/android/src/main/java/com/reactnativemultipleimagepicker/MultipleImagePickerModule.kt:187:78 Unresolved reference: num_oval_orange e: file:///Users/XXX/CODING/YYYYYYY/mobile/node_modules/@baronha/react-native-multiple-image-picker/android/src/main/java/com/reactnativemultipleimagepicker/MultipleImagePickerModule.kt:192:79 Unresolved reference: app_color_53575e e: file:///Users/XXX/CODING/YYYYYYY/mobile/node_modules/@baronha/react-native-multiple-image-picker/android/src/main/java/com/reactnativemultipleimagepicker/MultipleImagePickerModule.kt:193:79 Unresolved reference: app_color_black e: file:///Users/XXX/CODING/YYYYYYY/mobile/node_modules/@baronha/react-native-multiple-image-picker/android/src/main/java/com/reactnativemultipleimagepicker/MultipleImagePickerModule.kt:203:70 Unresolved reference: picture_selector e: file:///Users/XXX/CODING/YYYYYYY/mobile/node_modules/@baronha/react-native-multiple-image-picker/android/src/main/java/com/reactnativemultipleimagepicker/MultipleImagePickerModule.kt:207:45 Unresolved reference: picture_selector e: file:///Users/XXX/CODING/YYYYYYY/mobile/node_modules/@baronha/react-native-multiple-image-picker/android/src/main/java/com/reactnativemultipleimagepicker/MultipleImagePickerModule.kt:223:46 Unresolved reference: app_color_white

did you find any solution?

@baronha
Copy link
Owner

baronha commented Jul 31, 2024

Solved v.1.1.9
Please check again for me

@baronha baronha closed this as completed Jul 31, 2024
@Moryee
Copy link

Moryee commented Aug 2, 2024

@baronha the fix still doesn't work for me, it only works with the correct imports described here

You can use the following method: MultipleImagePickerModule.kt & GlideEngine.kt import com.luck.picture.lib.R import com.reactnativemultipleimagepicker.R.color import com.reactnativemultipleimagepicker.R.drawable @baronha+react-native-multiple-image-picker+1.1.6.patch

@SnakeLil
Copy link

SnakeLil commented Aug 6, 2024

@baronha same problem ,
"@baronha/react-native-multiple-image-picker": "^1.1.9",
The fix still doesn't work for me 🙏🙏🙏

@baronha
Copy link
Owner

baronha commented Aug 6, 2024

@baronha same problem , "@baronha/react-native-multiple-image-picker": "^1.1.9", The fix still doesn't work for me 🙏🙏🙏

oh no. So please use version 1.1.8. I made a mistake when editing the code.

@SnakeLil
Copy link

SnakeLil commented Aug 7, 2024

@baronha same problem , "@baronha/react-native-multiple-image-picker": "^1.1.9", The fix still doesn't work for me 🙏🙏🙏

oh no. So please use version 1.1.8. I made a mistake when editing the code.

I used the patch, @ngocdev97 suggested and used version 1.1.6, but it would be even better if you could fix it!Thank you~

@s3079
Copy link

s3079 commented Aug 13, 2024

Patch file for 1.1.9:
@baronha+react-native-multiple-image-picker+1.1.9.patch

@Menzen20
Copy link

@baronha+react-native-multiple-image-picker+1.1.9.patch

Thanks a lot @ngocleexuan works for me

@baronha baronha linked a pull request Oct 25, 2024 that will close this issue
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