APK creator

Discussion of tools and resources for game developers

Post » Tue Apr 29, 2014 4:15 pm

Steps to change icon and app name :

1) Download APKtool
2) decompile xdkhtml5test.android.crosswalk.arm.20140106171902.apk
run - apktool d <.apk file>
4) cd xdkhtml5test.android.crosswalk.arm.20140106171902
6) You can remove permissions in "AndroidManifest.xml".
5) cd res
6) make your icon.png file of 96x96 resolution
7) copy icon file in all drawable<-hdpi/-ldpi/-mdpi/-xhdpi> folders
8) cd values
9) open strings.xml in notepad and change "app_name" :
<string name="app_name"><your app name></string>
10) save file
11) recompile xdkhtml5test.android.crosswalk.arm.20140106171902.apk
run - apktool b xdkhtml5test.android.crosswalk.arm.20140106171902 xdkhtml5test.apk
12) Now sign the apk
java -jar signapk.jar testkey.x509.pem testkey.pk8 xdkhtml5test.apk xdkhtml5test.signed.apk
13) make sure to copy xdkhtml5test.signed.apk copy in "srcapk" folder
14) remove folder if any inside "srcapk"
15) make sure to keep only 1 .apk in "srcapk" folder
16) run go.bat
Image
B
53
S
12
G
2
Posts: 259
Reputation: 5,041

Post » Tue Apr 29, 2014 11:39 pm

@socialpilgrim
Thanks for solving this. You rock. I am much excited about this.
B
90
S
18
G
9
Posts: 2,455
Reputation: 15,038

Post » Wed Apr 30, 2014 3:06 pm

Anything that makes it easier to build game APKs is awesome. After reading the various tutorials(crosswalk, cocoon, ejecta) I found that it's easier to use Construct 2 for game making than those 3rd party programs for APK building. I'd pay to have Construct have native APK building support, that would be bad ass!
B
21
S
5
G
1
Posts: 102
Reputation: 1,746

Post » Wed Apr 30, 2014 3:13 pm

:shock: I am bookmarking this page! Huhu, will return to it and check for updates once my game reaches that stage :D
B
46
S
23
G
31
Posts: 693
Reputation: 20,637

Post » Sun May 04, 2014 3:49 pm

Thanks you
B
65
S
9
G
7
Posts: 176
Reputation: 8,924

Post » Thu May 15, 2014 4:30 pm

It's a bright start but using html5toapp builder will generate a larger size than the Intel XDK ( crosswalk ) or CocoonJS ;)
B
159
S
27
G
17
Posts: 916
Reputation: 32,666

Post » Fri May 16, 2014 12:37 am

I don't know why Ashley doesn't use this method for compiling APK's for C2 IDE. It should be. NodeWebkit uses a similar method to this. So why not. Oh well.
B
90
S
18
G
9
Posts: 2,455
Reputation: 15,038

Post » Fri May 16, 2014 4:14 am

I think the problems with the use of:
- app.keystore,
- size generated,
etc.
B
159
S
27
G
17
Posts: 916
Reputation: 32,666

Post » Fri May 16, 2014 8:35 pm

Are you sure you know what your talking about?

1. Users can create there own keystore and drop it into a folder. Then the C2 can just make a reference. Actually XDk also requires the user involvement for a proper keystore .


2. I don't know why you are on this size kick. But XDK uses a full Chrome browser at apx 17mb. This does not count the game. This method uses the same chrome.apk that XDK uses and produces an apk apx the same output size. It's literally right there in size

decompile > xdk < html5test.android.crosswalk.arm.20140106171902.apk

uses the same APK that XDk does.

I will also add that the reason CJS is a smaller APK pack. Is because CJS only has 1/3 the features of a full browser.
B
90
S
18
G
9
Posts: 2,455
Reputation: 15,038

Post » Fri May 16, 2014 8:56 pm

This looks quite promising, One question, how is it different to Crosswalk from XDK (plugins, options etc.)?
Because to be honest I'm tired of XDK and their workflow - send file somewhere, wait for compile, hen download it again... Maybe it's fine if you have fast internet connection, but for me it takes about 8 minutes to send 2mb file, XXX time to compile and about 14 minutes to download 20MB file...
I've been testing things yesterday with C2 and my galaxy S3, 10 builds altogether and they all took about 4 hours to send/build/download!

That's why I'm asking. If exported build works the same like from XDK I'll be happy to switch over and not waste half a day for stupid tests only.
ImageImageImageImage
B
158
S
66
G
43
Posts: 2,603
Reputation: 35,868

PreviousNext

Return to Tools and Resources

Who is online

Users browsing this forum: No registered users and 0 guests