WAC launches the Android emulator transfer error:read-only file system error Resolution _android

Source: Internet
Author: User

These two days when the widget was developed with the WAC SDK, Eclipse's Consle encountered the following error while starting the Android emulator:

Copy Code code as follows:

[2011-11-27 22:08:49-ddms]transfer error:read-only File system


Then the widget cannot be installed and executed! In reference to the official forum on the same issue after a post, there is no real solution (mainly the landlord is not honest, resolved also do not explain how to solve). In addition, according to the administrator's prompt, found that can not solve the problem, the corresponding two posts address the following:

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

Administrator's Documentation: Http://www.wacapps.net/web/wac/wiki/-/wiki/Developer%20Guide/Install+WAC+Integrated+SDK

In the end, it was solved by myself, because I used Win7, the default Launch SDK Eclipse is not administrator rights, resulting in an error. The solution is:

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

2, in the SDK Eclipse.exe on the right to select "Run as Administrator", and then start the SDK and then run the widget;

It should be noted that this is a win7 solution, I was directly using the WAC SDK for the installation test.

If you still can't, you can refer to the following method:

Then the widget cannot be installed and executed! In reference to the official forum on the same issue after a post, there is no real solution (mainly the landlord is not honest, resolved also do not explain how to solve).

In the end, it was solved by myself, because I used Win7, the default Launch SDK Eclipse is not administrator rights, resulting in an error.

The solution is:

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

2, in the SDK Eclipse.exe on the right to select "Run as Administrator", and then start the SDK and then run the widget;

It should be noted that this is a win7 solution, I was directly using the WAC SDK for the installation test.

Summary of other differences

1. The Project has no target set appears. Edit the project properties to set one. of errors
Eclipse Import Step:
1. file.../import.../general/existing Projects into Workspace
2. Click the browse button, select the directory of items to be imported, click Finish
3. If the Project has no target set appears. Edit the project properties to set one. Error, you need to select the Android version of project build target in the project's properties
4. The folder will automatically append a Gen's small directory, which is automatically generated R.java files, if the file has been imported R.java, it will be an error, as long as the original R.java file deleted.

If you are prompted about Androidmanifest.xml errors, check this item and right-click on the Android Tools->fix project, which will automatically fix your error
Miss.

2. Could not find *.apk

1 Select the project Properties->java build path->libraries, remove the default Android package;

2 Click on the Android tab on the left and choose Android 2.0 in project build target on the right.

3 Right click Project, choose Android Tools->fix Project Properties.

It may also be a problem with the JDK version, and after the JDK version, restart eclipse


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

caused by no normal shutdown, delete android-sdk-windows/.android/avd/for version/Bottom folder with. Lock

4. Qemu:could not open disk image e:/android/sdcard.img

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.