Skip to content
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

App crashes in android (java.lang.NoSuchMethodError: No static method addLast(...)) #464

Open
mlab817 opened this issue Jan 27, 2025 · 0 comments

Comments

@mlab817
Copy link

mlab817 commented Jan 27, 2025

Package version
^5.2.0

Environment

  • OS: Android

Describe the bug

When the user taps on a record button, the app crashes.

RecordConfig()  // nothing is passed

To Reproduce

Steps to reproduce the behavior:
N/A

Expected behavior

The app should record audio without crashing.

Additional context

Here is the log info:

E/AndroidRuntime( 4429): FATAL EXCEPTION: MediaCodecEncoder Thread
E/AndroidRuntime( 4429): Process: com.tellycom.app, PID: 4429
E/AndroidRuntime( 4429): java.lang.NoSuchMethodError: No static method addLast(Ljava/util/List;Ljava/lang/Object;)V in class Lj$/util/List$-EL; or its super classes (declaration of 'j$.util.List$-EL' appears in /data/app/~~f1_IghtzBrrokzFp9H7kSw==/com.tellycom.app-rxr3i9WliNd46YoJaArvTw==/base.apk!classes6.dex)
E/AndroidRuntime( 4429): 	at com.llfbandit.record.record.encoder.MediaCodecEncoder.handleMessage(MediaCodecEncoder.kt:83)
E/AndroidRuntime( 4429): 	at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 4429): 	at android.os.Looper.loopOnce(Looper.java:222)
E/AndroidRuntime( 4429): 	at android.os.Looper.loop(Looper.java:314)
E/AndroidRuntime( 4429): 	at android.os.HandlerThread.run(HandlerThread.java:67)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant