apk not installing

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
nav243
Posts: 5
Joined: Mon Jun 03, 2013 2:14 pm

apk not installing

Post by nav243 » Mon Jun 03, 2013 2:41 pm

Hi all,

I'm attempting to get an application working on android. When I test it from within LiveCode, it installs and runs correctly on all devices. I'm now working on creating an apk. The apk is signed and creates fine, but when I try to install it to my phone from the apk file in dropbox, I get a "Parse error." When I try to install from the same apk uploaded to gmail, It simply says "App not installed." When I try to install from an apk saved to the phone, I get the same "App not installed" message. I'm not sure where to start looking for the problem.

Thanks in advance for any advice.

dave_probertGA6e24
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 328
Joined: Mon Dec 05, 2011 5:34 pm
Location: Thailand
Contact:

Re: apk not installing

Post by dave_probertGA6e24 » Mon Jun 03, 2013 5:15 pm

First thing to do is make sure you are signing it correctly - that's the usual cause of most failed installations of APK's.

Cheers,
Dave
Coding in the Sun - So much Fun.
Visit http://electronic-apps.info for released App information.

nav243
Posts: 5
Joined: Mon Jun 03, 2013 2:14 pm

Re: apk not installing

Post by nav243 » Mon Jun 03, 2013 6:06 pm

I've created a keystore and set it up to sign within the standalone application settings. As far as I can tell, it is being signed correctly.

I just created a new keystore and signed the application with that one. I saved it as a standalone and again it saves just fine.

I get the same error.

Is there something I'm overlooking in this process that might be causing the issue?

nav243
Posts: 5
Joined: Mon Jun 03, 2013 2:14 pm

Re: apk not installing

Post by nav243 » Tue Jun 04, 2013 12:31 am

I've solved this problem, but the solution doesn't make any sense.

I've been developing on a pc. I switched over to a mac, and, without making any changes, saved the standalone application there. I even used the same keystore file. It worked fine, so I went back to the PC and created the apk there again. It simply doesn't work when I build it on windows. I have no idea why.

So, there's the solution, in case anyone else is having this problem. If anyone has any idea why this works, please let me know. I'm amazed that this is the solution.

Cairoo
Posts: 107
Joined: Wed Dec 05, 2012 5:54 pm

Re: apk not installing

Post by Cairoo » Mon Aug 05, 2013 12:49 pm

I had the same issue and in my case JDK 7 was the culprit.
I just uninstalled JDK 7 and installed JDK 6, saved my standalone again and voila - the .apk installed successfully on my device.

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7239
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: apk not installing

Post by jacque » Thu Aug 03, 2023 4:39 pm

If you still have a older version of the app on the phone, uninstall it and try again. Dropbox doesn't allow app installs in most cases so use another method.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Klaus
Posts: 13829
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: apk not installing

Post by Klaus » Thu Aug 03, 2023 4:48 pm

Hi Jacque,

that was just a spammer who shamelessly copied and pasted the very first posting here from 2013. 8)


Best

Klaus

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7239
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: apk not installing

Post by jacque » Thu Aug 03, 2023 4:58 pm

Oh well. It's good advice anyway. You have better eyes than me, I didn't scroll back to the start of the thread.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

SWEdeAndy
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 261
Joined: Sat Aug 16, 2008 9:48 am
Location: Stockholm, Sweden
Contact:

Re: apk not installing

Post by SWEdeAndy » Sat Aug 05, 2023 8:03 am

Oh dear, the spammers are going meta... :roll:

funnyForumSpammer.png
(Screenshot, as Klaus will soon clean this bot(chery) out :D )
Andreas Bergendal
Independent app and system developer
WhenInSpace: https://wheninspace.se

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7239
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: apk not installing

Post by jacque » Sat Aug 05, 2023 5:03 pm

I had to laugh. This reminds me of what happens when you stand between two mirrors.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

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

Re: apk not installing

Post by SparkOut » Sat Aug 05, 2023 7:02 pm

I wonder whether spambot AI algorithms include a sense of comic irony. It *almost* seems deliberate.

Post Reply

Return to “Android Deployment”