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 crashing on A15 #44

Open
sachinz25 opened this issue Dec 28, 2024 · 3 comments
Open

app crashing on A15 #44

sachinz25 opened this issue Dec 28, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@sachinz25
Copy link

Whenever I click on any song to play app get crashed automatically.

Environment

App version: 0.7
Os version: Android 15

Crashlog:

time: 1735411135655
msg: java.lang.IllegalArgumentException: cannot use a recycled source in createBitmap
stacktrace: java.lang.IllegalArgumentException: cannot use a recycled source in createBitmap
at android.graphics.Bitmap.createBitmap(Bitmap.java:932)
at android.graphics.Bitmap.createScaledBitmap(Bitmap.java:854)
at android.media.MediaMetadata$Builder.scaleBitmap(MediaMetadata.java:988)
at android.media.MediaMetadata$Builder.build(MediaMetadata.java:970)
at android.media.session.MediaSession.setMetadata(MediaSession.java:512)
at it.vfsfitvnm.vimusic.service.PlayerService.onEvents(PlayerService.kt:576)
at androidx.media3.exoplayer.ExoPlayerImpl.lambda$new$0(ExoPlayerImpl.java:299)
at androidx.media3.exoplayer.ExoPlayerImpl.$r8$lambda$SA7gbpEMwf_Ft8S0LNQ1m_I4CcI(ExoPlayerImpl.java:0)
at androidx.media3.exoplayer.ExoPlayerImpl$$ExternalSyntheticLambda19.invoke(R8$$SyntheticClass:0)
at androidx.media3.common.util.ListenerSet$ListenerHolder.iterationFinished(ListenerSet.java:350)
at androidx.media3.common.util.ListenerSet.handleMessage(ListenerSet.java:294)
at androidx.media3.common.util.ListenerSet.$r8$lambda$rFcF5Pkb99AL585p5-2u78YfNkY(ListenerSet.java:0)
at androidx.media3.common.util.ListenerSet$$ExternalSyntheticLambda0.handleMessage(R8$$SyntheticClass:0)
at android.os.Handler.dispatchMessage(Handler.java:103)
at android.os.Looper.loopOnce(Looper.java:232)
at android.os.Looper.loop(Looper.java:317)
at android.app.ActivityThread.main(ActivityThread.java:8706)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:585)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:886)

@DanielSevillano DanielSevillano added the bug Something isn't working label Dec 29, 2024
@DanielSevillano
Copy link
Owner

Do you experience the same issue with other forks of ViMusic?

@rushilvishwakarma
Copy link

Same Issue, A15.

time: 1736115869222
msg: java.lang.IllegalArgumentException: cannot use a recycled source in createBitmap
stacktrace: java.lang.IllegalArgumentException: cannot use a recycled source in createBitmap
	at android.graphics.Bitmap.createBitmap(Bitmap.java:932)
	at android.graphics.Bitmap.createScaledBitmap(Bitmap.java:854)
	at android.media.MediaMetadata$Builder.scaleBitmap(MediaMetadata.java:996)
	at android.media.MediaMetadata$Builder.build(MediaMetadata.java:970)
	at android.media.session.MediaSession.setMetadata(MediaSession.java:512)
	at it.vfsfitvnm.vimusic.service.PlayerService.onEvents(PlayerService.kt:576)
	at androidx.media3.exoplayer.ExoPlayerImpl.lambda$new$0(ExoPlayerImpl.java:299)
	at androidx.media3.exoplayer.ExoPlayerImpl.$r8$lambda$SA7gbpEMwf_Ft8S0LNQ1m_I4CcI(ExoPlayerImpl.java:0)
	at androidx.media3.exoplayer.ExoPlayerImpl$$ExternalSyntheticLambda19.invoke(R8$$SyntheticClass:0)
	at androidx.media3.common.util.ListenerSet$ListenerHolder.iterationFinished(ListenerSet.java:350)
	at androidx.media3.common.util.ListenerSet.handleMessage(ListenerSet.java:294)
	at androidx.media3.common.util.ListenerSet.$r8$lambda$rFcF5Pkb99AL585p5-2u78YfNkY(ListenerSet.java:0)
	at androidx.media3.common.util.ListenerSet$$ExternalSyntheticLambda0.handleMessage(R8$$SyntheticClass:0)
	at android.os.Handler.dispatchMessage(Handler.java:105)
	at android.os.Looper.loopOnce(Looper.java:232)
	at android.os.Looper.loop(Looper.java:317)
	at android.app.ActivityThread.main(ActivityThread.java:8788)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:594)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:871)

@sachinz25
Copy link
Author

Do you experience the same issue with other forks of

yes vitune also facing the same error on a15 roms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants