[Android] Android NDK, r4b リリース

| トラックバック(0) |

Android NDK, r4b がリリースされました(2010年7月15日)。

http://developer.android.com/sdk/ndk/index.html

 

CHANGED.TXT によると、

This release fixes a few bugs in r4 scripts. There are no new features.

ということで、

このリリースは、Android NDK, r4 のバクフィックスが目的であり、新しい機能追加は無いようですが、

Android NDK, r4 をお使いの方は、更新された方が良さそうです。

 

以下、CHANGED.TXT の引用です。

 

OTHER FIXES & CHANGES

  • build/tools/rebuild-all-prebuilt.sh: mktemp expects 'XXXXXX' instead of 'XXX'.
    Fix the script (and others in the same directory) to do that properly.
  • ndk-gdb: check the target device's API level, and dump an error message if
    it is not at least 8 (Android 2.2 a.k.a. Froyo). Fix script to properly
    remove control characters like '\r' from adb shell's output. Also fix
    script to work properly with OS X's BSD awk.
  • ndk-build: Make AndroidManifest.xml optional. Now the build scripts will try
    to look for jni/Android.mk if no manifest is found. If you don't use this,
    you can also define NDK_PROJECT_PATH to point to your tree.
    Also, on Windows, check that a Cygwin-compatible make executable is being
    used, and dump a readable help message to solve the issue if this is not
    the case.
  • Place generated binaries under $PROJECT_PATH/obj/ instead of
    $PROJECT_PATH/bin/ndk/. The 'bin' directory is sometimes cleaned
    by the JDT, resulting in the inability to properly load symbol versions
    of the shared libraries when running ndk-gdb.
  • Warn when sources with unsupported extensions are used in LOCAL_SRC_FILES.
    Previous behaviour was to silently ignore them.
  • Set the optimization mode to 'debug' automatically if the manifest sets
    android:debuggable to 'true'. You can override this by using
    'APP_OPTIM := release' in your Application.mk, or by adding '-O2' to
    your LOCAL_CFLAGS.

Note that even in release mode, the NDK build scripts will produce
binaries with symbols under obj/local/<abi>/ that will be used for
debugging with gdb. However, the debugger will have a harder time to
print proper local variable values that have been optimized out or
even set breakpoints properly.

トラックバック(0)

トラックバックURL: http://mt.adakoda.com/mt-tb.cgi/470

Android Advent Calendar 2011

2012年2月

      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29