[SOLVED] Upload the beta version of a C2 game APK in Google

Get help using Construct 2

Post » Fri Aug 14, 2015 10:03 pm

Hi C2 fellas! ^^

I'm trying to upload the APK of the beta version of my game in the Google Play, but the Developer Console says that I need to run the zipalign in the APK (more precisely said "APK not aligned with the zipalign").

I discovered that I need to use some of the Android SDK Tools applications, such as Zipalign (duh!), but I'm not aware proceed in this case because it doesn't find any related tutorial.

Anyone here knows what should I do then?

Thank you in advance the attention and collaboration of all.
Last edited by lukezero on Sat Aug 15, 2015 2:47 am, edited 1 time in total.
B
39
S
9
G
3
Posts: 261
Reputation: 4,367

Post » Fri Aug 14, 2015 10:51 pm

Do you have the keystore ready?
B
93
S
31
G
11
Posts: 654
Reputation: 11,832

Post » Fri Aug 14, 2015 11:34 pm

@Iolva Not yet. :(

I don't know how to generate the Keystore.
B
39
S
9
G
3
Posts: 261
Reputation: 4,367

Post » Fri Aug 14, 2015 11:36 pm

Just for the record, I used Ludei to build my game project. ;)
B
39
S
9
G
3
Posts: 261
Reputation: 4,367

Post » Sat Aug 15, 2015 12:20 am

It does not matter how you build your game, at the end you will have you sign it and zipalign it
B
93
S
31
G
11
Posts: 654
Reputation: 11,832

Post » Sat Aug 15, 2015 12:30 am

This is the tutorial I followed:
https://www.scirra.com/tutorials/861/how-to-sign-and-align-your-android-app-apk

But anyway I'm going to give you some good advices:

1. I use the same keystore for all my games, it have a really strong password so there is no problem with that
2. Use the JDK version 6.45, that is the last version of Java 6. Don't try to use another version for sign the APK because they have problems signing APKs
3. Be sure to create a strong password, and keep in a safe place all the information of your keystore because if you lose the keystore file you are lost (you are not going to be able to update your app)

First read the tutorial, I know it can be difficult the first time but I have created a batch file to sign my APKs automatically (I will share it with you), but first try for yourself so you can understand what is happening
Last edited by Iolva on Sat Aug 15, 2015 12:43 am, edited 1 time in total.
B
93
S
31
G
11
Posts: 654
Reputation: 11,832

Post » Sat Aug 15, 2015 12:36 am

Thanks for the precious tips, @Iolva! :D

I read your tutorial with the three steps, but now how I should proceed in detail?
B
39
S
9
G
3
Posts: 261
Reputation: 4,367

Post » Sat Aug 15, 2015 12:44 am

This is the tutorial I followed:
https://www.scirra.com/tutorials/861/ho ... id-app-apk

Take your time, the first time you should how what it's going on. After that you can sign and align your APKs with a simple bat file (just like 3 seconds) :)
Last edited by Iolva on Sat Aug 15, 2015 12:45 am, edited 1 time in total.
B
93
S
31
G
11
Posts: 654
Reputation: 11,832

Post » Sat Aug 15, 2015 12:44 am

@Iolva The link below is the exact version of the Java SDK you speak?

http://www.oracle.com/technetwork/java/ ... 45-oth-JPR
B
39
S
9
G
3
Posts: 261
Reputation: 4,367

Post » Sat Aug 15, 2015 12:50 am

Your link is correct:
After that select from the top of the list this one:
"Java SE Development Kit 6u45"
Accept the License Agreement and download the correct version for your system x86 or x64
Then download
B
93
S
31
G
11
Posts: 654
Reputation: 11,832

Next

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 7 guests