Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Export Android Player from the IDE

Author
Message
JohnnyMeek
11
Years of Service
User Offline
Joined: 23rd Apr 2013
Location: Slovenia
Posted: 27th Feb 2017 08:30
It would be very useful to be able to export the Android player from the IDE. If you're trying to debug facebook code, you need to have the correct app name (com.xxx.xxx) and signed with your keystore. I use this quite often for the iOS versions, just export a signed player with the correct app name ( via the provisioning profile )

Mobiius
Valued Member
21
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 27th Feb 2017 09:12
You can export an android app from the IDE?
JohnnyMeek
11
Years of Service
User Offline
Joined: 23rd Apr 2013
Location: Slovenia
Posted: 27th Feb 2017 09:42
I want it exported without the media folder so that I can broadcast to it and connect the debugger.
Mobiius
Valued Member
21
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 27th Feb 2017 11:20
Try deleting your bytecode file before exporting, as it's this that turns the player into your app.
JohnnyMeek
11
Years of Service
User Offline
Joined: 23rd Apr 2013
Location: Slovenia
Posted: 27th Feb 2017 12:35
Thanks, I'll give it a try.
JohnnyMeek
11
Years of Service
User Offline
Joined: 23rd Apr 2013
Location: Slovenia
Posted: 27th Feb 2017 12:45
Deleting the bytecode file doesn't work, the export looks like it rebuilds it.
Mobiius
Valued Member
21
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 27th Feb 2017 13:22
Damn, sorry.
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 27th Feb 2017 14:34
Unfortunately there is no method to export just the player, but Mobiius is correct that deleting the bytecode during a normal APK export would do this. The bytecode is regenerated the second the export dialog is opened, so if you open the export dialog, then delete the bytecode, then export, you should be able to export a player.
JohnnyMeek
11
Years of Service
User Offline
Joined: 23rd Apr 2013
Location: Slovenia
Posted: 27th Feb 2017 16:17
Just tried this and it fails at startup, get the system message - 'Unfortunately, Slot Skilz has stopped'

Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 27th Feb 2017 16:42
It looks like it exported a valid player but when it tried to initialise the Firebase code it crashed out because the APK didn't have a Firebase config file (the player has a default one for the player package name). Adding a Firebase config to the export process that is valid for your package name should work.
JohnnyMeek
11
Years of Service
User Offline
Joined: 23rd Apr 2013
Location: Slovenia
Posted: 28th Feb 2017 07:10
Thanks, that worked.

Login to post a reply

Server time is: 2024-09-29 23:24:47
Your offset time is: 2024-09-29 23:24:47