App to Android Issue

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

Moderators: Klaus, FourthWorld, heatherlaine, robinmiller, kevinmiller

Nick Johnson
Posts: 16
Joined: Fri Jun 29, 2012 8:05 am

Re: App to Android Issue

Post by Nick Johnson » Sat Jun 30, 2012 8:20 am

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".

Curry
Posts: 109
Joined: Mon Oct 15, 2007 11:34 pm
Location: USA
Contact:

Re: App to Android Issue

Post by Curry » Sun Jul 08, 2012 1:32 pm

Same problem here. Uninstall JDK 7, install JDK 6, save standalone and let LiveCode sign it; works. Thanks for this tip!
Best wishes,

Curry Kenworthy

LiveCode Development, Training & Consulting
http://livecodeconsulting.com/

WordLib: Conquer MS Word & OpenOffice
SpreadLib: "Excel-lent" spreadsheet import/export
http://livecodeaddons.com/

SimpleLife
Posts: 15
Joined: Sat Jul 28, 2012 6:48 pm

Re: App to Android Issue

Post by SimpleLife » Sun Jul 29, 2012 3:30 pm

Is there any other solution than to change the JDK?

it's been almost a month now.

archer2009BUSknbj
Posts: 72
Joined: Sat Apr 06, 2013 8:09 am
Location: London

Re: App to Android Issue

Post by archer2009BUSknbj » Sat Jun 22, 2013 7:43 pm

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.

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 5024
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: App to Android Issue

Post by jacque » Mon Jun 24, 2013 11:13 pm

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
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

archer2009BUSknbj
Posts: 72
Joined: Sat Apr 06, 2013 8:09 am
Location: London

Re: App to Android Issue

Post by archer2009BUSknbj » Tue Jun 25, 2013 12:14 am

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/

archer2009BUSknbj
Posts: 72
Joined: Sat Apr 06, 2013 8:09 am
Location: London

Re: App to Android Issue

Post by archer2009BUSknbj » Tue Jul 16, 2013 8:53 am

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

jessamy99
Posts: 83
Joined: Thu Oct 25, 2012 3:23 pm

Re: App to Android Issue

Post by jessamy99 » Mon Jul 22, 2013 8:32 pm

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.

Post Reply

Return to “Android Deployment”