Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
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.
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/android.rpy", line 447, in <module>
IOError: [Errno 2] No such file or directory: 'C:\\_DATA\\renpy-6.99.10-sdk\\rapt\\android-sdk-r24.4.1/extras/google/play_apk_expansion/downloader_library/project.properties'
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "c:/_DATA/renpy-6.99.10-sdk/android.rpyc", line 445, in script
File "C:\_DATA\renpy-6.99.10-sdk\renpy\ast.py", line 806, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "C:\_DATA\renpy-6.99.10-sdk\renpy\python.py", line 1577, in py_exec_bytecode
exec bytecode in globals, locals
File "game/android.rpy", line 447, in <module>
File "C:\_DATA\renpy-6.99.10-sdk\rapt\buildlib\rapt\install_sdk.py", line 263, in install_sdk
get_packages(interface)
File "C:\_DATA\renpy-6.99.10-sdk\rapt\buildlib\rapt\install_sdk.py", line 186, in get_packages
with open(plat.path("android-sdk/extras/google/play_apk_expansion/downloader_library/project.properties"), "r") as f:
IOError: [Errno 2] No such file or directory: 'C:\\_DATA\\renpy-6.99.10-sdk\\rapt\\android-sdk-r24.4.1/extras/google/play_apk_expansion/downloader_library/project.properties'
Windows-8-6.2.9200
Ren'Py 6.99.10.1227
Ren'Py Launcher 6.99.10.1227
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/android.rpy", line 445, in script
File "game/android.rpy", line 447, in <module>
IOError: [Errno 2] No such file or directory: 'G:\\renpy-6.99.9-sdk\\rapt\\android-sdk-r23/extras/google/play_apk_expansion/downloader_library/project.properties'
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/android.rpy", line 445, in script
File "G:\renpy-6.99.9-sdk\renpy\ast.py", line 806, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "G:\renpy-6.99.9-sdk\renpy\python.py", line 1461, in py_exec_bytecode
exec bytecode in globals, locals
File "game/android.rpy", line 447, in <module>
File "G:\renpy-6.99.9-sdk\rapt\buildlib\rapt\install_sdk.py", line 263, in install_sdk
get_packages(interface)
File "G:\renpy-6.99.9-sdk\rapt\buildlib\rapt\install_sdk.py", line 186, in get_packages
with open(plat.path("android-sdk/extras/google/play_apk_expansion/downloader_library/project.properties"), "r") as f:
IOError: [Errno 2] No such file or directory: 'G:\\renpy-6.99.9-sdk\\rapt\\android-sdk-r23/extras/google/play_apk_expansion/downloader_library/project.properties'
Windows-7-6.1.7601-SP1
Ren'Py 6.99.9.1168
Ren'Py Launcher 6.99.9.1168
Try this-
Copy the sdk installer and put it on a folder. Then delete rapt and install it again. After that, install the sdk again and restart your device.
other-
Don't install the sdk yet. Try to install it in the Ren'Py. If it didn't worked. Install the sdk then restart your computer
other-
Delete Ren'Py abd install everything again.
I have also tried it all now - removing just the SDK directory, removing rapt as well, installing new, installing from renpy etc... the same error all the time.
found a solution to this problem it seems that rapt does not automatic download android-sdk-r23/extras/google/play_apk_expansion/downloader_library/project.properties'
i just manual download it and create a new folder name it play_apk_expansion and copy downloader_library if you cant find downloader_library it inside market_apk_expansion hope and dev find patch for this hope this help you guys it took me a whole day to find this bug or not just hoping it will be fix soon
borrowed wrote:found a solution to this problem it seems that rapt does not automatic download android-sdk-r23/extras/google/play_apk_expansion/downloader_library/project.properties'
i just manual download it and create a new folder name it play_apk_expansion and copy downloader_library if you cant find downloader_library it inside market_apk_expansion hope and dev find patch for this hope this help you guys it took me a whole day to find this bug or not just hoping it will be fix soon
I cannot find that market apk expansion that you mention, is it a download? Where can I find it? I searched for it, but I landed on some developer page for apk expansion in general - if you meant it's inside the SDK file, there is nothing of that kind inside the android-sdk-r24.4.1_r24.4.1-windows.zip file
I also have the same error. Got it since I updated Ren'Py to 6.99.10. But I'm not sure if the error is cused by the update.
Anyway, no-matter what I do--delete rapt, use the android sdk on the Ren'Py site, delete and reinstall Ren'Py itself--it will always show this error when I try to use the 'Install SDK & Create Keys' or 'Build Package'
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/android.rpy", line 445, in script
File "game/android.rpy", line 447, in <module>
IOError: [Errno 2] No such file or directory: 'C:\\Program Files (x86)\\renpy-sdk\\rapt\\android-sdk-r24.4.1/extras/google/play_apk_expansion/downloader_library/project.properties'
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/android.rpy", line 445, in script
File "C:\Program Files (x86)\renpy-sdk\renpy\ast.py", line 806, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "C:\Program Files (x86)\renpy-sdk\renpy\python.py", line 1577, in py_exec_bytecode
exec bytecode in globals, locals
File "game/android.rpy", line 447, in <module>
File "C:\Program Files (x86)\renpy-sdk\rapt\buildlib\rapt\install_sdk.py", line 263, in install_sdk
get_packages(interface)
File "C:\Program Files (x86)\renpy-sdk\rapt\buildlib\rapt\install_sdk.py", line 186, in get_packages
with open(plat.path("android-sdk/extras/google/play_apk_expansion/downloader_library/project.properties"), "r") as f:
IOError: [Errno 2] No such file or directory: 'C:\\Program Files (x86)\\renpy-sdk\\rapt\\android-sdk-r24.4.1/extras/google/play_apk_expansion/downloader_library/project.properties'
Windows-8-6.2.9200
Ren'Py 6.99.10.1227
Ren'Py Launcher 6.99.10.1227
That happened to me. Like a lot of times. But it was always fixed when I deleted Ren'Py and installed everything again then restarting the device. Try it.
MimirollCookie wrote:That happened to me. Like a lot of times. But it was always fixed when I deleted Ren'Py and installed everything again then restarting the device. Try it.
I did just that and it didn't fix it. Delete everything, restart, redownload. Stil the same error, that directory doesn't exist in the sdk that renpy downloads, and not even if I download the android sdk directly.
borrowed wrote:found a solution to this problem it seems that rapt does not automatic download android-sdk-r23/extras/google/play_apk_expansion/downloader_library/project.properties'
i just manual download it and create a new folder name it play_apk_expansion and copy downloader_library if you cant find downloader_library it inside market_apk_expansion hope and dev find patch for this hope this help you guys it took me a whole day to find this bug or not just hoping it will be fix soon
I cannot find that market apk expansion that you mention, is it a download? Where can I find it? I searched for it, but I landed on some developer page for apk expansion in general - if you meant it's inside the SDK file, there is nothing of that kind inside the android-sdk-r24.4.1_r24.4.1-windows.zip file
you must go into your rapt\android-sdk-r23 open sdk manager
after you download it go to extras folder \rapt\android-sdk-r23\extras\google you will find this folder market_apk_expansion you must rename it to play_apk_expansion <--- this this will fix your problems
after building a package midway saw this i LOL
BUILD FAILED
E:\New folder\renpy-6.99.10-sdk\rapt\android-sdk-r24.4.1\tools\ant\build.xml:597: Invalid file: E:\New folder\renpy-6.99.10-sdk\rapt\android-sdk-r24.4.1\extras\google\play_licensing\library\build.xml JUST DOWNGRADE MUCH OLDER VERSION TOO MUCH HASSEL FOR NEW VERSION WITH ALOT OF ERRORS - i after a few tries got it to work with 6.9.9.10 if you want copy rapt file for this version just tell okay
First, open SDK Manager.exe in the android-sdk-r24.4.1 folder with admin. then download what you need (mostly everything)
next, go to the file directory that causes the error
IOError: [Errno 2] No such file or directory: 'C:\\_DATA\\renpy-6.99.10-sdk\\rapt\\android-sdk-r24.4.1/extras/google/play_apk_expansion/downloader_library/project.properties'
in this case: the directory your looking for is '[Ren'Py SDK File]\rapt\android-sdk-r24.4.1\extras\google'
there will be a file name that starts with the word 'market', change 'market' to 'play'
ex: 'market_apk_expansion' to 'play_apk_expansion'