Page 1 of 1

[SOLVED] OsX : LiveCode crashes the Android's emulated app

Posted: Tue Jan 21, 2014 8:09 pm
by samuel.vannesteBUSGvXT
Hello,

I do thank you for reading and any help will be very appreciated. I have a problem after installing and using LiveCode on a MacBook with the Android's emulator.

The problem is this one : even with a blank Main Stack, when sending the test app to the emulator I get an error message ("Unfortunately application XXXXX has stopped").

I have checked the SDK and updated it to the lastest version. I have checked the Standalone Settings. I have created new emulator's devices. Without any success. I have deleted my /android/ folder and installed it again. Without any success too.

Please, do you have any idea to fix this problem ? My need is to test a cross platform app (iPhone and Android) and I would like not to have to copy and test on a PC for Android.

Re: OsX : LiveCode crashes the Android's emulated app

Posted: Wed Jan 22, 2014 7:54 pm
by jacque
Which Android virtual device are you using? There were some problems with emulation in Android 2.2. You need to have that one installed, but should test on a higher version of the OS.

Re: OsX : LiveCode crashes the Android's emulated app

Posted: Wed Jan 22, 2014 9:18 pm
by samuel.vannesteBUSGvXT
Hello Jacqueline,

Thanks a lot for your reply. Unfortunately, I am using an Android 4.1.2, API level 16, Intel Atom (x86) emulator. I have made a new step today as now the app won't crash but I only get a blank screen (without any button I could have created on the stack).

I wonder if there has something to do with the Java installation on Maverick... In fact, I have installed previously the 1.6.0 JDK (located into /Library/System/Java/VirtualMachines/1.6.0.jdk and found by LiveCode) and in the same time, I tried to update to the latest one but it is into /Library/Java/VitrualMachines/jdk1.7.0_51.jdk).

I have to make some more research but I have to admit that it makes me turn crazy ;-)

Re: [SOLVED] OsX : LiveCode crashes the Android's emulated a

Posted: Wed Jan 22, 2014 9:54 pm
by samuel.vannesteBUSGvXT
SOLVED : the solution was already provided by Neil : http://forums.runrev.com/viewtopic.php?p=91904#p91904
I did not saw it previously because of the first type of error I got. But the solution is his post. Thanks

Re: [SOLVED] OsX : LiveCode crashes the Android's emulated a

Posted: Wed Jan 22, 2014 10:06 pm
by jacque
Thanks for posting that, it will help others who might search the forums in the future if they have the same problem.