Skip to content

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

Description

@hackalog

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions