找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 2463|回复: 4

[求助] 在进行安卓打包时安装SDK报错,另外重装好几次都没有用

[复制链接]
发表于 2022-10-1 19:32:16 | 显示全部楼层 |阅读模式

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

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

×

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

  2. While running game code:
  3.   File "game/android.rpy", line 507, in <module>
  4.   File "game/mobilebuild.rpy", line 198, in call
  5. FileNotFoundError: [WinError 2] 系统找不到指定的文件。

  6. -- Full Traceback ------------------------------------------------------------

  7. Full traceback:
  8.   File "launcher/game/android.rpyc", line 505, in script
  9.   File "E:\renpy-8.0.3-sdk\renpy\ast.py", line 1131, in execute
  10.     renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  11.   File "E:\renpy-8.0.3-sdk\renpy\python.py", line 1061, in py_exec_bytecode
  12.     exec(bytecode, globals, locals)
  13.   File "game/android.rpy", line 507, in <module>
  14.   File "E:\renpy-8.0.3-sdk\rapt\buildlib\rapt\install_sdk.py", line 356, in install_sdk
  15.     check_java(interface)
  16.   File "E:\renpy-8.0.3-sdk\rapt\buildlib\rapt\install_sdk.py", line 52, in check_java
  17.     if not run_slow(interface, plat.javac, plat.path("buildlib/CheckJDK8.java"), use_path=True):
  18.   File "E:\renpy-8.0.3-sdk\rapt\buildlib\rapt\install_sdk.py", line 37, in run_slow
  19.     interface.call(args, cancel=True, **kwargs)
  20.   File "game/mobilebuild.rpy", line 198, in call
  21.   File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/subprocess.py", line 951, in __init__
  22.   File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/subprocess.py", line 1420, in _execute_child
  23. FileNotFoundError: [WinError 2] 系统找不到指定的文件。

  24. Windows-10-10.0.19041 AMD64
  25. Ren'Py 8.0.3.22090809
  26. Ren'Py Launcher 8.0.3.22090809
  27. Sat Oct  1 19:31:18 2022
复制代码



发表于 2022-10-10 16:41:52 | 显示全部楼层
你是不是没有配置java?
回复 支持 抱歉

使用道具 举报

 楼主| 发表于 2022-10-14 18:11:17 | 显示全部楼层
enjoyuruf 发表于 2022-10-10 16:41
你是不是没有配置java?

老早就装了
回复 支持 抱歉

使用道具 举报

 楼主| 发表于 2022-10-14 18:37:45 | 显示全部楼层
enjoyuruf 发表于 2022-10-10 16:41
你是不是没有配置java?

感谢老哥,重装了一个java之后新的报错出现了
回复 支持 抱歉

使用道具 举报

 楼主| 发表于 2022-10-14 18:38:55 | 显示全部楼层
enjoyuruf 发表于 2022-10-10 16:41
你是不是没有配置java?

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

  2. While running game code:
  3.   File "game/android.rpy", line 507, in <module>
  4.   File "game/mobilebuild.rpy", line 214, in call
  5.   File "game/mobilebuild.rpy", line 238, in check_process
  6. CalledProcessError: Command '['java.exe', '-classpath', 'E:\\renpy-8.0.3-sdk\\rapt\\buildlib', 'CheckJDK8']' returned non-zero exit status 1.

  7. -- Full Traceback ------------------------------------------------------------

  8. Full traceback:
  9.   File "launcher/game/android.rpyc", line 505, in script
  10.   File "E:\renpy-8.0.3-sdk\renpy\ast.py", line 1131, in execute
  11.     renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  12.   File "E:\renpy-8.0.3-sdk\renpy\python.py", line 1061, in py_exec_bytecode
  13.     exec(bytecode, globals, locals)
  14.   File "game/android.rpy", line 507, in <module>
  15.   File "E:\renpy-8.0.3-sdk\rapt\buildlib\rapt\install_sdk.py", line 356, in install_sdk
  16.     check_java(interface)
  17.   File "E:\renpy-8.0.3-sdk\rapt\buildlib\rapt\install_sdk.py", line 55, in check_java
  18.     if not run_slow(interface, plat.java, "-classpath", plat.path("buildlib"), "CheckJDK8", use_path=True):
  19.   File "E:\renpy-8.0.3-sdk\rapt\buildlib\rapt\install_sdk.py", line 37, in run_slow
  20.     interface.call(args, cancel=True, **kwargs)
  21.   File "game/mobilebuild.rpy", line 214, in call
  22.   File "E:\renpy-8.0.3-sdk\renpy\exports.py", line 3181, in call_screen
  23.     rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward)
  24.   File "E:\renpy-8.0.3-sdk\renpy\ui.py", line 299, in interact
  25.     rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  26.   File "E:\renpy-8.0.3-sdk\renpy\display\core.py", line 3377, in interact
  27.     repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, pause_modal=pause_modal, **kwargs) # type: ignore
  28.   File "E:\renpy-8.0.3-sdk\renpy\display\core.py", line 4258, in interact_core
  29.     rv = root_widget.event(ev, x, y, 0)
  30.   File "E:\renpy-8.0.3-sdk\renpy\display\layout.py", line 1175, in event
  31.     rv = i.event(ev, x - xo, y - yo, cst)
  32.   File "E:\renpy-8.0.3-sdk\renpy\display\layout.py", line 1175, in event
  33.     rv = i.event(ev, x - xo, y - yo, cst)
  34.   File "E:\renpy-8.0.3-sdk\renpy\display\layout.py", line 1175, in event
  35.     rv = i.event(ev, x - xo, y - yo, cst)
  36.   File "E:\renpy-8.0.3-sdk\renpy\display\screen.py", line 743, in event
  37.     rv = self.child.event(ev, x, y, st)
  38.   File "E:\renpy-8.0.3-sdk\renpy\display\layout.py", line 1175, in event
  39.     rv = i.event(ev, x - xo, y - yo, cst)
  40.   File "E:\renpy-8.0.3-sdk\renpy\display\behavior.py", line 2418, in event
  41.     return run(self.function, *self.args, **self.kwargs)
  42.   File "E:\renpy-8.0.3-sdk\renpy\display\behavior.py", line 329, in run
  43.     return action(*args, **kwargs)
  44.   File "game/mobilebuild.rpy", line 238, in check_process
  45. CalledProcessError: Command '['java.exe', '-classpath', 'E:\\renpy-8.0.3-sdk\\rapt\\buildlib', 'CheckJDK8']' returned non-zero exit status 1.

  46. Windows-10-10.0.19041 AMD64
  47. Ren'Py 8.0.3.22090809
  48. Ren'Py Launcher 8.0.3.22090809
  49. Fri Oct 14 18:34:49 2022
复制代码

回复 支持 抱歉

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-12-22 17:25 , Processed in 0.122209 second(s), 27 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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