Monthly Archives

2 Articles


Android adbをWi-Fi接続

Posted by dowell on


$ adb shell ipconfig
* daemon not running; starting now at tcp:5037
* daemon started successfully
/system/bin/sh: ipconfig: not found
RC211v-mbp:~ yuta$ adb shell ifconfig
lo        Link encap:UNSPEC  
          inet addr:  Mask: 
          inet6 addr: ::1/128 Scope: Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:1235 errors:0 dropped:0 overruns:0 frame:0 
          TX packets:1235 errors:0 dropped:0 overruns:0 carrier:0 
          collisions:0 txqueuelen:0 
          RX bytes:111363 TX bytes:111363 

wlan0     Link encap:UNSPEC  
          inet addr:  Bcast:  Mask: 

tcpip <任意のポート>

$ adb tcpip 12345
restarting in TCP mode port: 12345

connect <上記の任意のポート>

$ adb connect
connected to


$ adb devices
List of devices attached  device
P3P7N17500000000    device


cordova-iconコマンドで”throw er; // Unhandled ‘error’ event”

Posted by dowell on


yuta$ cordova-icon --config=config.xml --icon=www/icon.png 

Checking Project & Icon

✓ platforms found: android
✓ www/icon.png exists
✓ config.xml exists

Generating Icons for android

throw er; // Unhandled 'error' event

Error: spawn convert ENOENT
at exports._errnoException (util.js:1022:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
at onErrorNT (internal/child_process.js:359:16)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)

image Magickインストールするの忘れてた。。

brew install imagemagick