leda
71d8cf11ad
refine native module separate ( #1547 )
...
* refine module separate -> gfx renderer
* refine module separate
* modify Application.mk, add macro
* “#if USE_GFX_RENDERER” means “#if USE_GFX_RENDERER > 0”
* improve macro define in binding code
2018-10-18 09:10:05 +08:00
leda
73f62c9da6
enable Proguard for release build on Android ( #1545 )
...
* enable Proguard for release build to reduce apk size
* add Proguard to default template
* consider anysdk at proguard
* remove un-used permissions
* disbale gfx & renderer binding register
2018-10-16 18:35:18 +08:00
Jare Guo
63d7ba61e8
bump to 2.1 and merge commit v2.0-release into develop
2018-09-06 15:33:43 +08:00
leda
92b21a2264
add "launchmode" and "taskAffinity" on android ( #1493 )
2018-09-04 09:53:50 +08:00
leda
a816ffd743
modify android config, use clang (c++_static) to build ( #1385 )
...
* correct head file include error
* modify build tool to clang
* remove one useless file include
* remove armeabi files in 2d-x_files
2018-07-25 09:24:29 +08:00
吴智明
bf72d76f14
add some support for facebook ( #1402 )
2018-07-24 13:38:35 +08:00
leda
b3b37cf457
Add AssetsManager to iOS & Mac & Android & win32 ( #1405 )
...
* Add incomplete AssetsManager to iOS & Mac
* remove Android.mk refer on Xcode project config
* re-add assetmanager for android
* re-add assetmanager for win32 project config
* remove unused macro define for win32
* remove unused marco define COCOS2D_JAVASCRIPT
* added header include for assetsManager
* Add CCAsyncTaskPool
* Fix AssetsManager event trigger issue
* update win32 project config, added CCAsyncTaskPool
* add CCAsyncTaskPool to extensions Android.mk
2018-07-23 17:50:04 +08:00
leda
64643b4922
fix build crash on android when enable AnySDK ( #1397 )
...
* disable anysdk comments in link template
* extra init callback when JNI_OnLoad
* add some comment to explain both init function
* sync changes from link template to default for android
2018-07-19 09:55:51 +08:00
leda
a142b03938
fix default template android lib path error ( #1362 )
2018-07-04 16:00:53 +08:00
minggo
25bf7c5162
Remove jar ( #1351 )
...
* readd jar files
* remove unneeded file
2018-06-29 15:51:21 +08:00
minggo
5b7cbcd9e7
Analytics issue ( #1347 )
...
* fix template compiling error on android
* fix compiling error on android
2018-06-29 15:26:40 +08:00
minggo
6c9b3f9b4a
fix template compiling error on android ( #1345 )
2018-06-29 14:56:30 +08:00
minggo
3d561fa281
Merge branch 'next' of github.com:cocos-creator/cocos2d-x-lite into merge-develop
2018-06-28 16:38:39 +08:00
minggo
9705967973
move analytics codes to game activity
2018-06-28 16:05:04 +08:00
leda
1d1c375516
correct copy jsb-adapter folder when build ( #1338 )
...
* update win32 build custom copy script
* update gradle build script
* update ios/macos project config
2018-06-28 13:50:24 +08:00
PP
7e6ca8a445
change jsb.js load path ( #1335 )
2018-06-27 15:52:50 +08:00
leda
89901807a5
default template works on android studio ( #1307 )
...
* adapt android studio build config files, compile success
* remove hard coded sign info
* remove -DHAVE_INSPECTOR, it have been defined in config.hpp
* remove anysdk related code
* revert wrong remove of anysdk and CocosAnalytics
2018-06-08 15:05:33 +08:00
James Chen
669f3cecb3
cocos_android_app_init returns Application*.
2018-04-19 11:17:18 +08:00
Jare Guo
d9bd3d763c
update license ( #1089 )
...
* updating license
* update license
2018-02-01 15:20:01 +08:00
James Chen
cdad6b5868
Some Android Simulators don't support SSE instruction, so disable it for x86 arch. ( #1011 )
2017-11-23 15:13:34 +08:00
James Chen
7739e2c47d
Updates template AndroidManifest.xml.
2017-11-07 16:05:44 +08:00
James Chen
50d6a4947d
Reverts jniLibs.srcDir
2017-11-02 11:50:09 +08:00
James Chen
2c793ac5ba
Android Studio 3.0 Support.
...
Depends on https://github.com/cocos-creator/cocos2d-console/pull/49
2017-10-30 11:28:34 +08:00
yinkaile
d38e168441
support native modules
2017-10-12 17:35:08 +08:00
James Chen
2e3e474c3e
[android] Adds APP_CFLAGS for template projects.
2017-10-10 14:28:51 +08:00
James Chen
a0a312814d
Merge branch 'v1.6' of git://github.com/cocos-creator/cocos2d-x-lite into fix/jsb2.0-sync-v1.6
2017-09-22 17:32:36 +08:00
James Chen
f19fb0b1f8
[android] Fixes AppAcitivity (Sub class of Cocos2dxActivity) is re-created which causes crash if launching app first time and re-opening from icon.
2017-09-15 10:41:32 +08:00
2youyouo2
9c12fcb2d9
add jailbreak anysdk files
2017-09-12 14:31:50 +08:00
2youyouo2
672d00478f
fixed android-studio debug error
2017-09-01 11:18:27 +08:00
2youyouo2
19be5234c7
refine build.gradle
2017-08-23 10:45:28 +08:00
2youyouo2
93862c24fa
fixed not copy .so files when first build android-studio project
2017-08-16 17:44:18 +08:00
2youyouo2
d0f80a3a46
update template for anysdk
2017-07-06 10:36:48 +08:00
pandamicro
99206af737
Remove useless module and preprocess macros
2017-07-04 16:35:17 +08:00
2youyouo2
992bb2724c
fixed .so not compile to apk
2017-05-04 11:01:45 +08:00
2youyouo2
524c511ca5
set ndk_out for android-studio project
2017-05-02 13:54:49 +08:00
2youyouo2
d7b3bc096b
fixed windows commands char length too long
2017-04-27 17:31:32 +08:00
2youyouo2
4ebcc72f19
update android-studio project
2017-04-21 09:37:40 +08:00
Wang Nan
c3de6d4152
Merge pull request #448 from cocos-creator/v1.3
...
merge V1.3
2016-12-21 14:32:08 +08:00
knoxHuang
8812ead9bf
add semicolon import android.os.Bundle for AppActivity
2016-12-20 18:10:18 +08:00
knoxHuang
871732c527
add android.os.Bundle for AppActivity
2016-12-20 17:29:41 +08:00
Nan Wang
563a2621ab
merged v1.3
2016-12-16 13:54:56 +08:00
knoxHuang
1223dd2592
rm extra code for AppActivity
2016-12-16 10:35:50 +08:00
zhangbin
a70c941f59
Update the icon of Android Studio project in templates.
2016-11-11 11:46:31 +08:00
zhangbin
ddda30122d
Solve the error application name of Android Studio project.
2016-10-10 13:44:38 +08:00
yanli.huang
19bf2d5ee5
fix built-in android project compiled failed
2016-09-23 12:04:24 +08:00
yanli.huang
6606b2ec23
update AnySDK 2.2.3
2016-09-20 16:37:23 +08:00
zhangbin
f97b23514b
Use java reflection to avoid API level dependent, Use API Level 10.
2016-08-25 09:56:32 +08:00
yanli.huang
4fb94eef21
strip anysdk from template.add anysdk by copy way
2016-07-28 13:56:06 +08:00
yanli.huang
9f916841fe
Merge branch 'develop' of github.com:cocos-creator/cocos2d-x-lite into develop
...
Conflicts:
templates/js-template-binary/frameworks/runtime-src/Classes/AppDelegate.cpp
templates/js-template-binary/frameworks/runtime-src/proj.android/jni/Android.mk
templates/js-template-binary/frameworks/runtime-src/proj.android/jni/hellojavascript/main.cpp
templates/js-template-binary/frameworks/runtime-src/proj.android/src/org/cocos2dx/javascript/AppActivity.java
templates/js-template-binary/frameworks/runtime-src/proj.ios_mac/HelloJavascript.xcodeproj/project.pbxproj
2016-07-21 16:11:50 +08:00
yanli.huang
0aaab3fa5e
add anysdk to templates
2016-07-13 16:37:07 +08:00