Jump to content
Hf Python: Chapter 8 Issue
5 replies to this topic
Posted 04 March 2011 - 08:30 PM
When trying to transfer my 'mydroidtest.py' script to the android emulator I get the following error.
failed to copy 'mydroidtest.py' to '\sdcard\sl4a\scripts': Read only file system.
I have not changed any files to read only. I noticed that the sdk is a little different from when this book was made. The 'adb' is not in 'tools' it is in 'platform-tools'.
Any help would be appreciated. Thanks in advanced.
Posted 05 March 2011 - 10:10 AM
Can you tell us what platform you are running on: Windows, Linux, Mac OS X?
Posted 05 March 2011 - 12:17 PM
Put your slashes this way, /, not like this: \.
So it should be '/sdcard/scripts/sl4a' - Android is a Linux system, so it uses the slash in the non-Windows way.
Posted 05 March 2011 - 07:54 PM
Worked like a charm. Now I feel stupid for just assuming that since i was on windows that the slashes should be windows style lol.
Ps. Loving the book. I hate reading but I had fun with Head First Programming and still having fun with Head First Python. Oh and btw do you have to have a Mac to develop for the iPhone?
Posted 06 March 2011 - 02:58 AM
Have fun. :-)
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users