I hope to be clear in my exposition.
I have an app showing an html page in a webview.
Throught my html page I can trigger the android sound recorder to record sound from microphone.
When "aftersoundrecorded" event is triggered (see the block below) the app invokes a javascript function inside my html page passing to it a parameter (the path of the sound just recorded)
The function creates an audio element setting its src attribute to the path of the sound (file:///) as shown below

The output is represented by the following screenshot

As you can see the audio element is disabled since it is not able to recognize the path that is right and exits at all.
That happens on an Android 8 smartphone but if I install the same application in an Android 6 or 5 it works very well