Page 1 of 1

APK App install fails - any ideas?

Posted: Sun Feb 19, 2012 6:52 pm
by Simon Knight
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

Re: APK App install fails - any ideas?

Posted: Sun Feb 19, 2012 9:38 pm
by Mark
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

Re: APK App install fails - any ideas?

Posted: Sun Feb 19, 2012 11:06 pm
by Simon Knight
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

Re: APK App install fails - any ideas?

Posted: Sun Feb 19, 2012 11:20 pm
by Simon Knight
Here is a link to a page that explains application signing : http://developer.android.com/guide/publ ... gning.html