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 to apk problem .... agk2 .

Author
Message
Waldemar Lima
11
Years of Service
User Offline
Joined: 27th Nov 2014
Location: Brasil
Posted: 4th Dec 2014 00:02
Hello Everyone ....
i have one problem to export my project to .APK !!!
someone help my ?

PrintC("Hello EveryOne !&quot
BuccaneerBob
AGK Developer
15
Years of Service
User Offline
Joined: 18th Aug 2010
Location: Canada
Posted: 4th Dec 2014 07:00
Are you getting an error of any sorts?

The more details you can provide, the quicker and better response you're likely to receive.

Feel free to reply with more details and I'll see if I can help!

-Rob

Robert Janes (Samu Games)
http://www.samugames.com/artifact
Multicoder
AGK Developer
11
Years of Service
User Offline
Joined: 25th Oct 2014
Location: Germany
Posted: 4th Dec 2014 14:04
The error message is attached as image
Maybe the code would be useful to help, too.

Yes, I am aware that I sound like a caveman to native english speakers
Pong Clone 2k14 {Android}
BuccaneerBob
AGK Developer
15
Years of Service
User Offline
Joined: 18th Aug 2010
Location: Canada
Posted: 4th Dec 2014 14:26
Interesting error.

Does this appear when you go to File > Export > To Android APK?

I'm not entirely sure the process behind their Exporter, but it sounds like it's using Java.

You can try some simple troubleshooting first.

1. Run AppGameKit as Administrator (Right Click -> Run as Administrator)
2. Ensure you have enough free memory (close background applications - restart computer - perhaps try using a clean boot state without any 3rd party startup programs or services running)

You could also try adding the -Xmx512M or 1024M variable in your system settings for JAVA

A) Start
B) Control Panel
C) System
D) Advanced System Settings
E) Advanced Tab
F) Click Environment Variables Button
G) Under System Variables click New
H) Variable Name _JAVA_OPTIONS
I) Variable Value -Xmx512M
J) Save and Restart computer

Robert Janes (Samu Games)
http://www.samugames.com/artifact
Waldemar Lima
11
Years of Service
User Offline
Joined: 27th Nov 2014
Location: Brasil
Posted: 4th Dec 2014 22:55
Hello Guys ... sorry for not send error details !!

this is a message of error : " Keytool program returned error : error occurred during initialization of VM
Could not reserve enough space for object heap " >>> this error occurred when I will generate a keystore ....

and thi is other error : "Failed to sign APK, is your keystore password and alias correct ?
(error: error occurred during initialization of VM
Could not reserve enough space for object heap) >>>> This error ocurred when i will export my project to .apk !!!

PrintC("Hello EveryOne !&quot
BuccaneerBob
AGK Developer
15
Years of Service
User Offline
Joined: 18th Aug 2010
Location: Canada
Posted: 5th Dec 2014 04:14
Definitely a Java issue at this point and not AppGameKit it's self.

Did you try the options I wrote in my previous post?

In the meantime, here are a few other steps.

1. Uninstall your existing Java Development kit
2. Download the latest JDK from here http://www.oracle.com/technetwork/java/javase/downloads/index.html
3. Open an elevated command prompt (Run cmd as Administrator)
4. Using command prompt, navigate to your C:/Program Files/Java/jdk1.8.0_25/bin
5. Type in the following command
keytool -genkey -v -keystore FILENAMEHERE.keystore -alias YOURALIASHERE -keyalg RSA -keysize 2048 -validity 10000
6. Follow the commands that appear for creating your Alias and Alias Password; write these down, you'll need it later!
7. In AppGameKit, use the newly created keystore (it should be in the bin directory). Where it says keystore Alias and Password, type in the Alias and Password you had just created.

Robert Janes (Samu Games)
http://www.samugames.com/artifact

Login to post a reply

Server time is: 2026-07-11 23:41:32
Your offset time is: 2026-07-11 23:41:32