Hi Sfalexrog,
I tried building the OpenXcom for Android myself (latest commit: 11257d7) using your compilation instructions and everything went quite fine.
I used:
- Android SDK Build-Tools 25.0.1 (see attached for specific package versions)
- Android SDK Platform 23
- Android NDK n14b
- Gradle 2.14.1
- jdk1.8.0_74
Using "gradlew assemble", I got this unsigned APK:
https://drive.google.com/open?id=0B8itkFQbhj-YOU1KXzNWLWgteEkCan I use your gradle build script to produce a signed APK too somehow?I see some config there, but don't know how to use it...
Anyway I signed the app myself (manually) and produced this signed and zip-aligned APK:
https://drive.google.com/open?id=0B8itkFQbhj-YMnpBUVVmRmtsaVkIt installs fine and runs same like your APK,
but there are issues with sounds:
- with v1.4 sounds... they are extremely loud (clipping) and are cut off (don't play until end, as far as I can say) and low quality (might be related to loudness/clipping)
- with v1.0 sounds... volume is OK, but they are also cut prematurely
For example:
- button click sound
- heavy plasma fire sound
- soldier death sound
- and so on...
Any idea what could be wrong? Are you getting the same issue?
PS: tested on "Samsung Galaxy Tab 3 10.1" tablet (Android 4.4.2) and "Lenovo Vibe P1 Pro" phone (Android 6.0.1)
PS2: also as SupSuper mentioned above, the game freezes or becomes unresponsive quite a lot after leaving Options dialog. This happens using both your latest published APK and my newest APK.
https://openxcom.org/forum/index.php/topic,2428.msg51749.html#msg51749 But this is not such a big issue. The sounds issue however makes the game almost unplayable, so I'd love to know how to fix or avoid it.
EDIT:OK, so I downgraded to commit 7c1ee9c (not a8e05cf) and this one doesn't have the sound issue.
For anyone who would like to try themselves, I used also different build tool versions:
- Android SDK Build-Tools 21.1.2
- Android SDK Platform 22
- Android NDK n10e
- Gradle 2.2.1
Now to try to integrate with OXCE+
Unfortunately the recommended way -- merge OXCE+ into sdl2 branch -- is not possible... the whole source is just one big merge conflict by now.
I'll try to merge sdl2 branch into OXCE+ instead; or redo the whole stuff from scratch.