WAC starts Android simulator transfer error: read only file system error resolution

In the past two days, when developing widgets with WAC SDK, the following errors occurred in eclipse consle when starting the Android simulator:

Then the widget cannot be installed and executed! After referring to a post of the same problem on the official forum, there is no substantive solution (mainly because the landlord is unkind and does not explain how to solve it). Finally, I tried to solve it myself, because I used win7. By default, I started eclipse in the SDK without administrator permission, resulting in the above error.

The solution is:

1. Open the directory where the AVD is located (the default is C: users, your name. Android), and remove the read-only attribute of the. Android directory and its subdirectories;

2. Right click eclipse.exe of the SDK and select "run as administrator", then start the SDK and run the widget;

It should be noted that this is the solution under win7. I directly use the WAC SDK for installation and testing.

Summary of other differences

1. The error "project has no target set. Edit the project properties to set one." appears. Eclipse import steps: 1. File... / import... / general / existing projects into workspace 2. Click browse, select the directory of the project to be imported, and click finish 3. If the error "project has no target set. Edit the project properties to set one." appears, You need to select the Android version 4 of project build target in the properties of the project. A small directory of Gen will be automatically added in the folder, which is the automatically generated r.java file. If there is r.java in the imported file, an error will be reported. At this time, just delete the original r.java file.

If you are prompted about the error of androidmanifest.xml, please select this item and right-click Android tools - > fix project to automatically help you fix the error.

2. Could not find *.apk

1) Select properties - > java build path - > libraries of the project and remove the default Android package;

2) Click the Android tab on the left and select Android 2.0 in the project build target on the right;

3) Right click the project and select Android tools - > fix project properties

Sometimes it may be the JDK version. After changing the JDK version, restart eclipse

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

If it is not shut down normally, delete Android SDK windows /. Android / AVD /. For the folder ending in. Lock under version /

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

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>