how to use the apk generated

Hi Friends,

I am new to the development so i am not aware about few things.

1 - i have developed the game and also build it with Debug key. now how can i check it with my cell phone? Please tell me in detail

2 - also i wanted to know how can i generate the key for building in release mode?

Hoping for your reply soon

Thanks
Varun [import]uid: 130269 topic_id: 24063 reply_id: 324063[/import]

Are you on Mac or PC?

For getting the key for building if you are on a Mac I have a tutorial right here: http://techority.com/2011/09/24/how-to-generate-a-key-for-your-android-app/

For getting it onto your phone I find the easiest way is using dropbox or emailing it to yourself.

You can do it via USB as well although I recall that has some extra steps.

Peach :slight_smile: [import]uid: 52491 topic_id: 24063 reply_id: 97266[/import]

hi peach

Thanks for the reply i did as u said for getting app on my phone but i am facing problem in installing. Installation process is properly done but when i execute the game i show its not installed.

can you help me out with it?

Thanks
varun [import]uid: 130269 topic_id: 24063 reply_id: 97312[/import]

Hey Varun,

One important step you must take with Android is to make sure the phone will allow installation of non-market apps.

For this, go;

Settings > Applications

There you should see an option like “Unknown Sources” - make sure that is ticked.

Can you please do that and get back to me?

If you are still having an issue let me know about any error messages or what specifically is happening and will do my very best to help you get this fixed :slight_smile: [import]uid: 52491 topic_id: 24063 reply_id: 97356[/import]

Hi Peach,

It worked as u said but now when i am trying to launch the game it show director class error. but when i check in corona it does not show any error.

Can you please suggest what might be the problem?

Regards
Varun [import]uid: 130269 topic_id: 24063 reply_id: 97462[/import]

Hi peach,

One more thing I would like to tell u that when I build game with latest version of corona it’s not getting installed while if I use older version 377 for windows than it get installed but on execution it shows error
“failed to execute new(params) function on menu”

Please help me out with this.

Regards
Varun [import]uid: 130269 topic_id: 24063 reply_id: 97477[/import]

Hey Varun,

When you get a Director class error you need help with you must ask about it in the Director sub forum we have, OK?

Because it is third party we don’t provide official support for it.

It will turn out to be an error in your code, this happens sometimes when using Director and throws this error - but for further help you should use that forum.

I hope this helps,
Peach :slight_smile: [import]uid: 52491 topic_id: 24063 reply_id: 97495[/import]

hi peach ,

My director class error is solved but now am getting other error while launching game in my phone. error is:

“Unexpected error. Try reload the game again”

Regards
Varun [import]uid: 130269 topic_id: 24063 reply_id: 97843[/import]

Is that error on Android? If so you may want to get more information using adb logcat.

If it is on iOS you can see logs in Xcode.

They may provide some insight on the cause of the error.

I assume simulator throws no errors? :slight_smile: [import]uid: 52491 topic_id: 24063 reply_id: 97865[/import]

Hi peach,

Its android only. i ll try with abd logcat see whats the error.

Thanks [import]uid: 130269 topic_id: 24063 reply_id: 97877[/import]