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