-
-
Notifications
You must be signed in to change notification settings - Fork 196
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
Exception: No such proxy method: NativeGalleryNamespace.NGMediaReceiveCallbackAndroid.OnMediaReceived(System.String) #300
Comments
Can you update your plugin from GitHub? Can you reproduce this issue on a new project, as well? Are you using a custom build system of some sort that I should know of? |
I have used the latest version of the plug-in, and there is no problem in normal use in the new project. What can I do when I use the hybridclr, and I use it normally when I don't import the hybridclr. I think I should feedback this problem to the hybridclr, but I would be very grateful if I know about the hybridclr and find out what happened when this problem occurred. |
Is the issue reproducible when adding hybridclr to the new project? If not, are you using a custom code stripping solution? The plugin comes with proguard.txt that should work with Gradle builds but if you're building from Android Studio or using some sort of other build solution, they you may need to add proguard filters to that solution manually: https://github.com/yasirkula/UnityNativeGallery/blob/master/.github/AAR%20Source%20(Android)/proguard.txt |
Oh, or maybe adding Preserve attribute to NGMediaReceiveCallbackAndroid.OnMediaReceived function resolves the issue? |
Hybridclr will fix this problem. ⸜₍๑•⌔•๑₎⸝ |
when i use NativeGallery.GetImagesFromGallery( action );
This error occurs when you select a picture from the album and return to the software.
The text was updated successfully, but these errors were encountered: