def generate_android_map_command(args_list):
    """
    Takes a list of executable args and returns a the android map command to use with the autoexec.cfg file

    :param args_list: list representing args to execute with the current game executable.
    :return: map command to use with android in the autoexec.cfg file
        i.e.: 'map simple_jacklocomotion'
    """
    map_cmd = ''

    for arg in args_list:
        if arg == '+map':
            map_cmd = "{}{}".format('map ', args_list[args_list.index(arg) + 1])

    return map_cmd