docs: def check_target_api(api, arch):
      """Warn if the user's target API is less than the current minimum
      recommendation
      """
  
      if api >= ARMEABI_MAX_TARGET_API and arch == 'armeabi':
          raise BuildInterruptingException(
              'Asked to build for armeabi architecture with API '
              '{}, but API {} or greater does not support armeabi'.format(
                  api, ARMEABI_MAX_TARGET_API),
              instructions='You probably want to build with --arch=armeabi-v7a instead')
  
      if api < MIN_TARGET_API:
          warning('Target API {} < {}'.format(api, MIN_TARGET_API))
          warning(OLD_API_MESSAGE)