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

Ouya options are invalid #1134

Open
CenTdemeern1 opened this issue May 31, 2020 · 4 comments
Open

Ouya options are invalid #1134

CenTdemeern1 opened this issue May 31, 2020 · 4 comments

Comments

@CenTdemeern1
Copy link

Versions

  • Python: 3.6.10
  • OS: Ubuntu
  • Buildozer: latest version at the time of this report

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
Copy link
Author

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

@AndreMiras
Copy link
Member

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

@CenTdemeern1
Copy link
Author

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

buildozer.spec.txt

@Julian-O
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants