Android crash caused by GUI
by Bryan Cantz · in Torque 2D Professional · 05/10/2014 (3:34 pm) · 7 replies
I keep getting a fatal error with my current project and I managed to figure out it has something to do with my GUI's because when I comment out the push of the new Dialog it works fine. It also works fine with other compiles its just the Android one that is giving me trouble.
I have created a Test Module you can download it here:
https://www.dropbox.com/s/dge4rpeknu1ioyf/FixMe.rar
The error only occurs when I try to push any of the GUI's to the Canvas. Please let me know if im doing something wrong.
I have created a Test Module you can download it here:
https://www.dropbox.com/s/dge4rpeknu1ioyf/FixMe.rar
The error only occurs when I try to push any of the GUI's to the Canvas. Please let me know if im doing something wrong.
About the author
#2
05/10/2014 (11:00 pm)
What happens when you compile the Sandbox and a few of its toys to your Android device? Any issues when opening up the console or tools menu?
#3
Changing the path didn't fix it. I edited the post and added a dropbox link
@Mike
I just compiled the Sandbox and all the toys and ran it on my tablet it works fine. So it must be a Problem with my modules.
05/10/2014 (11:24 pm)
@practicingChanging the path didn't fix it. I edited the post and added a dropbox link
@Mike
I just compiled the Sandbox and all the toys and ran it on my tablet it works fine. So it must be a Problem with my modules.
#4
GuiButtonCtrl's from the gui's stops the error from happening. So It has to be something with the buttons im guessing. If someone has any idea please let me know.
05/17/2014 (1:12 pm)
I still haven't been able to fix this problem but I found that removing theGuiButtonCtrl's from the gui's stops the error from happening. So It has to be something with the buttons im guessing. If someone has any idea please let me know.
#5
05/18/2014 (1:10 pm)
Ok so I found out the the crashes stop when I dont set Text for the Button. What could be causing this?.
#6
05/19/2014 (5:42 am)
What font are you using? Is it native to Android?
#7
05/19/2014 (8:53 pm)
Ya that was the problem, I talked to Tim on the irc channel and he helped me fix it.
Torque Owner practicing01
MourningDoveSoft