def METHOD_NAME(func):
    """
    Skip run of the function in case that we are running the app form android.
    .. note:: this is useful for some kind of tests that are supposed to be run
              from an android device and relies on `pyjnius`.
    """
    def wrapper(*arg, **kwarg):
        if RUNNING_ON_ANDROID:
            return func(*arg, **kwarg)
        raise_error(
            'Function `{func_name}` only available for android devices'.format(
                func_name=func.__name__,
            ),
        )
        return None
    return wrapper