This repository has been archived by the owner on Jan 6, 2025. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 806
[Android] Crashes when proguard is enabled #82
Labels
Comments
Can you please share |
I realized after filing this that I should have probably filed this under |
No problem, it is about Thank you for sharing it. I managed to reproduce it locally, unfortunately crash is there and you're right; a documentation update is needed for that.
|
tanersener
added
documentation-bug
and removed
question
Further information is requested
needs-analysis
labels
Feb 14, 2019
tanersener
added a commit
that referenced
this issue
Feb 14, 2019
Android test-application is updated, on develop branch, to include a proguard enabled release build type. Additionally a new ProGuard Configuration wiki page is added. |
tanersener
added a commit
to tanersener/react-native-ffmpeg-test
that referenced
this issue
Feb 14, 2019
tanersener
added a commit
to tanersener/flutter-ffmpeg
that referenced
this issue
Feb 14, 2019
tanersener
added a commit
to tanersener/flutter-ffmpeg
that referenced
this issue
Feb 14, 2019
Thanks! I verified that the tighter rules worked for me. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When proguard is enabled on android the app crashes in
JNI_OnLoad
oflibmobileffmpeg.so
. The solution for me was to use a heavy hammer and add the line-keep class com.arthenica.mobileffmpeg.** { *; }
to myproguard-rules.pro
.It might be the case that there are more exact rules. This issue is to track that and updating any documentation/examples to be proguard friendly.
The text was updated successfully, but these errors were encountered: