Page 1 of 2

failed to follow the tutorial

Posted: Fri Apr 12, 2019 5:14 am
by kodkodd
I just tried livecode, and the tutorial that I follow doesn't work well. I followed this tutorial.

and failed when I tried it on my device. I'm interested in livecode syntax, but I tried the basic thing, HelloWorld and failed. can you help me? :cry:

Re: failed to follow the tutorial

Posted: Fri Apr 12, 2019 5:16 am
by kodkodd
Next post images.
I followed this tutorial.

[url]http://lessons.livec*ode. com/m/4069/l/27733-the-basics-how-do-i-create-hello-world-on-android[/url]
[url]http://lessons.livec*ode. com/m/4069/l/985962-livecode-and-android-studio[/url]

Re: failed to follow the tutorial

Posted: Fri Apr 12, 2019 4:30 pm
by jacque
Livecode needs ARM architecture but your emulator is set to use x86. If you change the VM to use ARM it should work, everything else looks good.

Re: failed to follow the tutorial

Posted: Wed May 08, 2019 11:43 am
by kodkodd
I'm frustrated using livecode for android.
can we use it without creating a virtual device?
ARM architecture is very heavy on my computer

Re: failed to follow the tutorial

Posted: Wed May 08, 2019 12:06 pm
by bogs
I can't say for sure, but I seem to remember one of my friends whom I pointed to Lc saying he skipped the virtual device altogether for testing, and would load it directly onto his device.

Re: failed to follow the tutorial

Posted: Wed May 08, 2019 3:04 pm
by Lagi Pittas
Hi,

This thread will give you 5 ways to run an APK on Android (including a comfy pillow)

https://forums.livecode.com/viewtopic.p ... pk#p144605

Also (to save me typing) check this out
https://www.greenbot.com/article/245798 ... ablet.html

Lagi

Re: failed to follow the tutorial

Posted: Wed May 08, 2019 4:48 pm
by jacque
The fastest way now is to load the apk directly to the phone. I used to transfer via Dropbox but that's more steps.
  • Make sure standalone settings has Android selected and that your mainstack has focus. Use the charging cable to connect the phone to the computer.
  • Look in the Development menu - > Test Target and you should see the phone ID listed there. Select it.
  • Chose Test from the Development menu, or click the Test button in the top panel.
LC will build the apk, install it directly on the phone, and launch it.

Re: failed to follow the tutorial

Posted: Wed May 08, 2019 5:14 pm
by Lagi Pittas
Thanks Jacque,

I should RTFM (Read the Fine Manual) - I read it in the release notes probably a year ago even though it was added to in version 7.1.2 nearly three years ago - I only moved from 6 series about a year ago - skipped 7 and 8. - I have "Comfortable shoes" syndrome, and if it ain't broke why fix it until it is?

The Problem is if I don't use a new feature while fresh in the old noggin it seems to go to the Bitbucket - Not this time though thanks to you.

Thanks again Jacque

Lagi

Re: failed to follow the tutorial

Posted: Wed May 08, 2019 5:28 pm
by jacque
I'm afflicted with the same syndrome, but bug fixes and new features keep pushing me forward. It is, however, the main reason I haven't learned LCB yet. :-)

Re: failed to follow the tutorial

Posted: Fri May 10, 2019 5:55 am
by kodkodd
can someone confirm that I can build an android application without an android virtual manager??
I have followed the above method but it still fails.

Re: failed to follow the tutorial

Posted: Fri May 10, 2019 7:46 am
by jacque
kodkodd wrote:
Fri May 10, 2019 5:55 am
can someone confirm that I can build an android application without an android virtual manager??
I have followed the above method but it still fails.
Yes, I do it multiple times per day. If you describe what is going wrong, maybe we can help.

Re: failed to follow the tutorial

Posted: Sat May 11, 2019 4:44 pm
by kodkodd
I have followed the method but failed..My first post has explained how I did it. Until now I have not succeeded. Can you give the right step. So that I can use it on Android

Re: failed to follow the tutorial

Posted: Sat May 11, 2019 6:44 pm
by jacque
We need to know how it fails. Do you see an error message? Does LC complete the build but fails to open the emulator? Does it open the emulator but does not open the app? What exactly fails?

Re: failed to follow the tutorial

Posted: Sat May 11, 2019 6:52 pm
by kodkodd
my bad.

I succeeded after using Ubuntu to build Livecode. Thanks for your support

Re: failed to follow the tutorial

Posted: Wed May 15, 2019 12:04 pm
by kodkodd
jacque wrote:
Sat May 11, 2019 6:44 pm
We need to know how it fails. Do you see an error message? Does LC complete the build but fails to open the emulator? Does it open the emulator but does not open the app? What exactly fails?
why i always fail when save standalone for android using Windows. After run apk in my android phone. my apk can't open. But if i build using ubuntu. my apk running. I have tried all the tutorials but have not succeeded