のねのBlog

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

2013-03-08から1日間の記事一覧

b2g(FirefoxOS) run_gdb.sh attach pid の実行

$ adb shell b2g-ps * daemon not running. starting it now on port 5037 * * daemon started successfully * APPLICATION USER PID PPID VSIZE RSS WCHAN PC NAME b2g root 1472 1 226084 100056 ffffffff 40044140 S /system/b2g/b2g Usage app_1591 1591…

(FirefoxOS)b2g run-gdb.sh

B2G/run-gdb.sh B2G GitHub #!/bin/bash SCRIPT_NAME=$(basename $0) basename ファイル名からディレクトリや末尾の文字列を削除したものを返す . load-config.sh #!/bin/bash if [[ ! -n "$B2G_DIR" ]]; then B2G_DIR=$(cd `dirname $0`; pwd) fi . "$B2G_D…

b2g(FirefoxOS) emulator ネットに繋がらない

adb shell setprop net.dns1 10.0.2.3 こちらでもつながる。 adb shell setprop net.dns1 8.8.8.8 adb shell setprop net.dns1 10.0.2.3

b2g(FirefoxOS) emulator getprop

$ adb -e shell root@android:/ # ll drwxr-xr-x root root 2013-03-08 15:34 acct drwxrwx--- system cache 2013-03-08 15:34 cache dr-x------ root root 2013-03-08 15:34 config lrwxrwxrwx root root 2013-03-08 15:34 d -> /sys/kernel/debug drwxrwx-…

b2g(FirefoxOS) emulatorの起動時のlogcat

起動時のlogcat

b2g(FirefoxOS) emulator: can't connect to ADB server: Connection refused

emulator: can't connect to ADB server: Connection refused adbのサーバーを再起動してから、起動する。 $adb kill-server $adb start-server $./run-emulator.sh

b2g(FirefoxOS) arm emulator.sh 起動時のterminalのログ

$ ./run-emulator.sh emulator: autoconfig: -system /home/B2G/out/target/product/generic//system.img emulator: autoconfig: -ramdisk /home/B2G/out/target/product/generic//ramdisk.img emulator: autoconfig: -datadir /home/B2G/out/target/product…

b2g(FirefoxOS)のemulator.sh

B2G/run-emulator.sh GitHub #!/bin/bash # Get full path from where the script was executed, full path is needed to run emulator succesfully B2G_HOME=$(cd $(dirname $BASH_SOURCE); pwd) . $B2G_HOME/load-config.sh DEVICE=${DEVICE:-generic} TOO…

b2g(FirefoxOS) arm emulator起動せず

B2G_emuのフォルダでコマンドを入力しているのに、B2G_genのフォルダのoutを実行しようとしている。 ~/B2G_emu/B2G$ ./run-emulator.sh Creating sdcard image file with size: 512M ... emulator: found Android build root: /home/B2G_gen emulator: found…

b2g(FirefoxOS) カスタマイズビルド

公式のカスタマイズ用ファイル(.userconfig)は、以下のとおりです。 GECKO_PATH=/home/work/B2G-profiler/mozilla-inbound echo "GECKO_PATH = ${GECKO_PATH}" export B2G_DEBUG=1 echo "B2G_DEBUG = ${B2G_DEBUG}" GECKO_OBJDIR=${GECKO_PATH}/objdir-gon…