Android 10 (Q) introduced new features and APIs that you can take advantage of in your apps and new behaviour changes. To run successfully in Android Q, the application which integrated Android SDK 5 should be changed according to the following steps.

Scoped storage for offline playback

Android Q changes how apps can access files on the device’s external storage, such as the files stored at the path / sdcard. Apps targeting Android Q by default can only access their app-specific directory. To maintain compatibility and continue to access the downloaded file after upgrading to Android Q, the Apps can also use the new requestLegacyExternalStorage manifest attribute.

Google currently specifies targeting Android SDK 28 for releasing to the Play Store. However, scoped storage is not enforced in SDK 28, even for Android Q devices. Scoped storage is only enforced when targeting SDK 29 (Q) and above, and when Google either makes that the minimum version for upgrades or the release of Android R.

<manifest ... >
  <!-- This attribute is "false" by default on apps targeting Android Q. -->
  <application android:requestLegacyExternalStorage="true" ... >