Crosswalk CLI based Android export

Discussion and feedback on Construct 2

Post » Thu Aug 20, 2015 6:55 pm

Hi all,

Generally in my system Intel XDK is slower and I wanted some alternative way to export into APK. After checking many tutorials and solutions, I found Cordova + Crosswalk in CLI an awesome , quick and better combination for me.

https://crosswalk-project.org/documenta ... ova_4.html is the url that I followed.

I even tried adding natural C2 admob ads and YES it worked too.

I tested the apk in my 1st gen Moto G and the FPS made me smile. Yes it is 60FPS,

Friends, give your feedback on this method,

Thank you,
B
9
S
2
Posts: 59
Reputation: 763

Post » Fri Aug 21, 2015 5:32 pm

I look forward to hearing more about this! :D
Image
B
20
S
4
Posts: 382
Reputation: 2,974

Post » Fri Aug 21, 2015 5:36 pm

Actually these are the basic commands needed,
Code: Select all
cordova create appname com.example.appname appName
cd appname
cordova platform add android
cordova plugin add cordova-plugin-crosswalk-webview
cordova plugin add com.cranberrygame.phonegap.plugin.ad.admob


And here in the appname folder there will be a folder called "www". so, you just need to replace the contents of this folder with the "cordova exported files from C2"

Code: Select all
Cordova build
cordova run


And running the above 2 command will generate apk and run it with the attached android phone,
B
9
S
2
Posts: 59
Reputation: 763

Post » Sat Aug 22, 2015 5:09 pm

Hi,

Uploaded to Playstore with this APK compilation https://play.google.com/store/apps/deta ... oxesvsmind
B
9
S
2
Posts: 59
Reputation: 763


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 13 guests