Closed MrMontazer closed 3 years ago
Could you show what argument are you actually passing? Without it I cannot tell what is wrong.
You might wanna use legacy storage access if you are using API 29 or 29+. I'm not much Android expert.
This video shows the problem. The continuation of the code stops, "worked" will not print and catch also does not run I used to use this library but now it does not work. I tried to use the previous versions but it did not work
I did not try android: requestLegacyExternalStorage="true"
because I am using Android 10 (API 29).
But now I tried and it worked for me.
Thank you very much, my problem was solved. But I don't know why I did not have this problem before
When I use the following code, the continuation of the code stops without any error
await MetadataRetriever.fromFile(File(songInfo.filePath));
I tried to find the library problem to fix it I noticed that an error occurs when using setFilePath (
retriever.setFilePath(filePath);
) This function gives java.lang.IllegalArgumentException error without any message