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
50
S
14
G
12
Posts: 813
Reputation: 16,764

Post » Fri May 10, 2013 9:44 pm

You need to download JAVA

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

B
94
S
29
G
11
Posts: 1,545
Reputation: 20,993

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
50
S
14
G
12
Posts: 813
Reputation: 16,764

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?
B
47
S
14
G
5
Posts: 635
Reputation: 8,017

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?
B
47
S
14
G
5
Posts: 635
Reputation: 8,017


Return to How do I....?

Who is online

Users browsing this forum: Colludium and 28 guests