kivy / buildozer

Generic Python packager for Android and iOS
https://buildozer.readthedocs.io
MIT License
1.74k stars 499 forks source link

Ouya options are invalid #1134

Open CenTdemeern1 opened 4 years ago

CenTdemeern1 commented 4 years ago

Versions

Description

When uncommenting the Ouya options in buildozer.spec, it throws this error: toolchain.py: error: unrecognized arguments: --ouya-category GAME --ouya-icon [ouya icon path]

buildozer.spec

Command: buildozer android debug

Spec file (important part):

# (str) OUYA Console category. Should be one of GAME or APP
# If you leave this blank, OUYA support will not be enabled
android.ouya.category = GAME

# (str) Filename of OUYA Console icon. It must be a 732x412 png image.
android.ouya.icon.filename = %(source.dir)s/icon.png

Logs

toolchain.py: error: unrecognized arguments: --ouya-category GAME --ouya-icon [project path/icon.png]
CenTdemeern1 commented 4 years ago

I tried to keep everything minimalistic. If I didn't give enough information somewhere, just ask, and I'll fill in.

AndreMiras commented 4 years ago

Please provide buildozer.spec file and complete build log (including the command you typed)

CenTdemeern1 commented 4 years ago

personally I don't have the log, but compiling anything with this buildozer.spec should give you the error:

buildozer.spec.txt

Julian-O commented 11 months ago

This has some similarities to #1715.

In both, Buildozer offers an option in the BuildSpec, reads it and converts it to a parameter to pass to p4a's toolchain, but p4a doesn't recognise it.

We should either agree p4a should accept it and this issue should be a feature request on p4a, or determine what the feature is actually called in p4a, and modify Buildozer to match, or remove the option from Buildozer and its spec.