I have downloaded this GitHub source code and have extracted it and imported into eclipse using "Import existing Android code".
However when I open the code, one priject has a Red Exclaimation Mark error
on it, and the other "test" project contains code that gives a general error of "Cannot be resolved to a variable".
Note: I cannot show a screen shot as I do not have a high enough reputation.
I am getting the error on any code with:
org.openintents.distribution
E.g:
@Smoke
public void test000Eula() {
String accept = getAppString(org.openintents.distribution.R.string.oi_distribution_eula_accept);
String cancel = getAppString(org.openintents.distribution.R.string.oi_distribution_eula_refuse);
boolean existsAccept = solo.searchButton(accept);
boolean existsCancel = solo.searchButton(cancel);
if (existsAccept && existsCancel) {
solo.clickOnButton(accept);
}
}
How can I solve both the red exclamation mark ad the "cannot be resolved error?" Any help would be great as I am very new to Android!