building android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, LCMark

LCMark
Livecode Staff Member
Livecode Staff Member
Posts: 1207
Joined: Thu Apr 11, 2013 11:27 am

Re: building android

Post by LCMark » Thu Jun 13, 2013 9:35 am

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.

monte
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1564
Joined: Fri Jan 13, 2012 1:47 am
Contact:

Re: building android

Post by monte » Thu Jun 13, 2013 9:36 am

ok

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/

monte
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1564
Joined: Fri Jan 13, 2012 1:47 am
Contact:

Re: building android

Post by monte » Thu Jun 13, 2013 11:04 am

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/

LCMark
Livecode Staff Member
Livecode Staff Member
Posts: 1207
Joined: Thu Apr 11, 2013 11:27 am

Re: building android

Post by LCMark » Thu Jun 13, 2013 11:09 am

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

monte
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1564
Joined: Fri Jan 13, 2012 1:47 am
Contact:

Re: building android

Post by monte » Thu Jun 13, 2013 11:19 am

Sorry.. I'd missed that
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

monte
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1564
Joined: Fri Jan 13, 2012 1:47 am
Contact:

Re: building android

Post by monte » Thu Jun 13, 2013 1:40 pm

Builds fine with that version
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

monte
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1564
Joined: Fri Jan 13, 2012 1:47 am
Contact:

Re: building android

Post by monte » Sat Jun 15, 2013 2:24 am

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.
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

Locked

Return to “Engine Contributors”