I have successfully built an app for iOS and have it running on 2 devices (iPod Touch and iPad).
I need to build an APK for Android, but Corona is crashing out when doing so. I am able to access the build menu, but when the build begins Corona itself crashes.
Terminal outputs the following:
Copyright © 2009-2012 A n s c a , I n c .
Version: 2.0.0
Build: 2012.786
Invalid memory access of location 0x8 eip=0xd7ce
/Applications/CoronaSDK/Corona Terminal: line 9: 509 Bus error: 10 “$path/Corona Simulator.app/Contents/MacOS/Corona Simulator” $*
logout
[Process completed]
I am running on an iMac (OSX 10.7.3). I am using daily build 2012.786. The simulator works perfectly and it has been heavily tested on iOS devices and in the simulator (for iOS and Android devices).
It might be worth noting that I don’t think it’s actually trying to build the app before crashing. I have an iOS license for Corona, but not Android, so after waiting in the ‘trial build queue’ the app begins to build and then crashes immediately. It doesn’t appear to actually start the build itself though (when building on iOS you can see the build progress through each file as it’s added to the .app - I don’t get this before the crash). Corona appears to crash almost immediately after building should begin.
My build.settings file is almost default, with the androidPermissions object uncommented. The whole thing looks as follows:
[lua]-- Supported values for orientation:
– portrait, portraitUpsideDown, landscapeLeft, landscapeRight
settings = {
orientation = {
default = “portrait”,
supported = { “portrait”, }
},
iphone = {
plist = {
UIStatusBarHidden = false,
UIPrerenderedIcon = true, – set to false for “shine” overlay
–UIApplicationExitsOnSuspend = true, – uncomment to quit app on suspend
–[[
– iOS app URL schemes:
CFBundleURLTypes =
{
{
CFBundleURLSchemes =
{
“fbXXXXXXXXXXXXXX”, – example scheme for facebook
“coronasdkapp”, – example second scheme
}
}
}
–]]
}
},
– Android permissions
androidPermissions = {
“android.permission.INTERNET”,
},
}[/lua]
And lastly, I have researched the error on the forums and seen some mention of physics bodies. Although this appears to be related to a different bus error code I thought it might be worth mentioning that I am not using the physics engine.
Thanks [import]uid: 61422 topic_id: 27273 reply_id: 327273[/import]
[import]uid: 52491 topic_id: 27273 reply_id: 111142[/import]