giga Well-Known Member Licensed User Longtime User Oct 10, 2012 #1 I am using the AVD when I try to copy files from mnt/sdcard it returns error READ-ONLY file system (30). :BangHead: Does the phone have to rooted just to copy? Does anyone know how to get past this problem?? Thanks in advance.
I am using the AVD when I try to copy files from mnt/sdcard it returns error READ-ONLY file system (30). :BangHead: Does the phone have to rooted just to copy? Does anyone know how to get past this problem?? Thanks in advance.
Informatix Expert Licensed User Longtime User Oct 10, 2012 #2 giga said: I am using the AVD when I try to copy files from mnt/sdcard it returns error READ-ONLY file system (30). :BangHead: Does the phone have to rooted just to copy? Does anyone know how to get past this problem?? Thanks in advance. Click to expand... Did you run your application in Release mode ? In this mode, you need to add a permission to write on the external storage media. Upvote 0
giga said: I am using the AVD when I try to copy files from mnt/sdcard it returns error READ-ONLY file system (30). :BangHead: Does the phone have to rooted just to copy? Does anyone know how to get past this problem?? Thanks in advance. Click to expand... Did you run your application in Release mode ? In this mode, you need to add a permission to write on the external storage media.
JonPM Well-Known Member Licensed User Longtime User Oct 11, 2012 #3 How did you set up your AVD? Upvote 0
giga Well-Known Member Licensed User Longtime User Oct 11, 2012 #4 JonPM said: How did you set up your AVD? Click to expand... I am using a Windows 7 PC. The AVD Devices are located under C:\Users\PC\.android\avd. The AVD name is test, Target name is Android 4.1, Platform is 4.1, API Level is 16, CPU/ABI is ARM(armeabi-v7a) I have a 64MB SD Card in my flash card slot that I am using as H:\ drive for the emulator example ( H:\SDCARD\sdcard_dev.iso Hopefully this answers you question.:sign0188: Upvote 0
JonPM said: How did you set up your AVD? Click to expand... I am using a Windows 7 PC. The AVD Devices are located under C:\Users\PC\.android\avd. The AVD name is test, Target name is Android 4.1, Platform is 4.1, API Level is 16, CPU/ABI is ARM(armeabi-v7a) I have a 64MB SD Card in my flash card slot that I am using as H:\ drive for the emulator example ( H:\SDCARD\sdcard_dev.iso Hopefully this answers you question.:sign0188:
giga Well-Known Member Licensed User Longtime User Oct 11, 2012 #5 Informatix said: Did you run your application in Release mode ? In this mode, you need to add a permission to write on the external storage media. Click to expand... I tried it in Release Mode and Debug, Same issue. Using DDMS.bat to view the file system shows mnt directory as drwxrwxr-x and sdcard directory as d---rwxr-x Maybe this can help, I also added <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> to the manifest. Upvote 0
Informatix said: Did you run your application in Release mode ? In this mode, you need to add a permission to write on the external storage media. Click to expand... I tried it in Release Mode and Debug, Same issue. Using DDMS.bat to view the file system shows mnt directory as drwxrwxr-x and sdcard directory as d---rwxr-x Maybe this can help, I also added <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> to the manifest.
Erel B4X founder Staff member Licensed User Longtime User Oct 11, 2012 #6 How are you trying to copy to the sd card? Upvote 0
giga Well-Known Member Licensed User Longtime User Oct 11, 2012 #7 Erel said: How are you trying to copy to the sd card? Click to expand... I tried using busybox in the AVD with the copy command cp mnt/sdcard to 192.168.0.1/backup. and I get "mnt/sdcard/" Read-Only File System(30) I have no problem in the AVD writing to the sdcard its copying from the sdcard. Thanks for the help again. Upvote 0
Erel said: How are you trying to copy to the sd card? Click to expand... I tried using busybox in the AVD with the copy command cp mnt/sdcard to 192.168.0.1/backup. and I get "mnt/sdcard/" Read-Only File System(30) I have no problem in the AVD writing to the sdcard its copying from the sdcard. Thanks for the help again.