Page 2 of 2

Re: App to Android Issue

Posted: Sat Jun 30, 2012 8:20 am
by Nick Johnson
If the keystore is correctly entered to the app, LiveCode should ask for the passwords when it is building. If it doesn't ask for the password then livecode will think that the app isn't being built with a key. During the building process does it ask for the details of keystore? If not, check the standalone settings again, the path should be correct and make sure the popdown says "build with my key".

Re: App to Android Issue

Posted: Sun Jul 08, 2012 1:32 pm
by Curry
Same problem here. Uninstall JDK 7, install JDK 6, save standalone and let LiveCode sign it; works. Thanks for this tip!

Re: App to Android Issue

Posted: Sun Jul 29, 2012 3:30 pm
by SimpleLife
Is there any other solution than to change the JDK?

it's been almost a month now.

Re: App to Android Issue

Posted: Sat Jun 22, 2013 7:43 pm
by archer2009BUSknbj
Is there still issues using JDK 7?
I'm now running LiveCode 6.0.2 on Windows 7.

Is there a step by step tutorial anywhere on how to create a keystore file and then sign it -
I've created an Android app which works just fine and I want to put it on Google Play

I already have one App on google play but it was created using MIT Inventor and so MIT Inventor handled all the APK Signing so I didn't have to worry about any of this in MIT Inventor.

I have seen there is an option in MIT Inventor to DOWNLOAD my KeyStore file - do I use the same file for LiveCode Apps I create or do I need to do somethings from scratch?

It also asks me to provide an alias and password during signing on LiveCode but I have no idea what to enter for both the alias and password

Any help most gratefully received

Also are there less issues signing a LiveCode APK file using OSX as I have an Apple Mac I could use.

Re: App to Android Issue

Posted: Mon Jun 24, 2013 11:13 pm
by jacque
There's a lesson on it at the RunRev web site. It takes you through the process:

http://lessons.runrev.com/s/lessons/m/4 ... ndroid-app

Re: App to Android Issue

Posted: Tue Jun 25, 2013 12:14 am
by archer2009BUSknbj
To be honest I found those instructions a bit complicated and hard to follow .. However ...

I did find this handy tool which helped me sign my App - the only problem was it seemed to alter the quality of my PNG Files so my app works but looks fuzzy - espacially onmy Samsung Galaxy Note which has a huge screen, the original version of my app was pin sharp.

https://code.google.com/p/apptomarket/

http://amerkashi.wordpress.com/2011/02/ ... le-market/

Re: App to Android Issue

Posted: Tue Jul 16, 2013 8:53 am
by archer2009BUSknbj
archer2009BUSknbj wrote:To be honest I found those instructions a bit complicated and hard to follow .. However ...

I did find this handy tool which helped me sign my App - the only problem was it seemed to alter the quality of my PNG Files so my app works but looks fuzzy - espacially onmy Samsung Galaxy Note which has a huge screen, the original version of my app was pin sharp.

https://code.google.com/p/apptomarket/

http://amerkashi.wordpress.com/2011/02/ ... le-market/

I'm not sure why but I created a new App and now I can't seem to get APK to Market to work for me

Re: App to Android Issue

Posted: Mon Jul 22, 2013 8:32 pm
by jessamy99
Dear team,

I am having a slightly different problem, but related to the topic here.

I am using a Mac with Mountain Lion 10.8.4
LiveCode 5.5.5
Android installed and found by LiveCode
Java 1.6 found by LiveCode

I have built an app and want to deploy it for Android.
The app runs well in test mode on a device.
I am now trying to generate a key and sign it.

I have a question about the keytool first......

1. When using keytool, in terminal, I have found 2 different options in separate help docs.

$ keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000

or

keytool -certreq -exportcert -genkeypair -v -keystore release.keystore -alias appname -keyalg RSA -keysize 2048 -validity 10000

Which one should I use?

The keytool has managed to build each of these and I am asked in LiveCode for the passwords when building the standalone.

2. My second query.....

After building the apk file, I am having problems in using the zipalign tool.
I am getting the error...
Unable to open 'jessamy99/desktop/diving.apk' as zip archive

I tried zipping the apk file, but still got the same error.

If anyone can help I would be really grateful.

Thanking you all in advance.
Jessamy.

Update....

I have been able to use keytool, jarsigner and zipalign on my windows laptop.
This implies that java is not installed properly on my mac.

I did see a link to a download for java 1.6 for mac somewhere in this forum.
If anyone can point me to it, I will be eternally grateful!!

Thanking you all in advance,
Jessamy.