WAC launches Android emulator transfer error: Read only file system error resolution

  • 2020-05-17 06:31:46
  • OfStack

During the development of Widget with WAC SDK these two days, the following error occurred in Consle of Eclipse when the Android emulator was started:


[2011-11-27 22:08:49 - ddms]transfer error: Read-only file system 


Then Widget could not be installed and executed! After referring to the same problem in the official forum of a post, there is no substantive solution (mainly the building owner is not honest, the solution does not explain how to solve). In addition, according to the prompt from the administrator, the problem cannot be solved. The addresses of the two posts are as follows:

Developer questions: http: / / www wacapps. net/forums / - / message_boards/message / 148022? _19_threadView = combination

Administrator of the document: http: / / www wacapps. net/web/wac wiki / - / wiki Developer % 20 Guide/Install + WAC + Integrated + SDK # 2

Finally, I tried to figure it out by myself, because I used win7, and Eclipse in SDK was not authorized by the administrator by default, resulting in the above error. The solution:

1. Open the directory where AVD is located (the default is C:\Users\ your name \.android) and remove the read-only property of.android directory and its subdirectories;

2. Right-click on SDK's Eclipse.exe and select "run as administrator", then launch SDK and run widget again;

It should be noted that this is the solution under win7, and I directly used WAC SDK for installation test.

If not, you can refer to the following methods:

Then Widget could not be installed and executed! After referring to the same problem in the official forum of a post, there is no substantive solution (mainly the building owner is not honest, the solution does not explain how to solve).

Finally, I tried to figure it out by myself, because I used win7, and Eclipse in SDK was not an administrator by default, resulting in the above error.

The solution:

1. Open the directory where AVD lives (the default is C:Users your name.android) and remove the read-only property of the directory.android and its subdirectories;

2. Right-click on SDK's Eclipse.exe and select "run as administrator", then start SDK and run widget again;

It should be noted that this is the solution under win7, and I directly used WAC SDK for installation test.

Summary of other differences

1. There is an error with "Project has no target set Edit the project properties to set one"
Eclipse import steps:
1. File.../Import.../General/Existing Projects into Workspace
2. Click the Browse button to select the directory of the project to be imported, and click Finish
3. If the error "Project has no target set. Edit project properties to set one
4. A small directory of gen will be automatically appended to the folder, which is the R.java file automatically generated. If there is R.java in the imported file, an error will be reported.

If you are prompted with an error about AndroidManifest.xml, select this item and right-click and select Android Tools- > Fix Project will automatically fix your errors
By mistake.

2. Could not find *.apk

1) select project Properties- > Java Build Path- > Libraries, remove the default Android package;

2) click the Android TAB on the left and select Android 2.0 from Project Build Target on the right;

3) right-click on the project and select Android Tools- > Fix Project Properties.

Sometimes it could be the jdk version. After changing the jdk version, restart eclipse


3. emulator: ERROR: the user image is by another emulator. Aborting

No normally closed, to remove android sdk - windows /. android avd/for version/next to. lock folder at the end of the line

4. qemu: could not open disk image E:/Android/sdcard.img


Related articles: