Android application would fail to install when built on PC

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

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
genie
Posts: 108
Joined: Thu Dec 01, 2011 7:19 am

Android application would fail to install when built on PC

Post by genie » Wed Apr 03, 2013 12:59 am

So, I first built this app on a mac....save app as standalone....install on samsung galaxy tablet.... works perfectly!

But when I copied things to a windows PC (livecode file, key)...save app as standalone....install on tablet....tablet would prompt: "Application failed to install".

I was thinking that it is probably about the SDK, so I installed the Android SDK for windows again. But it still doesn't work.

What else could possibly be the reason? Anybody experiencing the same thing? Please help. :(


Thanks,
Genie

sturgis
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1685
Joined: Sat Feb 28, 2009 11:49 pm

Re: Android application would fail to install when built on

Post by sturgis » Wed Apr 03, 2013 5:24 am

If the app is already there on the tablet, there might be an issue in that it thinks that app is already installed. You might make sure it is not already there from the mac install (if you didn't change the identifier info in the settings they'll both have the same internal app id) that could be the issue. To test, find the existing version, remove it, then try the install again.

Not sure this is whats up, but its something to check. (or inversely, go into the standalone settings and change the app name and internal identifier and such then try again that way)

genie
Posts: 108
Joined: Thu Dec 01, 2011 7:19 am

Re: Android application would fail to install when built on

Post by genie » Wed Apr 03, 2013 10:15 am

sturgis wrote:If the app is already there on the tablet, there might be an issue in that it thinks that app is already installed. You might make sure it is not already there from the mac install (if you didn't change the identifier info in the settings they'll both have the same internal app id) that could be the issue. To test, find the existing version, remove it, then try the install again.

Not sure this is whats up, but its something to check. (or inversely, go into the standalone settings and change the app name and internal identifier and such then try again that way)
Thanks much, Sturgis!

Regarding having the app in the tablet already, well, it doesn't give an issue when I install APK (built from mac) over and over again. It just replaces it. It only doesn't install successfully when installing APK (built from windows)

But yeah... I'm gonna try changing internal app ID. I'll see if that works.


Regards,,
Genie

sturgis
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1685
Joined: Sat Feb 28, 2009 11:49 pm

Re: Android application would fail to install when built on

Post by sturgis » Wed Apr 03, 2013 3:01 pm

Yeah, could still be a related problem. Probably not it, but is the only thing i can think of at the moment.

genie
Posts: 108
Joined: Thu Dec 01, 2011 7:19 am

Re: Android application would fail to install when built on

Post by genie » Thu Apr 04, 2013 1:41 pm

Hi sturgis!

Update:

Tried to change the identifier...but the same thing...says "Application not installed!"

Couldn't this be related to SDK?

OR.. the keystore? Is it fine for keystore to be moved from one machine to another by itself?


Thanks,
Genie

genie
Posts: 108
Joined: Thu Dec 01, 2011 7:19 am

Re: Android application would fail to install when built on

Post by genie » Thu Apr 04, 2013 1:56 pm

Update:

I was able to install the app already when I use "sign for development only".

I am not sure but it was probably because of my keystore.


Regards,
Genie

Post Reply