Q
Q
qqweer2020-10-16 15:42:09
Android
qqweer, 2020-10-16 15:42:09

[Android, Kotlin] What to do with such an error?

What to do with such an error? It works fine on other devices, it seems like it doesn’t on mine. The application is a player, for listening to music, when I click on an item in the recycler view, it crashes with such an error, that is, it crashes because the mediaplayer cannot make it from this uri ..
5f89951d3a806230571241.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Q
qqweer, 2020-10-17
@hawkkiller

Solved the problem myself. Add android:requestLegacyExternalStorage="true" to the tag.

J
Jacen11, 2020-10-16
@Jacen11

In the same place it is written, access is denied. Give permissions to the app

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question