LiveCode for FM Guide Ben Lui

Your Android Phone Settings

Updated Jun 01, 2021

The aim of the Fast Start option is to get your app onto your Android phone with the minimum effort. To do this you are going to need to plug a phone into your computer or set up an Android x86-64 Simulator, and it needs to be set up to receive your LCFM Native app. Before you can install your app on your phone, you need to make a few changes to the settings.

Note: You need an Android device and a cable to plug it into your computer, the device must be running at least Android 7 (nougat) and we recommend a higher end device at this stage of development of LCFM Native. A score of 600 or more is recommended on Geekbench.

Become a Developer

You need to turn on developer access on your phone. This may differ between phones and devices, here is how I did it on my phone. 

Note: If this doesn't work for you, google the exact make and model of device you are using for instructions on how to become a developer for that particular device.

Go to Settings, and scroll down to click on "System".

Scroll down to "About Phone" and click on this.

Scroll down to "Build number" and click this 7 times. You should see it starts to tell you "you're about to become a developer". Once you've clicked 7 times, Developer Options should appear in your System settings.

Turn on USB Debugging

Next, you need to locate and turn on USB Debugging, in your newly enabled Developer options. Scroll down until you find it, and turn it on.

Allow Unknown Apps

To install the new apps you are going to be creating, you need to find and turn on "allow unknown apps". Again, the location of this may vary from device to device, but here is where it is on my phone.

Go to Apps and Notifications

Go to Advanced

Go to Special app access

Go to Install unknown apps

I've chosen to go to Files, as I am intending to install my app by direct file transfer. You might want to enable Chrome if you're intending to download it, or Gmail, if you are going to email it to yourself.

Turn on Allow from this source.

Trust This Mac

Your final step is to connect your device to your Mac, using a USB lead. The first time you do this, you should see a dialog asking if you trust this computer. Confirm, and you are all set to start installing LCFM Native apps on your device.

Allow Always

You may also have a tick box on the allow screen, to Always Allow. Check this to ensure you can install apps on your device more than once.

What to do if you said NO

If you inadvertently click no to the above dialog, or refuse permission for an app to run at some point, or tell your Mac not to trust the device, you will see an error in LCFM like this:

Error: adb: device unauthorized means you didn't allow your device to talk to LCFM. To fix this you need to turn USB Debugging off and on again. Then you should be able to trigger the dialog again to allow access.

Previous Article Download and Install LCFM Native
Next Article Accessibility settings