I\'m trying to get the size of a remote video using this class and i\'m getting IllegalArgumentException if the video is remote.
the video is an mp4 stored in one se
I was getting the same error, I am using android 10.
I solved just putting android:requestLegacyExternalStorage="true" in Manifest inside application.
android:requestLegacyExternalStorage="true"
application
See here