找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 402|回复: 1

[求助] 安卓打包下载SDK中一直报错

[复制链接]
发表于 2024-6-11 20:38:43 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?立即注册

×
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/android.rpy", line 503, in <module>
  File "game/mobilebuild.rpy", line 248, in download
  File "game/download.rpy", line 148, in check
Exception: Downloading https://dl.google.com/android/repository/commandlinetools-win-7583922_latest.zip to F:\renpy-8.1.3-sdk\rapt\commandlinetools-win-7583922_latest.zip failed: <urlopen error [WinError 10060] 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。>

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "launcher/game/android.rpyc", line 501, in script
  File "F:\renpy-8.1.3-sdk\renpy\ast.py", line 1138, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "F:\renpy-8.1.3-sdk\renpy\python.py", line 1122, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "game/android.rpy", line 503, in <module>
  File "F:\renpy-8.1.3-sdk\rapt\buildlib\rapt\install_sdk.py", line 201, in install_sdk
    unpack_sdk(interface)
  File "F:\renpy-8.1.3-sdk\rapt\buildlib\rapt\install_sdk.py", line 138, in unpack_sdk
    interface.download(url, plat.path(archive))
  File "game/mobilebuild.rpy", line 248, in download
  File "F:\renpy-8.1.3-sdk\renpy\ui.py", line 299, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "F:\renpy-8.1.3-sdk\renpy\display\core.py", line 3582, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, pause_modal=pause_modal, **kwargs) # type: ignore
  File "F:\renpy-8.1.3-sdk\renpy\display\core.py", line 4543, in interact_core
    rv = root_widget.event(ev, x, y, 0)
  File "F:\renpy-8.1.3-sdk\renpy\display\layout.py", line 1179, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "F:\renpy-8.1.3-sdk\renpy\display\layout.py", line 1179, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "F:\renpy-8.1.3-sdk\renpy\display\layout.py", line 1179, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "F:\renpy-8.1.3-sdk\renpy\display\behavior.py", line 2597, in event
    return run(self.function, *self.args, **self.kwargs)
  File "F:\renpy-8.1.3-sdk\renpy\display\behavior.py", line 379, in run
    return action(*args, **kwargs)
  File "game/download.rpy", line 148, in check
Exception: Downloading https://dl.google.com/android/repository/commandlinetools-win-7583922_latest.zip to F:\renpy-8.1.3-sdk\rapt\commandlinetools-win-7583922_latest.zip failed: <urlopen error [WinError 10060] 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。>

Windows-10-10.0.19041
Ren'Py 8.1.3.23091805
Ren'Py Launcher 8.1.3.23091805
Tue Jun 11 20:31:31 2024


发表于 2024-6-18 17:53:08 | 显示全部楼层
网络问题。国内要么走代理要么镜像站,或者手动下载,把这个文件https://dl.google.com/android/repository/commandlinetools-win-7583922_latest.zip
下载到F:\renpy-8.1.3-sdk\rapt\
回复 支持 1 抱歉 0

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|RenPy中文空间 ( 苏ICP备17067825号|苏公网安备 32092302000068号 )

GMT+8, 2024-11-27 12:54 , Processed in 0.133295 second(s), 28 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表