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

Error when touch on the photo selection #9

Closed
minhnndev opened this issue Apr 28, 2021 · 5 comments
Closed

Error when touch on the photo selection #9

minhnndev opened this issue Apr 28, 2021 · 5 comments

Comments

@minhnndev
Copy link

minhnndev commented Apr 28, 2021

Hi, that is great pakage, config pakage so easy, fast. But when touch on the photo selection, it action good while i touch to circle, but when I touch outside of the circle (background) the app crashes (Android)

@baronha
Copy link
Owner

baronha commented Apr 29, 2021

Which OS do you use? Is it Android??

@minhnndev
Copy link
Author

Which OS do you use? Is it Android??

Yepp !!! Android

@ymane
Copy link
Contributor

ymane commented May 4, 2021

Yes I am also facing same issue in Android. below crash log show error in PicturePreviewActivity
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/luck/picture/lib/config/UCropOptions; at com.luck.picture.lib.config.PictureSelectionConfig.<init>(PictureSelectionConfig.java:477) at com.luck.picture.lib.config.PictureSelectionConfig$1.createFromParcel(PictureSelectionConfig.java:516) at com.luck.picture.lib.config.PictureSelectionConfig$1.createFromParcel(PictureSelectionConfig.java:513) at android.os.Parcel.readParcelable(Parcel.java:2796) at android.os.Parcel.readValue(Parcel.java:2690) at android.os.Parcel.readArrayMapInternal(Parcel.java:3057) at android.os.BaseBundle.unparcel(BaseBundle.java:257) at android.os.BaseBundle.getInt(BaseBundle.java:961) at android.content.Intent.getIntExtra(Intent.java:7013) at com.luck.picture.lib.PicturePreviewActivity.initWidgets(PicturePreviewActivity.java:142)

@minhnndev
Copy link
Author

I solved this problem by turn off PicturePreview.

@baronha
Copy link
Owner

baronha commented May 4, 2021

I will review PicturePreviewActivity

ymane added a commit to ymane/react-native-multiple-image-picker that referenced this issue May 14, 2021
issue baronha#9 Error when touch on the photo selection for PicturePreview fixes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants