APK App install fails - any ideas?

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

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Simon Knight
Posts: 854
Joined: Wed Nov 04, 2009 11:41 am
Location: Gunthorpe, North Lincs, UK

APK App install fails - any ideas?

Post by Simon Knight » Sun Feb 19, 2012 6:52 pm

Hi,
I have created my first Android application based on some of the instructional material from RevLive11. My app displays a google staticmap in an image well. The application works in the IDE and in two Andriod emulators but will not install on a Samsung Galaxy Tablet. One complication is that I don't have the tablet and have to email the apk file to a friend who has just purchased it. I have googled about the problem and can confirm that the galaxy has the "install unknown applications" ticked. The installation appears to be conducted by a default installer which reports "failed to install" with no other error messages.

The galaxy is running Android 3.2 and I selected 2.3.3 as the base build in the IDE as that is the only emulator version I could get to run.

Would anyone be willing to email me a confirmed working helloworld android application in the form of an apk file so that my friend can attempt to load it? My email is smk at anvic dot net .

My test file is at http://dl.dropbox.com/u/41900569/AndroidTest.apk

And I have attempted to attach my Livecode file to this post.

Where am I going wrong?
best wishes
Simon
Attachments
AndroidTest.livecode.zip
Works in IDE and emulator, unable to install on Galaxy
(45.46 KiB) Downloaded 221 times
best wishes
Skids

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: APK App install fails - any ideas?

Post by Mark » Sun Feb 19, 2012 9:38 pm

Hi Simon,

I'm unable to install your apk. You built an app with the setting "Sign with my key" but you didn't enter a key. If you sign for development only, then you should be able to install the app. Also, it is highly recommended to change the identifier to a reverse URL of which you know for sure that it is unique and consists of dots and alphanumeric characters only. There's a good chance that an app with identifier com.yourcompany.yourapp has been installed already and that may cause problems.

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Simon Knight
Posts: 854
Joined: Wed Nov 04, 2009 11:41 am
Location: Gunthorpe, North Lincs, UK

Re: APK App install fails - any ideas?

Post by Simon Knight » Sun Feb 19, 2012 11:06 pm

Hi Mark,

Many thanks - I will make the changes you recommend and see if they work. I'm sorry if I have missed these settings in the documentation.

Simon
best wishes
Skids

Simon Knight
Posts: 854
Joined: Wed Nov 04, 2009 11:41 am
Location: Gunthorpe, North Lincs, UK

Re: APK App install fails - any ideas?

Post by Simon Knight » Sun Feb 19, 2012 11:20 pm

Here is a link to a page that explains application signing : http://developer.android.com/guide/publ ... gning.html
best wishes
Skids

Post Reply

Return to “Android Deployment”