Artifact [e7a059afe9]
Not logged in

Artifact e7a059afe944265351123979f52fddee1a18d24c:

Wiki page [Building AndroWish] by chw 2014-09-01 05:33:11.
D 2014-09-01T05:33:11.996
L Building\sAndroWish
P 17f5c94d7be3ef370bc58b49e56ec807c11fa217
U chw
W 1413
<h2>Requirements</h2>

  *  <a href="http://developer.android.com/sdk/index.html">Android SDK</a> (version 12 or later)
  *  <a href="http://developer.android.com/tools/sdk/ndk/index.html">Android NDK</a> (r7 or later)
  *  Minimum API level support by SDL is 10 (Android 2.3.3), requested API level from <tt>project.properties</tt> is 14 (Android 4.0)
  *  CPUs supported for native shared libraries are currently <tt>armeabi</tt> and <tt>x86</tt>. This can be changed in <tt>jni/Application.mk</tt>.

<h2>Building and Running AndroWish</h2>

  #  Refresh the project settings using the android command from Android SDK: <tt>android update project</tt>
  #  Review <tt>local.properties</tt> to point to the directory where the Android SDK resides.
  #  Use <tt>ant</tt> to build AndroWish from scratch: <tt>ant debug</tt>. This includes building the C libraries using Android NDK. That step can be performed separately by running <tt>ndk-build</tt> in the <tt>jni</tt> directory or by invoking <tt>ant ndk-build</tt>
  #  The resulting Android APK is built to <tt>bin/AndroWish-debug.apk</tt> which can be installed onto a device or emulator using <tt>adb install -r bin/AndroWish-debug.apk</tt>.
  #  Start AndroWish on device or emulator using <tt>adb</tt> from the development system: <tt>adb shell am start tk.tcl.wish/.AndroWishLauncher</tt>.
  #  Clean the build tree with <tt>ant clean</tt>.
Z eaddf23c3c523aa5a3fb352682ee2a68