Signing APK Files

Get help using Construct 2

Post » Fri May 10, 2013 8:38 pm

Hey everyone,
Can anyone show me where I can download the Keytool, Jarsigner and Zipalign tool? And then how to get to the console. I may have already downloaded it with the Android SDK?

Ugh so confusing!
B
56
S
15
G
13
Posts: 826
Reputation: 17,645

Post » Fri May 10, 2013 9:44 pm

You need to download JAVA

http://www.java.com/en/download/manual.jsp

B
101
S
32
G
11
Posts: 1,546
Reputation: 21,667

Post » Fri May 10, 2013 9:54 pm

Okay, I have done all the Java stuff. I have made the keystore file and signed my .apk

I just cant figure out how to Zipalign the apk. Its saying to do it in the Project window but I don't have a project. This apk was built from CocoonJS.

EDIT
AHHH! Four hours later it is all working! w00t w00t, thanks for the reply.Tekniko2013-05-10 23:03:12
B
56
S
15
G
13
Posts: 826
Reputation: 17,645

Post » Mon Dec 16, 2013 2:43 pm

Hi! I downloaded JDK today and tried to use the keytool. When I run it from the JDK folder it says it can't find the specified c:\android\xxxx.keystore and when I enter the "keytool" command in command line (like descriped in CocoonJS guide) it says its an unknown command. I tried setting the JAVA_HOME environmental variable but this did not seem to work either (for user and global).

Any tips how to make this work?
Bl4ckSh33p-Soft - Custom Software and Indie Games
B
56
S
16
G
6
Posts: 740
Reputation: 9,304

Post » Mon Dec 16, 2013 2:58 pm

I tried it again and it worked this time following this tutorial: https://www.scirra.com/tutorials/432/android-games-with-cocoonjs

But it would be nice if you could just enter the command anywhere. Does this work with the env. variables somehow?
Bl4ckSh33p-Soft - Custom Software and Indie Games
B
56
S
16
G
6
Posts: 740
Reputation: 9,304


Return to How do I....?

Who is online

Users browsing this forum: dop2000 and 47 guests