blank screen android

Just recently we have started having issues deploying on android. We have an app the was working fine, now when we deploy it just gats a blank screen. I’ve reverted my changes since the last build and its still blank. Works fine on the simulator.

When i look at the android log, i see entries like this:
Could not find method com.openfeint.api.ui.Dashboard.openAchievements, referenced from method com.ansca.corona.version.android8.AndroidVersionSpecific.openFeintLaunchDashboard

It looks like it might be the issue. I have no references to open feint and didnt know corona was supporting it.

Does anyone else see this? Any idea how to fix it?

Thanks
[import]uid: 13076 topic_id: 6068 reply_id: 306068[/import]

I have those too, its normal.

Its most likely some issue with android not able to open some file. The last build of corona also has a file folder bug. All resource files need to be in the root folder for it to work on the device.

Revert to the last corona 243 and it should be fine. [import]uid: 8872 topic_id: 6068 reply_id: 20806[/import]

kam187,

Thanks, the issue was a missing file. Wasted a few hours reverting changes … building … deploying … A message in the log would have saved me a lot of time. :).
-Sam
[import]uid: 13076 topic_id: 6068 reply_id: 20820[/import]

Odd, it usually gives you one. Glad u got it working.

On a seperate note, how are you handling suspend/sleep in your app?

If i catch the applicationSuspend event and quit, it quits on idle timer/sleep too.
[import]uid: 8872 topic_id: 6068 reply_id: 20822[/import]

Hi, where can I find the Android log? Thanks. [import]uid: 23949 topic_id: 6068 reply_id: 21087[/import]

run “adb logcat” in a terminal window.
[import]uid: 8872 topic_id: 6068 reply_id: 21089[/import]

Dear all,

same here, black screen with no error in the android log. I’ve googled and found this and other threads mentioning everything has to be in the same directory (assets and .lua files). It’s now working but having something in the Android log would have been very helpful. I’m just trying the SDK, I was considering buying as it is a helpful tool but I’m probably going to wait for it to be more stable/polished for Android (my main platform).
[import]uid: 27243 topic_id: 6068 reply_id: 21129[/import]

One needs to keep everything in the root folder? That’s incredible ghetto. Is this new? [import]uid: 21649 topic_id: 6068 reply_id: 23860[/import]

I ran into this problem too, an app compiled for Android wouldn’t run on the device while any of my .lua classes were in sub-directories. [import]uid: 4596 topic_id: 6068 reply_id: 24784[/import]

I have had all sorts of issues with version 268 and android. I find that revision 243 works much better for Android and I think it still allows you to put the assets in subdirectories (not Lua’s though). [import]uid: 13512 topic_id: 6068 reply_id: 24799[/import]

Where can I still find build 243? [import]uid: 6795 topic_id: 6068 reply_id: 26000[/import]

https://developer.anscamobile.com/sites/default/files/CoronaSDK_2010.243.dmg [import]uid: 8872 topic_id: 6068 reply_id: 26001[/import]

Thanks for the link! [import]uid: 6795 topic_id: 6068 reply_id: 26150[/import]

Wow, I just got the blank screen problem here… right after spending a lot of time cleaning up the code, moving things into folders, making everything nice and neat…

Does it all really need to be in one folder?

ARRGH, that’s terrible. I’m going to drown in files. [import]uid: 37122 topic_id: 6068 reply_id: 29249[/import]

I am having the same sort of symptoms with the game I am working on. No errors whatsoever on the simulator but when I install it onto my android (or any of the 3 other android phones in my household) I get a blank screen for about 5 seconds and then the app closes itself out.

I have scoured the forums a bit and thought it could be related to things being case sensitive but I have checked every file in my build and it is all properly matching the code. Also made sure that there are no sub folders within my root directory so that shouldn’t be an issue. Also it should be noted that the game used to work but somewhere down the line it started doing this and I’ve been stuck for weeks. [import]uid: 87260 topic_id: 6068 reply_id: 57518[/import]

UPDATE: Ok , after several hours today I have tracked down what is giving me trouble. I have a block of code involving sprites which is causing all the crashes. I know this because when I cut the code out it runs fine, except for the sprites, naturally. Now I can at least try to track down the culprit within the block of code. [import]uid: 87260 topic_id: 6068 reply_id: 57520[/import]