apk not installing
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
apk not installing
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.
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.
-
- Livecode Opensource Backer
- Posts: 328
- Joined: Mon Dec 05, 2011 5:34 pm
- Location: Thailand
- Contact:
Re: apk not installing
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
Cheers,
Dave
Coding in the Sun - So much Fun.
Visit http://electronic-apps.info for released App information.
Visit http://electronic-apps.info for released App information.
Re: apk not installing
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?
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
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.
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
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.
I just uninstalled JDK 7 and installed JDK 6, saved my standalone again and voila - the .apk installed successfully on my device.
-
- VIP Livecode Opensource Backer
- Posts: 7257
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: apk not installing
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
HyperActive Software | http://www.hyperactivesw.com
Re: apk not installing
Hi Jacque,
that was just a spammer who shamelessly copied and pasted the very first posting here from 2013.
Best
Klaus
that was just a spammer who shamelessly copied and pasted the very first posting here from 2013.
Best
Klaus
-
- VIP Livecode Opensource Backer
- Posts: 7257
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: apk not installing
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
HyperActive Software | http://www.hyperactivesw.com
-
- VIP Livecode Opensource Backer
- Posts: 264
- Joined: Sat Aug 16, 2008 9:48 am
- Location: Stockholm, Sweden
- Contact:
Re: apk not installing
Oh dear, the spammers are going meta...
(Screenshot, as Klaus will soon clean this bot(chery) out )
(Screenshot, as Klaus will soon clean this bot(chery) out )
Andreas Bergendal
Independent app and system developer
Free LC dev tools: https://github.com/wheninspace
WhenInSpace: https://wheninspace.se/en
Independent app and system developer
Free LC dev tools: https://github.com/wheninspace
WhenInSpace: https://wheninspace.se/en
-
- VIP Livecode Opensource Backer
- Posts: 7257
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: apk not installing
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
HyperActive Software | http://www.hyperactivesw.com
Re: apk not installing
I wonder whether spambot AI algorithms include a sense of comic irony. It *almost* seems deliberate.