Getting toolchain components to hold hands.
Under OS X getting Qt Creator to cross compile to Android requires a number of steps to install the necessary tools.
- The required Android SDK and Android NDK can be installed together via Hombrew by installing NDK first and since it has the SDK as a dependency this also gets installed automagically:
http://brewformulas.org/AndroidNdk
brew install android-ndk
Both can now be found in
/usr/local/opt/
After installing these tools, update the Android SDK to get the API and tools packages required for development. You can update the SDK using the android tool that comes with the SDK Tools package:
./android update sdk - Next on the list is the Apache Ant Java library and command-line tool that help building software:
http://brewformulas.org/Ant
brew install ant
Ant can now be found in
/usr/local/opt/ - Unfortunately the Java formula is an external dependency which means that Homebrew will not install it.
http://www.oracle.com/technetwork/java/javase/overview/index.html - Complete the necessary Android Configurations:
Preferences... ⌘
No comments:
Post a Comment