Skip to main content

Thread: Can't get the "adb push" command to work


i trying develop simple pygame ubuntu linux 11.10 motorola android phone. having trouble getting "adb push" command work. "failed copy 'foo.txt' '/media/mot': no such file or directory" error message. doing wrong?

here tried far:

phone's sd card mounted @ /media/mot/ , able ls, create folder , delete folder in it.

code:
user@linuxlappy:~$  user@linuxlappy:~$ cd /media/mot/ user@linuxlappy:/media/mot$ ls android  burstlyimagecache  burstlyvideocache  data  dcim  download  gstomperdemo  lost.dir  slacker  temp.apk user@linuxlappy:/media/mot$ mkdir writetest user@linuxlappy:/media/mot$ rmdir writetest/
the file trying copy foo.txt in /home/user/ directory

code:
user@linuxlappy:/media/mot$ cd /home/user/ user@linuxlappy:~$ ls foo.* foo.txt  foo.txt~

enabled usb debugging on phone with:
code:
settings > applications > development > usb debugging.
i believe have adb installed correctly, able list phone adb devices.

code:
user@linuxlappy:~$ adb devices list of devices attached  0910e8201700b017	device
when try push simple text file sd card error message.

code:
user@linuxlappy:~$ adb push foo.txt /media/mot failed copy 'foo.txt' '/media/mot': no such file or directory user@linuxlappy:~$



Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk Can't get the "adb push" command to work


Ubuntu

Comments

Popular posts from this blog

How to set the order of FAQs instead of alphabetical

Thread: Get UK Keyboard working

how do I change the e-mail address for my merchant account