title: android: Problem Installing app to Emulator
body: <p>I want to install busybox to my emulator. I followed the following steps :
  Start emulator from dos prompt
  1) emulator –avd youravdname –partition-size 128</p>
  
  <p>2) Copy file to /data/local
  cat busybox > /data/local/busybox  OR
  adb push busybox /data/local/busybox</p>
  
  <p>3) STart shesll
  adb shell</p>
  
  <p>3) Mount as RW
  su -c mount -o remount,rw /dev/block/mtdblock0 /system</p>
  
  <p>4) Copy file to system 
  cat /data/local/busybox > /system/xbin/busybox</p>
  
  <p>5) Install busybox
  cd /system/xbin
  busybox --install .</p>
  
  <p>Till step 4 all works perfectly fine. At Step 5, I get "No such fiel or directory" for each file that had to be installed. Like :</p>
  
  <pre><code># busybox --install .
  busybox --install .
  busybox: /data/busybox/[: No such file or directory
  busybox: /data/busybox/[[: No such file or directory
  busybox: /data/busybox/addgroup: No such file or directory
  busybox: /data/busybox/adduser: No such file or directory
  busybox: /data/busybox/adjtimex: No such file or directory
  busybox: /data/busybox/ar: No such file or directory
  busybox: /data/busybox/arp: No such file or directory
  busybox: /data/busybox/arping: No such file or directory
  </code></pre>
  
  <p>List goes on till file "zcip". I tried to install in /data/busybox folder also. There also I get the same. If I create a folder /busybox and the ntry to install, then I ger "Invalid device cross-link ..." for each file. </p>
  
  <p>Can anyone help me know why is htis error and how to solve it. I got to have busybox installed. After doing lots of research I found the above steps that helped me gain some success till coping to /xbin. Now installing is the issue.</p>
  
  <p>Any help is highly appreciated.</p>