のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

2012-03-29から1日間の記事一覧

ndk-gdbのエラーと治し方

★エラー1 cp: `./libs/armeabi-v7a/gdb.setup' を stat できません: No such file or directory jni/obj/local/armeabi-v7a/gdb.setup:4: Error in sourced command file: Remote communication error: Bad file descriptor. 上のコピーがうまくいかないと…

echo

$GDBCLIENT -x `native_path $GDBSETUP` ECHO[/android-ndk-r7b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/bin/arm-linux-androideabi-gdb -x obj/local/armeabi-v7a/gdb.setup] gdb -x obj/local/armeabi-v7a/gdb.setup

warning: shared library handler failed to enable breakpoint

warning: Unable to find dynamic linker breakpoint function. GDB will be unable to debug shared library initializers and track explicitly loaded dynamic code. warning: shared library handler failed to enable breakpoint

ndk-gdb Strip --strip-unneeded

Install : libLsEngine.so => libs/armeabi-v7a/libMyLib.so mkdir -p app/libs/armeabi-v7a install -p app/obj/local/armeabi-v7a/libMyLib.so app/libs/armeabi-v7a/libMyLib.so arm-linux-androideabi-strip --strip-unneeded app/libs/armeabi-v7a/libM…

android.content.ActivityNotFoundException: Unable to find explicit activity class

Activityの名前が間違えていたので、Manifestファイルを修正した。 android.content.ActivityNotFoundException: Unable to find explicit activity class {jp.co.app/jp.co.app.view.preferences}; have you declared this activity in your AndroidManifes…