cordova-plugin-nativeaudio icon indicating copy to clipboard operation
cordova-plugin-nativeaudio copied to clipboard

java.io.FileNotFoundException

Open syavcin opened this issue 7 years ago • 1 comments

Hi

I have a problem ,

My Code

File.local_file = cordova.file.externalDataDirectory + btoa('Download') + '/' + btoa(Track.related_music_id) + '/' + btoa(self.Speed) + '/' + Track.instrument_id+'.mp3',

window.plugins.NativeAudio.preloadComplex( 'music', File.local_file , 1, 1, 0, function(msg){ }, function(msg){ console.log( 'error: ' + msg ); });

Error "error: java.io.FileNotFoundException: www/file:///storage/emulated/0/Android/data/com.ionicframework.aurax442672/files/RG93bmxvYWQ=/MTM5/dW5kZWZpbmVk/3.mp3"

I am delete NativeAudio.java 'www/' String fullPath = assetPath;

Error "error: java.io.FileNotFoundException: file:///storage/emulated/0/Android/data/com.ionicframework.aurax442672/files/RG93bmxvYWQ=/MTM5/dW5kZWZpbmVk/3.mp3"

syavcin avatar Nov 07 '16 11:11 syavcin

Any solution for this?

webquali avatar Aug 13 '20 14:08 webquali