Android Build Error

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.
Post Reply
Message
Author
SyTax
Newbie
Posts: 11
Joined: Tue Apr 14, 2020 6:23 am
Tumblr: None
Deviantart: None
Github: trpluginer
Skype: SyTax
Soundcloud: None
itch: None
Contact:

Android Build Error

#1 Post by SyTax » Wed Apr 15, 2020 9:27 am

I got this error in the latest version but I still don't understand why. There is nothing in Atom that uses that closed folder.
Please help!


Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/android.rpy", line 483, in <module>
  File "game/android.rpy", line 269, in android_build
error: Couldn't open C:\Users\Salih Güdücü\Desktop\Ren'Py\renpy-7.2.2-sdk\rapt\project/app/src/main/res/mipmap-mdpi/icon_background.png

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

Full traceback:
  File "launcher/game/android.rpyc", line 483, in script
  File "C:\Users\Salih Güdücü\Desktop\Ren'Py\renpy-7.2.2-sdk\renpy\ast.py", line 900, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "C:\Users\Salih Güdücü\Desktop\Ren'Py\renpy-7.2.2-sdk\renpy\python.py", line 1930, in py_exec_bytecode
    exec bytecode in globals, locals
  File "game/android.rpy", line 483, in <module>
  File "game/android.rpy", line 269, in android_build
  File "C:\Users\Salih Güdücü\Desktop\Ren'Py\renpy-7.2.2-sdk\rapt\buildlib\rapt\build.py", line 565, in build
    iconmaker.IconMaker(directory, config)
  File "C:\Users\Salih Güdücü\Desktop\Ren'Py\renpy-7.2.2-sdk\rapt\buildlib\rapt\iconmaker.py", line 29, in __init__
    self.write_dpi(dpi, scale)
  File "C:\Users\Salih Güdücü\Desktop\Ren'Py\renpy-7.2.2-sdk\rapt\buildlib\rapt\iconmaker.py", line 110, in write_dpi
    self.write_icon("icon_background", dpi, scale, 108, self.load_background)
  File "C:\Users\Salih Güdücü\Desktop\Ren'Py\renpy-7.2.2-sdk\rapt\buildlib\rapt\iconmaker.py", line 107, in write_icon
    pygame_sdl2.image.save(surf, dst)
  File "src/pygame_sdl2/image.pyx", line 151, in pygame_sdl2.image.save
error: Couldn't open C:\Users\Salih Güdücü\Desktop\Ren'Py\renpy-7.2.2-sdk\rapt\project/app/src/main/res/mipmap-mdpi/icon_background.png

Windows-7-6.1.7601-SP1
Ren'Py 7.2.2.491
Ren'Py Launcher 7.2.2.491
Wed Apr 15 16:23:41 2020

rames44
Veteran
Posts: 232
Joined: Sun May 29, 2016 4:38 pm
Contact:

Re: Android Build Error

#2 Post by rames44 » Wed Apr 15, 2020 12:24 pm

Did you prepare the android icons as described at
https://www.renpy.org/doc/html/android. ... ash-images
?

SyTax
Newbie
Posts: 11
Joined: Tue Apr 14, 2020 6:23 am
Tumblr: None
Deviantart: None
Github: trpluginer
Skype: SyTax
Soundcloud: None
itch: None
Contact:

Re: Android Build Error

#3 Post by SyTax » Wed Apr 15, 2020 1:25 pm

rames44 wrote:
Wed Apr 15, 2020 12:24 pm
Did you prepare the android icons as described at
https://www.renpy.org/doc/html/android. ... ash-images
?
Yes but nothing changed

Post Reply

Who is online

Users browsing this forum: span4ev