找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 667|回复: 0

[求助] 打包安卓时安装sdk报错

[复制链接]
发表于 2023-7-23 18:58:37 | 显示全部楼层 |阅读模式

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

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

×

求大佬解答,谢谢!


报错如下:

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 214, in call
  File "game/mobilebuild.rpy", line 238, in check_process
CalledProcessError: Command '["C:\\Users\\w's't'b\\Desktop\\jdk\\jdk-18.0.2\\bin\\java.exe", '-classpath', "C:\\Users\\w's't'b\\Desktop\\renpy-8.1.1-sdk\\rapt\\buildlib", 'CheckJDK8']' returned non-zero exit status 1.

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

Full traceback:
  File "launcher/game/android.rpyc", line 501, in script
  File "C:\Users\w's't'b\Desktop\renpy-8.1.1-sdk\renpy\ast.py", line 1138, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "C:\Users\w's't'b\Desktop\renpy-8.1.1-sdk\renpy\python.py", line 1122, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "game/android.rpy", line 503, in <module>
  File "C:\Users\w's't'b\Desktop\renpy-8.1.1-sdk\rapt\buildlib\rapt\install_sdk.py", line 199, in install_sdk
    check_java(interface)
  File "C:\Users\w's't'b\Desktop\renpy-8.1.1-sdk\rapt\buildlib\rapt\install_sdk.py", line 55, in check_java
    if not run_slow(interface, plat.java, "-classpath", plat.path("buildlib"), "CheckJDK8", use_path=True):
  File "C:\Users\w's't'b\Desktop\renpy-8.1.1-sdk\rapt\buildlib\rapt\install_sdk.py", line 37, in run_slow
    interface.call(args, cancel=True, **kwargs)
  File "game/mobilebuild.rpy", line 214, in call
  File "C:\Users\w's't'b\Desktop\renpy-8.1.1-sdk\renpy\exports.py", line 3345, in call_screen
    rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward)
  File "C:\Users\w's't'b\Desktop\renpy-8.1.1-sdk\renpy\ui.py", line 299, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "C:\Users\w's't'b\Desktop\renpy-8.1.1-sdk\renpy\display\core.py", line 3579, 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 "C:\Users\w's't'b\Desktop\renpy-8.1.1-sdk\renpy\display\core.py", line 4540, in interact_core
    rv = root_widget.event(ev, x, y, 0)
  File "C:\Users\w's't'b\Desktop\renpy-8.1.1-sdk\renpy\display\layout.py", line 1177, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "C:\Users\w's't'b\Desktop\renpy-8.1.1-sdk\renpy\display\layout.py", line 1177, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "C:\Users\w's't'b\Desktop\renpy-8.1.1-sdk\renpy\display\layout.py", line 1177, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "C:\Users\w's't'b\Desktop\renpy-8.1.1-sdk\renpy\display\screen.py", line 770, in event
    rv = self.child.event(ev, x, y, st)
  File "C:\Users\w's't'b\Desktop\renpy-8.1.1-sdk\renpy\display\layout.py", line 1177, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "C:\Users\w's't'b\Desktop\renpy-8.1.1-sdk\renpy\display\behavior.py", line 2574, in event
    return run(self.function, *self.args, **self.kwargs)
  File "C:\Users\w's't'b\Desktop\renpy-8.1.1-sdk\renpy\display\behavior.py", line 375, in run
    return action(*args, **kwargs)
  File "game/mobilebuild.rpy", line 238, in check_process
CalledProcessError: Command '["C:\\Users\\w's't'b\\Desktop\\jdk\\jdk-18.0.2\\bin\\java.exe", '-classpath', "C:\\Users\\w's't'b\\Desktop\\renpy-8.1.1-sdk\\rapt\\buildlib", 'CheckJDK8']' returned non-zero exit status 1.

Windows-10-10.0.22000 AMD64
Ren'Py 8.1.1.23060707
Ren'Py Launcher 8.1.1.23060707
Sun Jul 23 18:57:21 2023


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

本版积分规则

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

GMT+8, 2024-12-22 12:01 , Processed in 0.112258 second(s), 24 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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