Trying to install SDK to make an adroid game and got this. Ive reinstalled, but no luck. Any ideas on what's going on here?
```
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 198, in call
FileNotFoundError: [WinError 2] The system cannot find the file specified
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "launcher/game/android.rpyc", line 505, in script
File "C:\Users\rgran\Desktop\RenPy\renpy-8.0.1-sdk\renpy\ast.py", line 1131, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "C:\Users\rgran\Desktop\RenPy\renpy-8.0.1-sdk\renpy\python.py", line 1049, in py_exec_bytecode
exec(bytecode, globals, locals)
File "game/android.rpy", line 507, in <module>
File "C:\Users\rgran\Desktop\RenPy\renpy-8.0.1-sdk\rapt\buildlib\rapt\install_sdk.py", line 356, in install_sdk
check_java(interface)
File "C:\Users\rgran\Desktop\RenPy\renpy-8.0.1-sdk\rapt\buildlib\rapt\install_sdk.py", line 52, in check_java
if not run_slow(interface, plat.javac, plat.path("buildlib/CheckJDK8.java"), use_path=True):
File "C:\Users\rgran\Desktop\RenPy\renpy-8.0.1-sdk\rapt\buildlib\rapt\install_sdk.py", line 37, in run_slow
interface.call(args, cancel=True, **kwargs)
File "game/mobilebuild.rpy", line 198, in call
File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/subprocess.py", line 951, in __init__
File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/subprocess.py", line 1420, in _execute_child
FileNotFoundError: [WinError 2] The system cannot find the file specified
Windows-10-10.0.19043 AMD64
Ren'Py 8.0.1.22070801
Ren'Py Launcher 8.0.1.22070801
Wed Jul 20 09:56:18 2022
```
An exception has occurred - Installing SDK
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
- PyTom
- Ren'Py Creator
- Posts: 15893
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: An exception has occurred - Installing SDK
It looks like either Java is installed incorrectly, or rapt didn't download properly.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom
Who is online
Users browsing this forum: No registered users