Crosswalk Intel XDK experiences

Discussion and feedback on Construct 2

Post » Tue Aug 05, 2014 6:27 pm

If i check the option for XDK to sign the game, what kind of signature it gives? A debug signature? I don't see an option to link my keystore file for a proper signature . I admit I didn't look too hard:)
B
79
S
21
G
23
Posts: 513
Reputation: 18,648

Post » Tue Aug 05, 2014 7:29 pm

@bscarl88 as long as you name the project in xdk the same as before it should work or atleast it did for me
B
42
S
17
G
2
Posts: 850
Reputation: 6,209

Post » Tue Aug 05, 2014 8:20 pm

and how do you sign an apk yourself? is there a simple tool to do this or you have to type line commands ?
B
43
S
11
G
4
Posts: 428
Reputation: 7,454

Post » Tue Aug 05, 2014 8:39 pm

you need android sdk for that, but the signing of xdk is not a debug signature, i uploaded a few apks to production in google play using xdk signing with no problems.
Image
B
74
S
28
G
12
Posts: 515
Reputation: 12,359

Post » Wed Aug 06, 2014 4:07 am

Cipriux wrote:If i check the option for XDK to sign the game, what kind of signature it gives? A debug signature? I don't see an option to link my keystore file for a proper signature . I admit I didn't look too hard:)


It always sign it for release not debug. The signature is unique to your email/ID that you register with XDK, so it can be used to update your apps later as well.
B
70
S
24
G
19
Posts: 1,757
Reputation: 17,614

Post » Wed Aug 06, 2014 11:14 am

@Silverforce Thanks for the info. Does it also zipalign the apk?
B
79
S
21
G
23
Posts: 513
Reputation: 18,648

Post » Wed Aug 06, 2014 12:10 pm

I downgraded to old version:
xdk_web_win_master_0876
http://dl.free.fr/tZQWbKIxN

No problem with touch back or loadUrl for crosswalk export
B
18
S
4
Posts: 84
Reputation: 2,085

Post » Wed Aug 06, 2014 12:22 pm

bjadams wrote:and how do you sign an apk yourself? is there a simple tool to do this or you have to type line commands ?

Get the android sdk and java sdk..

The command lines are:

keytool -genkey -v -keystore C:\YOURPATH\YOURAPP_DEBUG.keystore -alias YOURUSER -keyalg RSA -keysize 2048 -validity 10000

keytool -genkey -v -keystore C:\YOURPATH\YOURAPP_PRODUCTION.keystore -alias YOURUSER -keyalg RSA -keysize 2048 -validity 10000

jarsigner -verbose -keystore C:\YOURPATH\YOURAPP_PRODUCTION.keystore -storepass YOURPASSW -keypass YOURPASSW C:\YOURPATH\YOURAPP.apk YOURUSER

zipalign -v 4 C:\YOURPATH\YOURAPP.apk C:\YOURPATH\YOURAPP_RELEASE.apk

Once you have a key you just need to sign and zipalign....
B
25
S
7
G
2
Posts: 64
Reputation: 2,624

Post » Wed Aug 06, 2014 12:31 pm

Cipriux wrote:@Silverforce Thanks for the info. Does it also zipalign the apk?


Signed & zipaligned, ready for upload to Google Store.
B
70
S
24
G
19
Posts: 1,757
Reputation: 17,614

Post » Wed Aug 06, 2014 12:48 pm

bjadams wrote:and how do you sign an apk yourself? is there a simple tool to do this or you have to type line commands ?


https://www.scirra.com/tutorials/861/ho ... id-app-apk

Read this ;)
B
12
S
3
G
1
Posts: 188
Reputation: 1,377

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: fearfulelephants, Refeuh and 9 guests