I was wondering if I need to build the Android source for an application that I am developing. I need to develop an application to control a device using the I2C driver in the Kernel. Can I do this simply using the SDK and NDK? Should I instead use the SDK and NDK from my Android build?
I noticed The SDK does not have a tools directory, and when I try to run ndk/ndk-build I get the following errors.
/ndk/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc: Command not found
/ndk/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-g++: Command not found.
Naturally there are two specific Android sites: source.android.com
and developer.android.com
and I understand the guides provided in these. There doesn't appear to be anything that advises what to do with your build or why you would build the source rather than using the downloaded SDK.