About Store Forum Documentation Contact
Donations:
327$/mo



Post Reply 
Unknown Android Crash
Author Message
ronghester Offline
Bronze Supporter

Post: #1
Unknown Android Crash
I had this app working fine on android. Then I added some GUI/skins etc... Now the app builds okay on android but crashes as soon as it starts.

All i can see in error log is this..
Quote:1-28 17:59:42.166 2442-2566/? E/ViewSystem﹕ ViewRootImpl #2 Surface is not valid.
11-28 17:59:42.196 1948-2269/? E/cutils﹕ Failed to mkdirat(/storage/extSdCard/Android): Read-only file system
11-28 17:59:42.201 1948-2269/? E/cutils﹕ Failed to mkdirat(/storage/extSdCard/Android): Read-only file system
11-28 17:59:42.226 10520-10520/? A/libc﹕ Fatal signal 11 (SIGSEGV) at 0x61851914 (code=2), thread 10520 (om.test.testgame)

It appears to be problem with read/write permission. I have removed all code that was dealing with file writing but there is still same error. I have also removed all skins and text style but nothing is helping.

I would appreciate if someone give me some direction on this. I am trying to go backwords and see what might have broken this.

Thanks
11-28-2016 01:42 PM
Find all posts by this user Quote this message in a reply
RedcrowProd Offline
Bronze Supporter

Post: #2
RE: Unknown Android Crash
have you tried to use the "Rebuild" instead of just building on top ?

most of the time, when i dont understand an error log, i do a simple clean & rebuild and it fixes it.

i'm sure greg will know better to help you out, but that's my little input in case you havent tried it yet
(This post was last modified: 11-29-2016 02:40 AM by RedcrowProd.)
11-29-2016 02:39 AM
Find all posts by this user Quote this message in a reply
ronghester Offline
Bronze Supporter

Post: #3
RE: Unknown Android Crash
Not sure what fixed it but I recreated the GUI and avoided multiple gui_objs loading and now it is working.

Sorry to bother!
11-29-2016 11:16 AM
Find all posts by this user Quote this message in a reply
Zervox Offline
Silver Supporter

Post: #4
RE: Unknown Android Crash
Always do a full clean/rebuild first in these cases as RedcrowProd suggested(this can sometimes help and prevent you from removing lots of new code that is actually working, compilers/linkers sometimes messes up).

Glad you got it working atleast.
(This post was last modified: 11-29-2016 02:41 PM by Zervox.)
11-29-2016 02:41 PM
Find all posts by this user Quote this message in a reply
Post Reply