<p>external/Makefile has some hard-coded paths to tools under /opt, causing a build to fail if these paths don't exist. Similar for assumed API v9, when the current as of this writing is v10.</p>

<p>These tool paths and version expectations are not mentioned in the top-level README.md</p>

<h1>Android NDK setup</h1>

<p>SDK_BASE ?= /opt/android-sdk<br>
NDK_BASE ?=  /opt/android-ndk<br>
NDK_PLATFORM_LEVEL ?= 9<br>
SDK_PLATFORM_LEVEL ?= 9<br>
NDK_SYSROOT=$(NDK_BASE)/platforms/android-$(NDK_PLATFORM_LEVEL)/arch-arm<br>
SDK_PLATFORM=$(SDK_BASE)/platforms/android-$(SDK_PLATFORM_LEVEL)/<br>
NDK_UNAME := $(shell uname -s | tr '[A-Z]' '[a-z]')<br>
NDK_TOOLCHAIN=$(NDK_BASE)/toolchains/arm-linux-androideabi-4.4.3/prebuilt/$(NDK_UNAME)-x86</p>

<p>Likewise, similar hard-coded paths in these files too:<br>
external/olsrd/make/Makefile.android<br>
external/shell-fork/Makefile.android</p>

<p>(Was issue 458 on code.commotionwireless.net)</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href='https://github.com/opentechinstitute/commotion-android/issues/21'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/HSS0tS4nfORw_XnPQF8f0WEmWq8sA03RreY-44M2TmWwtVr5cQ6Y8mBB7giyvIL7.gif' height='1' width='1'></p>