Some googling found a few other folks have had missing platforms over the years. This turned up in my search results and I'm wondering if it indicates I should be (and perhaps the docs should suggest) making the toolchain with android-9
Thanks @LCFraser... For some reason the symlinks aren't in my sdk either so I had to symlink android-10 to android-9 in the sdks to get it to build also... all a bit odd. I'm getting there with the build now but I get lots of these errors:
/Users/montegoulding/livecode/build-android-armv6/livecode/../../libcore/src/core.cpp:187: multiple definition of `__MCLog(char const*, unsigned int, char const*, ...)'
out/Debug/obj.target/libfoundation/libFoundation.a(foundation-debug.o):/Users/montegoulding/livecode/build-android-armv6/livecode/../../libfoundation/src/foundation-debug.cpp:192: first defined here
clang35: error: linker command failed with exit code 1 (use -v to see invocation)
And.. yep, libcore and libfoundation do appear to have matching definitions of __MCLog. Is android not meant to have one of these?
I'm thinking I'm hitting these errors because the gyp files have been schmoozed to build android on linux and some of the OS == or != linux should also check to see if it's an android build on mac.
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/
OK... so I worked out that the bug is only for debug builds. So.. setting MODE to release and it's building. Someone should look at the conflicting definitions of __MCLog etc though. Seems very odd they would be in two places.
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/
Thread necromancy at its finest, but I thought I should explain why Android is including the Linux settings!
Mainly, we want the toolchain to be as Linux-like as possible. The Mac settings as they are are only really suitable for building with Xcode but, when doing the Android build, all the host tools are built using Make. Gyp unfortunately contributes to the problem here - unless you force it to do otherwise, it'll generate OSX-style makefiles for the Android portion of the build, which (unsurprisingly) upsets the Android toolchain.