Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with adding wav, ogg and ttf files #208

Closed
dmvass opened this issue Jun 18, 2015 · 2 comments
Closed

Problems with adding wav, ogg and ttf files #208

dmvass opened this issue Jun 18, 2015 · 2 comments

Comments

@dmvass
Copy link

dmvass commented Jun 18, 2015

I/python ( 6900): Traceback (most recent call last):
I/python ( 6900): File "/home/kivy/Desktop/jump/.buildozer/android/app/main.py", line 212, in
I/python ( 6900): File "/home/kivy/Desktop/jump/.buildozer/android/app/main.py", line 231, in Game
I/python ( 6900): File "/home/kivy/Desktop/jump/.buildozer/android/platform/python-for-android/build/python-install/lib/python2.7/site-packages/kivy/core/audio/init.py", line 69, in load
I/python ( 6900): File "/home/kivy/Desktop/jump/.buildozer/android/platform/python-for-android/build/python-install/lib/python2.7/site-packages/kivy/core/audio/audio_pygame.py", line 47, in init
I/python ( 6900): File "kivy/_event.pyx", line 271, in kivy._event.EventDispatcher.init (kivy/_event.c:4930)
I/python ( 6900): File "kivy/properties.pyx", line 397, in kivy.properties.Property.set (kivy/properties.c:4677)
I/python ( 6900): File "kivy/properties.pyx", line 429, in kivy.properties.Property.set (kivy/properties.c:5202)
I/python ( 6900): File "kivy/properties.pyx", line 484, in kivy.properties.Property.dispatch (kivy/properties.c:5851)
I/python ( 6900): File "kivy/_event.pyx", line 1168, in kivy._event.EventObservers.dispatch (kivy/_event.c:12191)
I/python ( 6900): File "kivy/_event.pyx", line 1074, in kivy._event.EventObservers._dispatch (kivy/_event.c:11486)
I/python ( 6900): File "/home/kivy/Desktop/jump/.buildozer/android/platform/python-for-android/build/python-install/lib/python2.7/site-packages/kivy/core/audio/init.py", line 147, in on_source
I/python ( 6900): File "/home/kivy/Desktop/jump/.buildozer/android/platform/python-for-android/build/python-install/lib/python2.7/site-packages/kivy/core/audio/audio_pygame.py", line 85, in load
I/python ( 6900): File "/home/kivy/Desktop/jump/.buildozer/android/platform/python-for-android/build/python-install/lib/python2.7/site-packages/android/mixer.py", line 202, in init
I/python ( 6900): IOError: [Errno 2] No such file or directory: '/data/data/com.meltingrocks.jump/files/data/sound/jump2.wav'
I/ActivityManager( 410): Process com.android.mms (pid 6427) (adj 8) has died.
I/python ( 6900): Python for android ended.

buildozer last version

@dmvass
Copy link
Author

dmvass commented Jun 18, 2015

my spec
[app]

(str) Title of your application

title = Jump jump

(str) Package name

package.name = jump

(str) Package domain (needed for android/ios packaging)

package.domain = com.meltingrocks

(str) Source code where the main.py live

source.dir = .

(list) Source files to include (let empty to include all the files)

source.include_exts = py,png,jpg,kv,atlas,wav

(list) Source files to exclude (let empty to not exclude anything)

#source.exclude_exts = spec

(list) List of directory to exclude (let empty to not exclude anything)

source.exclude_dirs = tests, bin, build

(list) List of exclusions using pattern matching

#source.exclude_patterns = license,images//.jpg

(str) Application versioning (method 1)

version.regex = version = '(.*)'
version.filename = %(source.dir)s/main.py

(str) Application versioning (method 2)

version = 1.2.0

(list) Application requirements

requirements = kivy

(list) Garden requirements

#garden_requirements =

(str) Presplash of the application

presplash.filename = %(source.dir)s/data/presplash.png

(str) Icon of the application

icon.filename = %(source.dir)s/data/icon.png

(str) Supported orientation (one of landscape, portrait or all)

orientation = portrait

(bool) Indicate if the application should be fullscreen or not

fullscreen = 1

@tito
Copy link
Member

tito commented Oct 4, 2015

It does work. You need to give us the full build log, not the issue you got on the device if we want to help you.

By the way, please stop using com.meltingrocks as a prefix, it's my own company :)

@tito tito closed this as completed Oct 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants