You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to keep the symbol information so that JNI can initialize correctly, you will want to add the following rules to your proguard config:
-keep class com.hippo.quickjs.** { *; }
This will keep all symbol information in the library - you could be more selective here, but I opted to allow for everything to be retained in case there were any dependencies I wasn't aware of.
The text was updated successfully, but these errors were encountered:
Just a note for anyone else that may have encountered this: when running
quickjs-android
in a build that includes ProGuard, symbol information is discarded. This will cause the library to be unable to successfully completeJNI_OnLoad
due to symbol lookups it performs.In order to keep the symbol information so that JNI can initialize correctly, you will want to add the following rules to your proguard config:
This will keep all symbol information in the library - you could be more selective here, but I opted to allow for everything to be retained in case there were any dependencies I wasn't aware of.
The text was updated successfully, but these errors were encountered: