BuildLinux
Building Amdroid-h Under Linux
With Eclipse:
TODO
Without Eclipse:
- Get the latest android-sdk (As of writing 2.0.1).
- Get the java jre and jdk (NOT openjdk or anything similar). See http://developer.android.com/sdk/installing.html for more details.
- Get ant (apache-ant). Its the build tool.
- Add the tools directory (android-sdk), java/bin director (java), and apache-ant/bin directory to your path
- Open up a terminal and browse the the amdroid-h folder with the build.xml file in it
- Run ‘android up date sdk’ and then ‘android update adb’ just in case there are some things missing (you have to make sure your android-sdk directory is user editable for this to work properly, i.e. chown)
- Run ‘ant debug’ and this should build amdroid-h. Google is probably your best friend if you see any errors.
- Run ‘adb start-server’ (make sure you have enough privileges for this, i.e. sudo)
- Run ‘adb install -r bin/amdroid-debug.apk’ (if you have the official version of amdroid installed, you must uninstall it first) [the -r is for reinstall, doesn’t hurt anything]

