Installation of apk

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Silvius
Posts: 7
Joined: Tue Jun 14, 2022 7:59 pm

Installation of apk

Post by Silvius » Tue Jun 14, 2022 8:10 pm

I am new to this Forum, and i hope, i have found the right place for may problem.
Until some weeks ago i could install Livecode-Apk's on my Android handy, Installation from unkown sources. No Problem. But since the beginning of May the Device has installed Android 11 due to an system-update. SInce then direct installation from Apk's without Play Store is not possible any more. I have granted installation-permission to my file manager.
Help would be welcomed!
Thanks

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7393
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Installation of apk

Post by jacque » Wed Jun 15, 2022 9:59 pm

What file manager do you use? I use Solid Explorer (highly recommended) and after giving permission it can install apks. Also, if you copy your apk to Google Drive you can open the Drive app on your Android device and it will install apps. You may need to give Drive permission to do installations, it should ask you the first time you try.

One more thing: you may have an older copy on your device. Delete the old copy before trying to install the new one. You can avoid that problem by increasing the build number in Android standalone settings. Android won't install a second copy of an app if the build number is the same.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Silvius
Posts: 7
Joined: Tue Jun 14, 2022 7:59 pm

Re: Installation of apk

Post by Silvius » Thu Jun 16, 2022 4:16 pm

Hi jacque,
thank you for your reply. I have now installed SOlid Explorer and granted the permission, to install unkown sources, but still cannot install the APK. On my older handy with Android 8 i can install without problem. So i assume, that this is can be attributed to some special features of Android 11, and maybe i have to correct some of the standalone settings, but still do not, which ones.

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7393
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Installation of apk

Post by jacque » Thu Jun 16, 2022 5:30 pm

What happens when you try to install? Do you get an error message, or does nothing happen? If you see an error message, what does it say?

What is the minimum required OS in the Android standalone settings? And what signing certificate do you use? Also, is the version name unique to this app or are you using the default LC entry?
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

PaulDaMacMan
Posts: 683
Joined: Wed Apr 24, 2013 4:53 pm
Contact:

Re: Installation of apk

Post by PaulDaMacMan » Fri Jun 17, 2022 2:31 am

Perhaps the update wiped out dev mode and that developer mode "Easter egg" needs to be reapplied? Just a guess.
I'm on Apple for mobile devices now so I haven't been keeping up on Android updates lately.
My GitHub Repos: https://github.com/PaulMcClernan/
Related YouTube Videos: PlayList

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7393
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Installation of apk

Post by jacque » Fri Jun 17, 2022 5:29 pm

USB debugging ("developer mode") is required when testing apps using the Test button and a phone cabled to the computer. It shouldn't be necessary when sideloading an apk. But maybe we'll know more when we get info about standalone settings.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Silvius
Posts: 7
Joined: Tue Jun 14, 2022 7:59 pm

Re: Installation of apk

Post by Silvius » Fri Jun 17, 2022 11:54 pm

Hi jacque, hi Paul
my signing was "signing for development only". Then i have made the following changes:
I have changed the identifier, the Version name and the version code. But the mobile phone is new and the app has never been installed on it before. So i am not sure, that this has any effect. Then i have checked all the checkboxes for the "Build for", in my case Android armv7, Android arm64, Android x86 and Android x86_64.
Now it works. I dont know exactly, what change has made it work, but i am glad!

Thank you very much for your kind help
Regards Silvius

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7393
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Installation of apk

Post by jacque » Sat Jun 18, 2022 12:11 am

I'm glad it works now. You probably don't need the x86 architectures, almost no phones use it now. Your new phone is almost surely arm64 but building for both arm architectures will allow it to run on older phones as well as Chromebooks. Removing the x86 architectures will make building faster too, but it won't hurt to include them.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10115
Joined: Fri Feb 19, 2010 10:17 am

Re: Installation of apk

Post by richmond62 » Sat Jun 18, 2022 9:19 am

Yesterday, in a fit of lunacy I decided to install 'Onitama' on one of my Android devices:

https://m.apkpure.com/onitama-the-strat ... al.onitama

now this is unobtainable through the Android Play Store, so it has to be downloaded from that
website.

When I downloaded that .apk file and clicked on it in my file browser to install it, it told me
what permissions I had to grant it via my systems settings.

This is very helpful:

https://youtu.be/kDkV3jBYi2c

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10115
Joined: Fri Feb 19, 2010 10:17 am

Re: Installation of apk

Post by richmond62 » Sat Jul 29, 2023 11:52 am

Hey-Ho:

"Sometimes it has flaws that make me feel very uncomfortable. But I fixed it. You should look in the game settings."

I am not sure who that is meant to help as it is not obvious if anyone on this thread is a Castilian speaker.
Last edited by richmond62 on Sat Jul 29, 2023 10:33 pm, edited 1 time in total.

Klaus
Posts: 14206
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Installation of apk

Post by Klaus » Sat Jul 29, 2023 12:56 pm

That was a Castilian spammer! 8-)

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10115
Joined: Fri Feb 19, 2010 10:17 am

Re: Installation of apk

Post by richmond62 » Sat Jul 29, 2023 10:34 pm

Well at least it makes a change from a Russian one. :lol:

marry2
Posts: 1
Joined: Mon Oct 09, 2023 9:13 pm
Contact:

Re: Installation of apk

Post by marry2 » Mon Oct 09, 2023 9:22 pm

Why can't I install LiveCode APKs on my Android 11 device, even though I have granted installation permission to my file manager? please let me know

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7393
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Installation of apk

Post by jacque » Tue Oct 10, 2023 5:59 pm

marry2 wrote:
Mon Oct 09, 2023 9:22 pm
Why can't I install LiveCode APKs on my Android 11 device, even though I have granted installation permission to my file manager? please let me know
On the off chance this is not a bot: there is not enough info to answer the question. Describe what you have tried and what doesn't work.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

SparkOut
Posts: 2949
Joined: Sun Sep 23, 2007 4:58 pm

Re: Installation of apk

Post by SparkOut » Tue Oct 10, 2023 8:29 pm

jacque wrote:
Tue Oct 10, 2023 5:59 pm
On the off chance this is not a bot:
That is a very slim chance, methinks

Post Reply