code: def _android_update_sdk(self, *sdkmanager_commands):
          
          auto_accept_license = self.buildozer.config.getbooldefault(
              'app', 'android.accept_sdk_license', False)
  
          if auto_accept_license:
              # `SIGPIPE` is not being reported somehow, but `EPIPE` is.
              # This leads to a stderr "Broken pipe" message which is harmless,
              # but doesn't look good on terminal, hence redirecting to /dev/null
              yes_command = 'yes 2>/dev/null'
              command = '{} | {} --licenses'.format(
                  yes_command, self.sdkmanager_path)
              self.buildozer.cmd(command, cwd=self.android_sdk_dir)
          self._sdkmanager(*sdkmanager_commands)
docs: Update the tools and package-tools if possible