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

Documentation improvements: Explicit versions for Ubuntu, JDK, Android #867

Open
hackalog opened this issue Aug 15, 2016 · 2 comments
Open

Comments

@hackalog
Copy link

hackalog commented Aug 15, 2016

There are a few incompatibilities with recent versions of the Android SDK, the JDK, Ubuntu, and p4a. The documentation may be improved by including specific versions that work, (and versions that don't).

After a few days of fiddling, we came up with the following configurations that seem to work:

  • Ubuntu 16.04, openjdk-8, Android SDK build tools 23 (Marshmallow), min_api={19,14}, Android NDK r12b
  • Ubuntu 14.04, openjdk-7, Android SDK build tools 23 (Marshmallow), min_api={19,14}, Android NDK r12b

The following combinations do not work:

  • Android SDK 24 + openjdk-7

The following is difficult to configure, as Java 7 support is not shipped with the latest Ubuntu

  • Ubuntu 16.04 + openjdk-7

API Notes

  • If you are targeting Android SDK 21 and later you will need to add --arch=armeabi-v7a to your p4a flags.
  • min_api=23 does not currently work, as p4a generates a deprecated API call. Change to something earlier (19 and 14 work)

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@Tungsteno74
Copy link

For me work only android target (pygame) with Android SDK 24 + openjdk-8 in Xbuntu 16.04.
If i debug it in android_new, i receive a strange error. I'm investigating...

@Julian-O
Copy link
Contributor

Listing configurations that work is going to be out-of-date continuously.

My suggestion:

  • Fix the configurations that don't work! Whether that is properly specifying dependencies or checking for the presence or whatever.
  • Documenting in the FAQ the attributes of configs that don't work (and why)

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