code: public View getView(int id, int index){
  		if(config.commandLogging){
  			Log.d(config.commandLoggingTag, "getView("+id+", "+index+")");
  		}
  		
  		View viewToReturn = getter.getView(id, index);
  		if(viewToReturn == null) {
  			String resourceName = "";
  			try {
  				resourceName = instrumentation.getTargetContext().getResources().getResourceEntryName(id);
  			} catch (Exception e) {
  				Log.d(config.commandLoggingTag, "unable to get resource entry name for ("+id+")");
  			}
  
  			int match = index + 1;
  			if(match > 1){
  				Assert.fail(match + " Views with id: '" + id + "', resource name: '" + resourceName + "' are not found!");
  			}
  			else {
  				Assert.fail("View with id: '" + id + "', resource name: '" + resourceName + "' is not found!");
  			}
  		}
  		return viewToReturn;
  	}
docs: Returns a View matching the specified resource id and index.
  
  @param id the R.id of the {@link View} to return
  @param index the index of the {@link View}. {@code 0} if only one is available
  @return a {@link View} matching the specified id and index