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

CRASH when play music #23

Closed
kyzsuukii opened this issue Dec 20, 2022 · 1 comment
Closed

CRASH when play music #23

kyzsuukii opened this issue Dec 20, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@kyzsuukii
Copy link

kyzsuukii commented Dec 20, 2022

this is log when crashed:

Version Name: 0.12
Version Code: 12

java.lang.SecurityException: External path: /storage/emulated/0/Android/data/com.android.providers.media/albumthumbs/1671488722319: Neither user 10072 nor current process has android.permission.WRITE_EXTERNAL_STORAGE.
	at android.os.Parcel.createException(Parcel.java:1953)
	at android.os.Parcel.readException(Parcel.java:1921)
	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:183)
	at android.database.DatabaseUtils.readExceptionWithFileNotFoundExceptionFromParcel(DatabaseUtils.java:146)
	at android.content.ContentProviderProxy.openTypedAssetFile(ContentProviderNative.java:698)
	at android.content.ContentResolver.openTypedAssetFileDescriptor(ContentResolver.java:1473)
	at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:1310)
	at android.content.ContentResolver.openFileDescriptor(ContentResolver.java:1163)
	at android.content.ContentResolver.openFileDescriptor(ContentResolver.java:1117)
	at i1.b.b(Unknown Source:11)
	at l1.b.a(SourceFile:4)
	at com.atul.musicplayer.player.b.onPrepared(Unknown Source:7)
	at android.media.MediaPlayer$EventHandler.handleMessage(MediaPlayer.java:3441)
	at android.os.Handler.dispatchMessage(Handler.java:106)
	at android.os.Looper.loop(Looper.java:201)
	at android.app.ActivityThread.main(ActivityThread.java:6820)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:922)

@AP-Atul AP-Atul added the bug Something isn't working label Dec 21, 2022
@AP-Atul
Copy link
Owner

AP-Atul commented Dec 27, 2022

I'm not able to recreate this. As the error says, it is about the WRITE Permission, but the version you are using does not require that permission so I removed it, there is no situation when there are any write operations.

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

2 participants