You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ cd YOUR_APP_ROOT
$ git submodule add YOUR_REPOS_URL Vendor/CCNativeExtensionTemplate
Settings for ios
PATH settings
choose source tree root -> TARGET YOUR_APP-mobile -> Build Settings
Add 'Header' into search field.
Add '$(SRCROOT)/../Vendor/CCNativeExtensionTemplate/Classes' into 'Heade Search Paths'.
link settings
choose source tree root -> TARGET YOUR_APP-mobile -> Build Phases -> Link Binary With Libraries
Add 'libCCNativeExtensionTemplate.a'
Settings for Android
Edit proj.android-studio/settings.gradle
include ':libcocos2dx'
project(':libcocos2dx').projectDir = new File(settingsDir, '../cocos2d/cocos/platform/android/libcocos2dx')
include 'native_extension_template'
project(':native_extension_template').projectDir = new File(settingsDir, '../Vendor/CCNativeExtensionTemplate/proj.android')