Runtime icon indicating copy to clipboard operation
Runtime copied to clipboard

about android building

Open GG-coder889 opened this issue 12 years ago • 8 comments

could introduce building in android? and i can not find any mk file in the project...

GG-coder889 avatar Jul 22 '12 04:07 GG-coder889

Oh, the build files were deleted by a fault operation. We'll restore them soon, Thanks for reporting.

openaphid avatar Jul 22 '12 04:07 openaphid

okay,thanks,

GG-coder889 avatar Jul 22 '12 06:07 GG-coder889

and alos i have problem is why didn't use spidermonkey, so fas as i know it faster then jsc,and here is my link https://github.com/flywingsky/game2d,i had binding cocos2d-x use spidermonkey...,

GG-coder889 avatar Jul 22 '12 06:07 GG-coder889

SpiderMonkey was slower and unstable on iOS during our evaluation. It also generated larger binary executable files.

openaphid avatar Jul 22 '12 06:07 openaphid

i mean in android,i build it,and it about 2.3m, no so larger.i think it smaller than jsc

GG-coder889 avatar Jul 22 '12 07:07 GG-coder889

Please refer to our blog post. We wanted to use the same JavaScript engine on both platforms. That's why SpiderMonkey is not our choice on Android.

Plus we do like the internal design/implementation of JSC.

The raw file size of libopenaphid.so is 2.8M, which is fine to us. It's much smaller after be compressed in the APK file.

openaphid avatar Jul 22 '12 07:07 openaphid

i see,thanks your explain.and now i can clone the jsc project and build it in android?

GG-coder889 avatar Jul 22 '12 07:07 GG-coder889

can you restore the mk files asap?

GG-coder889 avatar Jul 29 '12 06:07 GG-coder889