Building an Android .apk -file

Learn how to make certain types of games and use gameEditor.

Re: Building an Android .apk -file

Postby Behdadsoft » Sat Jan 04, 2014 6:16 pm

I appreciate your helpfulness. :)


You're welcome! :)
There is no possible way, if we found will make a way.

http://behdadsoft.com/
*******************************************************************
My Game : Star Wars 1.0

http://behdadgame.com/index.php?topic=3.0
User avatar
Behdadsoft
 
Posts: 207
Joined: Wed Dec 16, 2009 9:19 pm
Score: 2 Give a positive score

Re: Building an Android .apk -file

Postby MrJolteon » Mon Feb 03, 2014 9:40 am

friedfish wrote:one more thing though. how would I go about have multiple dat files? main.dat, game.dat, win.dat.

I would also like some information about this.
Join us on Discord!

Your local Community Janitor
User avatar
MrJolteon
 
Posts: 2277
Joined: Sat Aug 09, 2008 3:25 pm
Location: Page 400 of the interblag
Score: 100 Give a positive score

Re: Building an Android .apk -file

Postby lcl » Thu Feb 06, 2014 9:04 pm

MrJolteon wrote:
friedfish wrote:one more thing though. how would I go about have multiple dat files? main.dat, game.dat, win.dat.

I would also like some information about this.

To my knowledge, that isn't possible yet.
SABRE (semi-3D engine) official development topic: viewtopic.php?f=6&t=12644
A game project that utilizes SABRE: viewtopic.php?f=4&t=13297
User avatar
lcl
 
Posts: 2241
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 265 Give a positive score

Re: Building an Android .apk -file

Postby donknight678 » Sat Feb 15, 2014 9:08 pm

android is not a recognized command... any help?
donknight678
 
Posts: 3
Joined: Fri Aug 24, 2012 1:31 pm
Score: 0 Give a positive score

Re: Building an Android .apk -file

Postby lcl » Fri Mar 07, 2014 10:23 pm

donknight678 wrote:android is not a recognized command... any help?

Sorry for being so late..

You must have done something wrong before that.
Did you download geandroid, android SDK and apache ant?
SABRE (semi-3D engine) official development topic: viewtopic.php?f=6&t=12644
A game project that utilizes SABRE: viewtopic.php?f=4&t=13297
User avatar
lcl
 
Posts: 2241
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 265 Give a positive score

Re: Building an Android .apk -file

Postby knucklecrunchgames » Sat Mar 08, 2014 3:44 pm

lcl wrote:
donknight678 wrote:android is not a recognized command... any help?

Sorry for being so late..

You must have done something wrong before that.
Did you download geandroid, android SDK and apache ant?


I like your new profile pic
User avatar
knucklecrunchgames
 
Posts: 1124
Joined: Wed Nov 21, 2012 8:01 pm
Location: In gameEditor.exe
Score: 17 Give a positive score

Re: Building an Android .apk -file

Postby lcl » Sun Mar 09, 2014 3:13 pm

knucklecrunchgames wrote:I like your new profile pic

That's heavily off-topic, but thanks still! :D
SABRE (semi-3D engine) official development topic: viewtopic.php?f=6&t=12644
A game project that utilizes SABRE: viewtopic.php?f=4&t=13297
User avatar
lcl
 
Posts: 2241
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 265 Give a positive score

Re: Building an Android .apk -file

Postby lcl » Thu May 01, 2014 11:16 am

Now that game-editor.net is down, I uploaded my copy of geandroid to internet, and updated the link to link to that file instead of the file on game-editor.net.
SABRE (semi-3D engine) official development topic: viewtopic.php?f=6&t=12644
A game project that utilizes SABRE: viewtopic.php?f=4&t=13297
User avatar
lcl
 
Posts: 2241
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 265 Give a positive score

Re: Building an Android .apk -file

Postby Wertyboy » Fri May 02, 2014 12:01 pm

I followed the instructions carefully, but I got this error at STEP 10 D:
Image

Any ideas?
User avatar
Wertyboy
 
Posts: 543
Joined: Tue Jun 15, 2010 12:38 pm
Location: HCM City, Vietnam
Score: 44 Give a positive score

Re: Building an Android .apk -file

Postby lcl » Fri May 02, 2014 1:23 pm

It's pretty difficult to say just by that screen.
It seems to say something about the icons missing.

