wseemann / FFmpegMediaMetadataRetriever

FFmpegMediaMetadataRetriever provides a unified interface for retrieving frame and meta data from an input media file.
1.72k stars 387 forks source link

java.lang.NoSuchFieldError: no "J" field "mNativeContext" in class "Lwseemann/media/FFmpegMediaMetadataRetriever; #182

Open tall-nuts opened 6 years ago

tall-nuts commented 6 years ago

If you have the same problem, try adding the rule to your proguard-rules.pro

This problem only arm64-v8a devices.

e.g:

MI 5S | 华为 EVA AL00 | VIVO X20A | VIVO X6SPLUS D

Good luck!

-keep class wseemann.media.**{ *; }
-keep class wseemann.media.FFmpegMediaMetadataRetriever {
    *** mNativeContext;
}
hanishcodebrew commented 6 years ago

@pengfeigao you saved my day man ! thanks a lot :)

Purvik commented 5 years ago

@pengfeigao This only helps for arm64-v8a devices to execute APK when we have separate architecture based APKs. But Universal APK is still getting Exception. Any help will be grateful for us.

hungxadoa1 commented 3 years ago

If you have the same problem, try adding the rule to your proguard-rules.pro

This problem only arm64-v8a devices.

e.g:

MI 5S | 华为 EVA AL00 | VIVO X20A | VIVO X6SPLUS D

Good luck!

-keep class wseemann.media.**{ *; }
-keep class wseemann.media.FFmpegMediaMetadataRetriever {
    *** mNativeContext;
}

you are best