B4J Question exe from B4J keeps opening and closing

TorontoJim

Member
Licensed User
Longtime User
I just packed up my third app from B4J using Launch4j. The first two work great.

This one, however, has a big problem. It starts to open, the frame of the form renders, but not the content, but then it closes, and then it opens again, and then it .... you get the picture.

I've attached a link to a video of my screen to show what it's doing (I'll take it down as soon as this is sorted). I can't find anything in the forums with search that relates to this and have no idea why. I made the same settings (I think) as in the first two. I added the jar and an icon file (which I did with the other two).

 

TorontoJim

Member
Licensed User
Longtime User
I keep getting the message that it cannot find b4j.example.main

I've tried the packager you mentioned, but can't find the bundles folder after it runs. I've posted the question regarding this on a thread specific to that question:
https://www.b4x.com/android/forum/t...ndles-directory-created-by-b4jpackager.64212/

Thank you for your response, I would prefer to do the packaging you mentioned, hopefully the solution will be simple.
 
Upvote 0

TorontoJim

Member
Licensed User
Longtime User
There was a text file the app was trying to load, but when I created the .exe, it saved to a different folder. It was a PICNIC problem after all.
 
Upvote 0
Top