Bug? B4A - Designer and deleted file

Discussion in 'Bugs & wishlist' started by Marcus Araujo, May 17, 2019.

  1. Marcus Araujo

    Marcus Araujo Member Licensed User

    I had a layout made in designer that contained an image view.
    This image view had an image file loaded called "logo_transparent.png".

    I needed to delete the file to load it dynamically and so I did by removing from the Files folder.
    Image File property promptly turned blank:

    upload_2019-5-16_21-34-25.png

    The problem occurred when trying to load the layout. The app crashed in LoadLayout and gave me the error "java.io.FileNotFoundException" for the asset file "logo_transparent.png".

    The solution was pretty straightforward (I re-selected the blank option in Image File).
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice