building android
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, LCMark
Re: building android
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
ok
Your message contains 2 characters. The minimum number of characters you need to enter is 10.
Your message contains 2 characters. The minimum number of characters you need to enter is 10.
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/
Re: building android
any idea where to download older versions... can't see any link on the ndk page...
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/
Re: building android
The links are in the Readme.md file at the root of the repository (https://github.com/runrev/livecode/blob ... /README.md).
In this case you need http://dl.google.com/android/ndk/androi ... 86.tar.bz2
In this case you need http://dl.google.com/android/ndk/androi ... 86.tar.bz2
Re: building android
Sorry.. I'd missed that
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/
Re: building android
Builds fine with that version
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/
Re: building android
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.
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.
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/