app won't run in Android simulator

Chris Sheffield cmsheffield at icloud.com
Fri Nov 22 22:58:36 CET 2013


Thanks, Jacque. Super helpful.

Unfortunately I’m not getting any meaningful output. The errorDialog handler is not reporting anything, and when I try logcat without any filters I just get a message that says "W/ActivityManager( 1228): Activity destroy timeout for ActivityRecord{a750baf8 u0 com.readnaturally.androidtest/.mblandroid}” or something similar. So I don’t think the app is even getting to the point of trying to run any scripts. I didn’t even have anything in the stack script until I added these debugging methods.

I’m thinking it’s an engine-level thing. Something’s not right. Are you able to successfully launch an app in an Android emulator? If so, would you mind sharing your AVD settings? Maybe I just need the right settings in order to make it work.

Thanks,
Chris

On Nov 22, 2013, at 1:43 PM, J. Landman Gay <jacque at hyperactivesw.com> wrote:

> On 11/22/13 1:53 PM, Chris Sheffield wrote:
>> Just for fun I tried LC 6.5 RC7. Same results.
>> 
>> I’ve got to be doing something wrong. Perhaps a setting in standalone
>> settings that I’m missing? Or is LC possibly not compatible with the
>> latest Android SDK? Do I need to specify a certain version of Android
>> in my AVD settings? Not really sure what to do...
> 
> Have you tried debugging it? You can insert logging commands into the script so at least you know how far it got. You can also use an errorDialog handler to write errors to stndout, which will appear in terminal.
> 
> Mobile debugging on Android:
> <http://www.hyperactivesw.com/resources_mobiledebugging.html>
> 
> The debugging notes recommend just looking for LiveCode reports, but if you don't see anything relevant then I'd just use the plain logcat command without any filters. That should tell you where things went wrong if you can plow through all the rest of the deluge it produces.
> 
> -- 
> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.com
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list