'Audio for Kivy app works on windows but not android
I have been trying to figure out this problem for days. I have two .wav files that I want to play when I press a button in my app. When I run the program on my windows device the audio plays just fine. But when I compile my kivy app using buildozer into an .apk and run in it on my android device the audio doesn't play. I did run a adb logcat on my app and this is the error it shows this:
[WARNING] [AudioSDL2 ] Unable to load /data/data/org.test.myapp/files/app/137523215.wav: b'java.io.FileNotFoundException: /etc/timidity/freepats.cfg'`.
I also included the wav files in my bulldozer spec file.
# (list) Source files to include (let empty to include all the files)
source.include_exts = py,png,jpg,kv,atlas,ttf,wav
What am I missing?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
