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 / Need help compiling for Android

Author
Message
easter bunny
12
Years of Service
User Offline
Joined: 20th Nov 2012
Playing: Dota 2
Posted: 12th Dec 2012 03:39 Edited at: 12th Dec 2012 03:43
I'm having a lot of trouble trying to compile my project for android, I can't download all the files because my internet is slow, they are online installers, and my computer crashes every few hours. So I can't download them on another computer, and if I download them onto my computer, It crashes before the download is finished. It seems to me that the easiest way to compile for android is by importing your project onto freedom-engine.com, But my project is more then 10Mb and more then 4000 lines of code (it's 22Mb and 5000 lines), So I can't use the free account, and I don't really want to pay $5.00 a month when I already bought AppGameKit, I will if I have to, but is there any other way I can compile it?

There are 10 types of people, those who understand binary and those who don't
JimHawkins
15
Years of Service
User Offline
Joined: 26th Jul 2009
Location: Hull - UK
Posted: 12th Dec 2012 10:40
This may sound daft, but find a friend with a better connection, download the files, put them on a pen drive and then copy to your computer...

-- Jim DO IT FASTER, EASIER AND BETTER WITH AppGameKit FOR PASCAL
easter bunny
12
Years of Service
User Offline
Joined: 20th Nov 2012
Playing: Dota 2
Posted: 12th Dec 2012 23:25
That would work, but some of them are online installers (such as cygwin), so you download the small installer (about 500Kb), then run it, and it download all of the few hundred Mb's onto your computer and then installs it. This means that you can't download it from another computer, unfortunatly.

There are 10 types of people, those who understand binary and those who don't
JimHawkins
15
Years of Service
User Offline
Joined: 26th Jul 2009
Location: Hull - UK
Posted: 13th Dec 2012 00:22
You could switch to Pascal. Doesn't need cygwin!

-- Jim DO IT FASTER, EASIER AND BETTER WITH AppGameKit FOR PASCAL
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 13th Dec 2012 03:43
I use cygwin myself, so am not 100% sure, but from what I have read here you can actually use eclipse instead for those cygwin compile steps. So it may be possible to avoid it altogether.
Also I believe they dropped the 4000 line limit now, it is still limited to 10mb though. Perhaps you could use eclipse with a trimmed down project and then get the app to download the bulk of game data after it is installed?

ICERGB
22
Years of Service
User Offline
Joined: 8th Nov 2002
Location: Canada
Posted: 13th Dec 2012 21:42
Cygwin has a compile limit of 4000 lines of code and 10mb?
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 13th Dec 2012 22:07
Quote: "Cygwin has a compile limit of 4000 lines of code and 10mb?"


I doubt that. I think that applies to using the online Freedom Engine to compile and build apks and stuff.

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master
JimHawkins
15
Years of Service
User Offline
Joined: 26th Jul 2009
Location: Hull - UK
Posted: 13th Dec 2012 23:35
I agree with Ancient Loveliness. Cygwin is a Unix shell for Windows. It knows nothing about compiles.

Exactly why Cygwin is needed at all defeats me. I don't have it, and I can produce APKs out of Eclipse with no problems. I would like to make the AppGameKit for Pascal do what Monkey and others do, which is use Ant to compile the APK, and not even need Eclipse at all.

-- Jim DO IT FASTER, EASIER AND BETTER WITH AppGameKit FOR PASCAL
easter bunny
12
Years of Service
User Offline
Joined: 20th Nov 2012
Playing: Dota 2
Posted: 14th Dec 2012 00:49 Edited at: 14th Dec 2012 00:49
I think that's a good idea DVader, I could reprogram the app so it downloads all the files from a server if they don't exist, then delete some of the files, so it's less then 10Mb's. Then I could compile it with FE.

There are 10 types of people, those who understand binary and those who don't
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 14th Dec 2012 02:26
Glad to help! I did mean freedom everyone they dropped the 4000 code limit for free users.

easter bunny
12
Years of Service
User Offline
Joined: 20th Nov 2012
Playing: Dota 2
Posted: 14th Dec 2012 03:18
I've finished reprogramming it, (only tested it on localhost with xampp so far).
Isn't that a bit ironic though, I hate online installers with a passion, but I'm doing it that way anyhow

There are 10 types of people, those who understand binary and those who don't

Login to post a reply

Server time is: 2024-11-24 03:48:24
Your offset time is: 2024-11-24 03:48:24