@Override
  public Object executeScript(JSONArray args) {
    Class rClazz;
    try {
      rClazz = serverInstrumentation.getInstrumentation().getTargetContext().getClassLoader().loadClass(
          serverInstrumentation.getInstrumentation().getTargetContext().getPackageName() +".R$id"
      );
    } catch (ClassNotFoundException e) {
      SelendroidLogger.error("Cannot find id", e);
      return "";
    }
    String using = null;
    try {
      using = args.getString(0);
    } catch (JSONException e) {
      e.printStackTrace();
    }
    for (Field field : rClazz.getFields()) {
      if (field.getName().equalsIgnoreCase(using)) {
        try {
          return field.getInt(null);
        } catch (IllegalAccessException e) {
          e.printStackTrace();
        }
      }
    }
    return "";
  }
@deprecated Please use new implemented extension mechanism
@see <a href="https://github.com/selendroid/selendroid-extension">extension mechanism Docu</a>
selendroid-server/src/main/java/io/selendroid/server/model/internal/execute_native/FindRId.java