-
Notifications
You must be signed in to change notification settings - Fork 477
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
NoSuchMethodError #506
Comments
@wysaid kindly look into this. |
Please paste the whole demo than can produce your problem, then I can try to find the problem... |
@wysaid Dependency I was missing. The function above is the whole thing. I'm generating overlay from assets in my android app. This function works perfectly fine in debug build but in production NoSuchMethodError occurs.
|
Sorry for the late reply. You've closed this issue, is this problem solved? |
Yeah, the issue was from my side. I added rules in the wrong proguard. Thanks for your help. |
Caused by java.lang.NoSuchMethodError: no static method "Lorg/wysaid/nativePort/CGENativeLibrary;.loadTextureByName(Ljava/lang/String;)Lorg/wysaid/nativePort/CGENativeLibrary$TextureResult;"
at org.wysaid.nativePort.CGEImageHandler.nativeSetFilterWithConfig(CGEImageHandler.java)
at org.wysaid.nativePort.CGEImageHandler.setFilterWithConfig(CGEImageHandler.java:6)
I have tried adding
-keep class org.wysaid.nativePort.** { *; } in proguard.
Code:
The text was updated successfully, but these errors were encountered: