2016-10-18, 01:15
Once I found out I could build on Ubuntu (actually, a docker image thereof), I gave up on Mac and put some energy into making a Dockerfile for specifying a reproducible build environment. It's just so boring diagnosing these stupid "works on my machine" issues. It doesn't help with the Mac issue, but it's a pretty good workaround.
Here it is: https://github.com/phillipao/kodi-for-an...Dockerfile.
It's really just the package dependencies and the Android NDK and SDK. I had to add a couple packages to the list from README.android, because these base docker images are super minimal (it was missing file (the command), which caused make-custom-toolchain.sh to fail in hilarious awful ways). And I made some changes to reduce the size of the SDK and NDK on disk. But it's still big, coming in at 5GiB+. But...it works
Here it is: https://github.com/phillipao/kodi-for-an...Dockerfile.
It's really just the package dependencies and the Android NDK and SDK. I had to add a couple packages to the list from README.android, because these base docker images are super minimal (it was missing file (the command), which caused make-custom-toolchain.sh to fail in hilarious awful ways). And I made some changes to reduce the size of the SDK and NDK on disk. But it's still big, coming in at 5GiB+. But...it works