Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

OnLoad thread failed to GetStaticMethodID #508

@anupdey99

Description

@anupdey99

I am getting this error when app crashed.

JNI DETECTED ERROR IN APPLICATION: JNI NewGlobalRef called with pending exception java.lang.NoSuchMethodError: no static method "Lcom/arthenica/mobileffmpeg/Config;.log(JI[B)V"

Proguard rules
-keep class com.arthenica.mobileffmpeg.Config {
native ;
void log(int, byte[]);
void statistics(int, float, float, long , int, double, double);
}

-keep class com.arthenica.mobileffmpeg.AbiDetect {
native ;
}

Android Studio 4.0.1
Gradle gradle-6.1.1-all gradle:4.0.1
minSdkVersion 21
targetSdkVersion 29

implementation 'com.arthenica:mobile-ffmpeg-full:4.4.LTS'

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingfixed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions