Problems publishing first Android App

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

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
joel.epsteinBUS31vi
Posts: 135
Joined: Thu Sep 13, 2012 10:25 pm

Problems publishing first Android App

Post by joel.epsteinBUS31vi » Sat Nov 23, 2013 5:03 am

Hi all

I am new to Android development, so I would appreciate any advice that you might be able to provide.

I have developed a LiveCode application and have it working just perfectly in both the Android simulator and on an actual device. So I feel that I am at least on the right track.

So my next task is to get the application ready for the GooglePlay store. And this is where I am having some trouble.

The first problem I have is that when I build an Android standalone, it creates a file named (in my case) Lifeguard.app

I thought it was supposed to be a .apk file.

Also, on the website, I see instructions that state:
"Once you select Save as Standalone Application... you are prompted to specify a location into which to save your application. The generation process then builds your application and prompts you further for information required by the signing process. This is the alias that you specified when creating the key, the .keystore password and the private key password."
However, even though I'm building with the "sign with my key" option, and I've specified my .keystore file, I don't receive any prompts when I build the standalone.

So it seems that I may have already done something wrong at this point. Any advice?

But, not to be stopped, I decided to go ahead and compress the .app file. I verified the signing, used the zipalign tool and uploaded to GooglePlay. But I got the error:

failed because no AndroidManifest.xml

So, I think I'm fairly close, but am missing some key steps. I'd be very grateful for any advice.

Thanks so much.

Peace.

Joel

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: Problems publishing first Android App

Post by Simon » Sat Nov 23, 2013 6:58 am

Hi Joel,
I'm thinking you haven't selected Android in the standalone settings. You are correct it should be a .apk and you should be asked for the password of your keystore file.
I'm not sure but I think only iOS or Android can be selected at one time.

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

joel.epsteinBUS31vi
Posts: 135
Joined: Thu Sep 13, 2012 10:25 pm

Re: Problems publishing first Android App

Post by joel.epsteinBUS31vi » Sat Nov 23, 2013 4:30 pm

Hi Simon.

I appreciate your help. And you were absolutely right. I had both iOS and Android checked and only the iOS was getting built. I unchecked iOS and then everything worked like it was supposed to. Thanks so much.

Joel

Post Reply