Page 1 of 1

apk not installing

Posted: Mon Jun 03, 2013 2:41 pm
by nav243
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.

Re: apk not installing

Posted: Mon Jun 03, 2013 5:15 pm
by dave_probertGA6e24
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

Re: apk not installing

Posted: Mon Jun 03, 2013 6:06 pm
by nav243
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?

Re: apk not installing

Posted: Tue Jun 04, 2013 12:31 am
by nav243
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.

Re: apk not installing

Posted: Mon Aug 05, 2013 12:49 pm
by Cairoo
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.

Re: apk not installing

Posted: Thu Aug 03, 2023 4:39 pm
by jacque
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.

Re: apk not installing

Posted: Thu Aug 03, 2023 4:48 pm
by Klaus
Hi Jacque,

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


Best

Klaus

Re: apk not installing

Posted: Thu Aug 03, 2023 4:58 pm
by jacque
Oh well. It's good advice anyway. You have better eyes than me, I didn't scroll back to the start of the thread.

Re: apk not installing

Posted: Sat Aug 05, 2023 8:03 am
by SWEdeAndy
Oh dear, the spammers are going meta... :roll:

funnyForumSpammer.png
(Screenshot, as Klaus will soon clean this bot(chery) out :D )

Re: apk not installing

Posted: Sat Aug 05, 2023 5:03 pm
by jacque
I had to laugh. This reminds me of what happens when you stand between two mirrors.

Re: apk not installing

Posted: Sat Aug 05, 2023 7:02 pm
by SparkOut
I wonder whether spambot AI algorithms include a sense of comic irony. It *almost* seems deliberate.