Page 2 of 2
Re: building android
Posted: Thu Jun 13, 2013 9:35 am
by LCMark
Ah - use r6b and all should be well. I suspect they've tweaked the way the stdc++ library is used - in the first few versions of the ndk it didn't work, then they made it work around r5c but it was a little broken so you had to link/include to the paths directly.
Re: building android
Posted: Thu Jun 13, 2013 9:36 am
by monte
ok
Your message contains 2 characters. The minimum number of characters you need to enter is 10.
Re: building android
Posted: Thu Jun 13, 2013 11:04 am
by monte
any idea where to download older versions... can't see any link on the ndk page...
Re: building android
Posted: Thu Jun 13, 2013 11:09 am
by LCMark
Re: building android
Posted: Thu Jun 13, 2013 11:19 am
by monte
Sorry.. I'd missed that
Re: building android
Posted: Thu Jun 13, 2013 1:40 pm
by monte
Builds fine with that version
Re: building android
Posted: Sat Jun 15, 2013 2:24 am
by monte
very excited to have just tested mergJSON on android... it now covers all the LC platforms
I've created a build-extension-androd.sh in the tools folder which takes a path to the external folder and a name for the external as parameters, builds then adds the external to the lcext file. Unfortunately I couldn't work out how to export an environment variable from Android.mk so in order to make the shell script generic I had to add the external name parameter... anyway... it seems to work... and I think could be run from a build rule in Xcode. The main issue is unlike iOS externals it relies on having a working livecode repo with ndk in the right spot etc... anyway, happy to send a pull request if you want it.