B4J Question Program keeps crashing through Windows Store certification

trueboss323

Active Member
Licensed User
Longtime User
I just recently submitted my B4J program to be published on the Windows Store , it is now in the certification process. However I received an email saying it failed the test because my app keeps crashing every time at launch. Their report read as:


I contacted them to see if they could provide me a crash log, but instead they only sent a video showing my app crashing.
My program works fine without crashes when I tested it. How can I troubleshoot it to see why it keeps crashing?
 

xulihang

Active Member
Licensed User
Longtime User
It is possible that your app is installed in a place which needs administrative privilege or writes something to such a place.
 
Last edited:
Upvote 0

trueboss323

Active Member
Licensed User
Longtime User
True. Make sure not to write anything in File.DirApp as it will not work.

I checked, and you were right , I saw one instance where I was using File.DirApp. It is used from the KVS library for saving settings. Also another place where I'm using File.DirAssets but i dont think that should be a problem. For DirApp, whats another alternative I can use it?
 
Upvote 0

trueboss323

Active Member
Licensed User
Longtime User
True. Make sure not to write anything in File.DirApp as it will not work.
Hi,


You can use File.DirData("YourAppName")

Jan

Yes, that was it, thank you! Now it's giving me a new error, incompatible with Windows 10S:

 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…