cordova-plugin-nativeaudio
cordova-plugin-nativeaudio copied to clipboard
java.io.FileNotFoundException
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"
Any solution for this?