Page 1 of 1
Livecode stacks will not run on x86 emulator (HAXM MacOS)
Posted: Mon Aug 27, 2012 10:50 pm
by richervin
Livecode 5.5.2
MacOS Mountain Lion
Android 4.0.3 API Level 15 with Intel Atom (x86)
Intel HAXM driver installed
The emulator starts and runs correctly on my Intel MacOS with the expected speed improvement
Livecode compiles and installs the TickedOff app on the emulation device
Whenever the app is started, it immediately terminates with this error:
"Unfortunately, TickedOff has stopped"
This runs correctly on the same AVD image when restarted with ARM emulation
Is LiveCode supposed to be compatible with the x86 emulators? Is this a problem with LiveCode, or my configuration?
Re: Livecode stacks will not run on x86 emulator (HAXM MacOS
Posted: Tue Aug 28, 2012 1:25 am
by Mark
Hi,
Since the LC binaries for Android are compiled for ARM processors, they can't run on (emulated) devices with x86 processors. Needless to say that this is not a bug.
Kind regards,
Mark
Re: Livecode stacks will not run on x86 emulator (HAXM MacOS
Posted: Tue Aug 28, 2012 8:33 pm
by richervin
I downloaded a random app from the internet to my x86 AVD. It installed and executed.
Why does a random APK file from the internet install and run, and the LC compiled app does not?
What is different about a LC app?
Re: Livecode stacks will not run on x86 emulator (HAXM MacOS
Posted: Tue Aug 28, 2012 9:09 pm
by Mark
Hi,
Which app was that exactly? Got a link? Maybe I can tell you more if I have a look at it myself.
Kind regards,
Mark
Re: Livecode stacks will not run on x86 emulator (HAXM MacOS
Posted: Tue Aug 28, 2012 11:26 pm
by richervin
I downloaded it from from
http://www.AppsApk.com/easy-history-cleaner/
I also tested android-sensor-box
Re: Livecode stacks will not run on x86 emulator (HAXM MacOS
Posted: Wed Aug 29, 2012 12:48 am
by Mark
Hi,
I tried the app on a device with an ARM processor and that works fine, too. Actually, that's understandable, since Android is based on Java and you'd expect Java apps to be cross-platform (in this case cross-CPU). Perhaps there is an incompatibility with your specific configuration or perhaps there is a bug in the LiveCode engine that appears on x86 processors only. It is hard to say. It could also be a problem with the emulator itself. If this bug is specific to the emulator, then I wouldn't expect RunRev to fix this problem.
Kind regards,
Mark
Re: Livecode stacks will not run on x86 emulator (HAXM MacOS
Posted: Wed Aug 29, 2012 1:55 am
by richervin
I wanted to know if anyone else has used LiveCode with x86, and if/whether it is supposed to be supported.
I thought you were with RunRev. I'll submit a support request to them, when I get a chance.
Re: Livecode stacks will not run on x86 emulator (HAXM MacOS
Posted: Wed Aug 29, 2012 2:04 am
by sturgis
livecode apk files are bundled with librevandroid.so which is in the armeabi folder. My guess is that this is a library compiled for arm specifically (probably not java at all) which would keep it from running on an x86 android emulator. Just a guess though.
Re: Livecode stacks will not run on x86 emulator (HAXM MacOS
Posted: Wed Aug 29, 2012 9:29 am
by Mark
Hi,
Something like that was my original thought.
Mark
Re: Livecode stacks will not run on x86 emulator (HAXM MacOS)
Posted: Sat Oct 12, 2019 6:00 pm
by Hyberson
Hello.
I am at the LiveCode Lessons stage.
At ( lessons livecode com / m / 4069 / l / 985962 livecode and android studio ) it reads: "[...] Remember that LiveCode can only use virtual devices with arm processors".
Is that true for the latest version of LC Community Plus ? If so
- what is the best alternative for testing an Android app (other than physical devices) ?
- how to proceed in order to make a virtual device (which I did not create with Android Studio) appear in the "Test Target" list?
Should I have created a new topic?
Regards,
Hyberson