Page 1 of 1

Android application would fail to install when built on PC

Posted: Wed Apr 03, 2013 12:59 am
by genie
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

Re: Android application would fail to install when built on

Posted: Wed Apr 03, 2013 5:24 am
by sturgis
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)

Re: Android application would fail to install when built on

Posted: Wed Apr 03, 2013 10:15 am
by genie
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

Re: Android application would fail to install when built on

Posted: Wed Apr 03, 2013 3:01 pm
by sturgis
Yeah, could still be a related problem. Probably not it, but is the only thing i can think of at the moment.

Re: Android application would fail to install when built on

Posted: Thu Apr 04, 2013 1:41 pm
by genie
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

Re: Android application would fail to install when built on

Posted: Thu Apr 04, 2013 1:56 pm
by genie
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