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
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.
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:
The following combinations do not work:
The following is difficult to configure, as Java 7 support is not shipped with the latest Ubuntu
API Notes
--arch=armeabi-v7ato yourp4aflags.Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.