Hello every one! i have a problem with exporting android apk...
Specifically, at the instaling SDK and create keys step, i got a txt file that say:
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/android.rpy", line 507, in <module>
File "game/mobilebuild.rpy", line 214, in call
File "game/mobilebuild.rpy", line 238, in check_process
CalledProcessError: Command '['C:\\Users\\ADMIN\\Downloads\\renpy-8.0.3-sdk\\rapt\\Sdk\\cmdline-tools\\latest\\bin\\sdkmanager.bat', '--update']' returned non-zero exit status 1.
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "launcher/game/android.rpyc", line 505, in script
File "C:\Users\ADMIN\Downloads\renpy-8.0.3-sdk\renpy\ast.py", line 1132, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "C:\Users\ADMIN\Downloads\renpy-8.0.3-sdk\renpy\python.py", line 1085, in py_exec_bytecode
exec(bytecode, globals, locals)
File "game/android.rpy", line 507, in <module>
File "C:\Users\ADMIN\Downloads\renpy-8.0.3-sdk\rapt\buildlib\rapt\install_sdk.py", line 360, in install_sdk
get_packages(interface)
File "C:\Users\ADMIN\Downloads\renpy-8.0.3-sdk\rapt\buildlib\rapt\install_sdk.py", line 179, in get_packages
if not run_slow(interface, plat.sdkmanager, "--update", yes=True):
File "C:\Users\ADMIN\Downloads\renpy-8.0.3-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\ADMIN\Downloads\renpy-8.0.3-sdk\renpy\exports.py", line 3287, in call_screen
rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward)
File "C:\Users\ADMIN\Downloads\renpy-8.0.3-sdk\renpy\ui.py", line 299, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "C:\Users\ADMIN\Downloads\renpy-8.0.3-sdk\renpy\display\core.py", line 3435, 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\ADMIN\Downloads\renpy-8.0.3-sdk\renpy\display\core.py", line 4342, in interact_core
rv = root_widget.event(ev, x, y, 0)
File "C:\Users\ADMIN\Downloads\renpy-8.0.3-sdk\renpy\display\layout.py", line 1177, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "C:\Users\ADMIN\Downloads\renpy-8.0.3-sdk\renpy\display\layout.py", line 1177, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "C:\Users\ADMIN\Downloads\renpy-8.0.3-sdk\renpy\display\layout.py", line 1177, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "C:\Users\ADMIN\Downloads\renpy-8.0.3-sdk\renpy\display\screen.py", line 743, in event
rv = self.child.event(ev, x, y, st)
File "C:\Users\ADMIN\Downloads\renpy-8.0.3-sdk\renpy\display\layout.py", line 1177, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "C:\Users\ADMIN\Downloads\renpy-8.0.3-sdk\renpy\display\behavior.py", line 2520, in event
return run(self.function, *self.args, **self.kwargs)
File "C:\Users\ADMIN\Downloads\renpy-8.0.3-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\\ADMIN\\Downloads\\renpy-8.0.3-sdk\\rapt\\Sdk\\cmdline-tools\\latest\\bin\\sdkmanager.bat', '--update']' returned non-zero exit status 1.
Windows-10-10.0.19045 AMD64
Ren'Py 8.1.0.23010208n
Ren'Py Launcher 8.1.0.23010208n
Wed Jan 4 13:17:31 2023
can anyone tell me what problem that i'm dealing with and how to fix this? Thank you so much...
Need help with exporting android APK
Re: Need help with exporting android APK
Is your game over 4 GBs? Apparently there is a hard limit at 4 GBs for Android builds.
Re: Need help with exporting android APK
My game folder only has 226 MB and I have the same (or similar?) error:
Code: Select all
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/android.rpy", line 507, in <module>
File "game/mobilebuild.rpy", line 214, in call
File "game/mobilebuild.rpy", line 238, in check_process
CalledProcessError: Command '['B:\\User\\Desktop\\RenPy 8.0.3\\renpy-8.0.3-sdk\\rapt\\Sdk\\cmdline-tools\\latest\\bin\\sdkmanager.bat', '--update']' returned non-zero exit status 1.
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "launcher/game/android.rpyc", line 505, in script
File "B:\User\Desktop\RenPy 8.0.3\renpy-8.0.3-sdk\renpy\ast.py", line 1131, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "B:\User\Desktop\RenPy 8.0.3\renpy-8.0.3-sdk\renpy\python.py", line 1061, in py_exec_bytecode
exec(bytecode, globals, locals)
File "game/android.rpy", line 507, in <module>
File "B:\User\Desktop\RenPy 8.0.3\renpy-8.0.3-sdk\rapt\buildlib\rapt\install_sdk.py", line 360, in install_sdk
get_packages(interface)
File "B:\User\Desktop\RenPy 8.0.3\renpy-8.0.3-sdk\rapt\buildlib\rapt\install_sdk.py", line 179, in get_packages
if not run_slow(interface, plat.sdkmanager, "--update", yes=True):
File "B:\User\Desktop\RenPy 8.0.3\renpy-8.0.3-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 "B:\User\Desktop\RenPy 8.0.3\renpy-8.0.3-sdk\renpy\exports.py", line 3181, in call_screen
rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward)
File "B:\User\Desktop\RenPy 8.0.3\renpy-8.0.3-sdk\renpy\ui.py", line 299, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "B:\User\Desktop\RenPy 8.0.3\renpy-8.0.3-sdk\renpy\display\core.py", line 3377, 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 "B:\User\Desktop\RenPy 8.0.3\renpy-8.0.3-sdk\renpy\display\core.py", line 4258, in interact_core
rv = root_widget.event(ev, x, y, 0)
File "B:\User\Desktop\RenPy 8.0.3\renpy-8.0.3-sdk\renpy\display\layout.py", line 1175, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "B:\User\Desktop\RenPy 8.0.3\renpy-8.0.3-sdk\renpy\display\layout.py", line 1175, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "B:\User\Desktop\RenPy 8.0.3\renpy-8.0.3-sdk\renpy\display\layout.py", line 1175, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "B:\User\Desktop\RenPy 8.0.3\renpy-8.0.3-sdk\renpy\display\screen.py", line 743, in event
rv = self.child.event(ev, x, y, st)
File "B:\User\Desktop\RenPy 8.0.3\renpy-8.0.3-sdk\renpy\display\layout.py", line 1175, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "B:\User\Desktop\RenPy 8.0.3\renpy-8.0.3-sdk\renpy\display\behavior.py", line 2418, in event
return run(self.function, *self.args, **self.kwargs)
File "B:\User\Desktop\RenPy 8.0.3\renpy-8.0.3-sdk\renpy\display\behavior.py", line 329, in run
return action(*args, **kwargs)
File "game/mobilebuild.rpy", line 238, in check_process
CalledProcessError: Command '['B:\\User\\Desktop\\RenPy 8.0.3\\renpy-8.0.3-sdk\\rapt\\Sdk\\cmdline-tools\\latest\\bin\\sdkmanager.bat', '--update']' returned non-zero exit status 1.
Windows-10-10.0.19044 AMD64
Ren'Py 8.0.3.22090809
Ren'Py Launcher 8.0.3.22090809
Thu May 11 00:22:43 2023
Who is online
Users browsing this forum: Amazon [Bot]