I am getting an error of "attribute value must be constant" although the variable is final.
protected final String APP_PACKAGE = abstractPlatform.getPropertiesReader().getPackageName();
@AndroidFindBy(id = APP_PACKAGE +":id/btnSignUp")
private MobileElement signUpTab;
if I initialize APP_PACKAGE with a regular String then I am not getting this error. for example: APP_PACKAGE = "com.company.aa"; APP_PACKAGE is final as you can see so why i am getting this error? Anything i miss?
thanks