Go Errors running builder ' Android Resource manag in Robotium Environment building

Source: Internet
Author: User
Tags android sdk manager

Transferred from: http://blog.sina.com.cn/s/blog_68f262210102v75t.html

Recently learned the Robotium test framework, of course, before learning any framework or language, the first step is to build the environment. But in the process of setting up the environment, I encountered a problem: After creating an Android test Project, a dialog box will pop up to report the error on the face:Errors running builder ' Android Resource Manager ' On Project XXX



Then on the Internet to find a variety of methods, there are several methods on the Internet, summarized:

1, SVN's problem

(1) Open properties of project in Eclipse then Resources, Resource filters.

(2) Click the "Add ..." button, Check "Exclude All", "Files and Folders", "All children". In the Text entry box input ". SVN" (without quotes).
(3) Restart Eclipse. (Restart Eclipse)

2,android Library Update issues
(1) Select your project, build path---Configure build path----' order and export ' tab, OK ' Android Private Libraries ' is selected
(2) Help--Check for updates. Install any updates
(3) Restart Eclipse

3, Port issues

Pea pods and mobile phone assistants will occupy ADB's default port 5037, you can use the Netstat-nao command to see your 5037 port corresponding to the process, the end, and then run just fine. Sometimes 360 will.

4,work Space problem

If there is a problem with workspace, delete the. metadata file, re-import the project, or switch to a new workspace.

5, JDK problem

Some netizens say it is the JDK problem, the JDK removed, reinstall, and then restart the Eclipse problem solved.

I tried the method above, and none of the results worked. So I looked at the code structure of my project and found that there was no corresponding library file. This should not ah, how to say this is also dependent on the Android test, the basic library or to have. So I looked at the properties of my project, I found that the Android item is not clickable, a click on the prompt error!



When I click on another option, and then click Here, the Android 4.4W under Project Bulid target is not selected, I click Select, and then click the OK button, and the Eclipse report does not have a project.properties file error. (My performance is, click OK, no error.) But there is no difference between checking and ticking. This can be resolved by the following. )



Now that you have a specific problem, find a way to solve the problem online:

1. Create a project.properties file in the project folder.

2, enter the content "Target=android-xxx", this android-xxx to see how much your Android SDK manager shows. For example, mine is 20.



3. After saving the file, restart Eclipse. The Android Default library can now be displayed in the project.



4, you can create the corresponding JUnit file, do the following, and will not be reported "Errors running builder ' Android Resource Manager ' on project XXX" error It's a mistake!

Go Errors running builder ' Android Resource manag in Robotium Environment building

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.