Try adding
a 36x36 png file to geandoid -> bin -> res -> drawable-ldpi
a 48x48 png file to geandoid -> bin -> res -> drawable-mdpi
a 72x72 png file to geandoid -> bin -> res -> drawable-hdpi

And do the same in the folders found from geandroid -> res.

Tell me if that doesn't work.
SABRE (semi-3D engine) official development topic: viewtopic.php?f=6&t=12644
A game project that utilizes SABRE: viewtopic.php?f=4&t=13297
User avatar
lcl
 
Posts: 2241
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 265 Give a positive score

Re: Building an Android .apk -file

Postby Tlozoot » Wed May 07, 2014 10:03 pm

lcl wrote:It's pretty difficult to say just by that screen.
It seems to say something about the icons missing.

Try adding
a 36x36 png file to geandoid -> bin -> res -> drawable-ldpi
a 48x48 png file to geandoid -> bin -> res -> drawable-mdpi
a 72x72 png file to geandoid -> bin -> res -> drawable-hdpi

And do the same in the folders found from geandroid -> res.

Tell me if that doesn't work.

I have exactly the same problem as above, and tried many different possibilities, without any luck.
It says the @drawable\icon is missing.
Even adding the 3 PNG files manually as mentioned above doesn't work.
Setup,bat is definitely correct, installed Ant, and the Java sdk and android sdk were already installed.
I also tried exporting to different formats, and in-game settings, and manually altering the androidmanifest file.

Any ideas?
Tlozoot
 
Posts: 2
Joined: Mon Aug 26, 2013 1:31 pm
Score: 0 Give a positive score

Re: Building an Android .apk -file

Postby Tlozoot » Wed May 07, 2014 10:13 pm

It works now.
I don't know how i managed, but it required ALOT of files to be manually altered.
Tlozoot
 
Posts: 2
Joined: Mon Aug 26, 2013 1:31 pm
Score: 0 Give a positive score

Re: Building an Android .apk -file

Postby Hydef » Thu May 15, 2014 1:41 pm

Should I download Android SDK with ADT? And I hope it doesn't need to download anything from online cuz I don't have a computer with Internet.

Thanks for answers.

Also... Does Android automatically scale? If I make a game at 480*800, and play it on a HD phone, will it scale larger and lose quality? And what happens if I play it on a lower resolution phone? Thanks.
Hydef
 
Posts: 11
Joined: Sat Dec 07, 2013 5:58 pm
Score: 0 Give a positive score

Re: Building an Android .apk -file

Postby rcrrich » Mon May 19, 2014 4:26 pm

I would like this to be apart of game-editor not like this but looks like that will be sometime I guess.
rcrrich
 
Posts: 1
Joined: Thu May 15, 2014 3:32 pm
Score: 0 Give a positive score

Re: Building an Android .apk -file

Postby lcl » Mon May 19, 2014 6:06 pm

Hydef wrote:Should I download Android SDK with ADT? And I hope it doesn't need to download anything from online cuz I don't have a computer with Internet.

Yes, you'll have to click "Download the SDK ADT Bundle for Windows", and yes, the SDK program will have to do some downloading in order for the application building to work.
Hydef wrote:Also... Does Android automatically scale? If I make a game at 480*800, and play it on a HD phone, will it scale larger and lose quality? And what happens if I play it on a lower resolution phone? Thanks.

The current version of geandroid is just a beta, and it doesn't do automatic scaling. This current version shouldn't be used for actually creating an application for being sold, because the port is unfinished and unoptimized and only able to build you a debug version of your game to test on your phone.
So no, it doesn't do automatic scaling.
rcrrich wrote:I would like this to be apart of game-editor not like this but looks like that will be sometime I guess.

It would require a lot of work to make Game Editor to build the application for you automatically, and most likely that is newer going to happen, since building it yourself isn't actually that complicated, especially won't be if the finished version of this ever gets done. But due to there being only one person working on Game Editor, the whole development of the Android port is on hold currently.
SABRE (semi-3D engine) official development topic: viewtopic.php?f=6&t=12644
A game project that utilizes SABRE: viewtopic.php?f=4&t=13297
User avatar
lcl
 
Posts: 2241
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 265 Give a positive score

PreviousNext

Return to Tutorials

Who is online

Users browsing this forum: No registered users and 1 guest