looks like a bug…
sdkbox.android_set_key_value(sdkbox.APPLICATION, 'APP_STL', 'gnustl_static', 'c++_static')
If you open your Application.mk and manually set the APP_STL value to gnustl_static it should work.
looks like a bug…
sdkbox.android_set_key_value(sdkbox.APPLICATION, 'APP_STL', 'gnustl_static', 'c++_static')
If you open your Application.mk and manually set the APP_STL value to gnustl_static it should work.
@slackmoehrle @mannewalis
Thank you for reply.
Application.mk
APP_STL := gnustl_static
APP_CPPFLAGS := -frtti -DCC_ENABLE_CHIPMUNK_INTEGRATION=1 -std=c++11 -fsigned-char
APP_LDFLAGS := -latomic
ifeq ($(NDK_DEBUG),1)
APP_CPPFLAGS += -DCOCOS2D_DEBUG=1
APP_OPTIM := debug
else
APP_CPPFLAGS += -DNDEBUG
APP_OPTIM := release
endif
APP_PLATFORM := android-9
sdkbox import adcolony
kawamura-no-MacBook-Air:test2_v36 kawamura$ sdkbox import adcolony
_______ ______ _ _ ______ _____ _ _
|______ | \ |____/ |_____] | | \___/
______| |_____/ | \_ |_____] |_____| _/ \_
Copyright (c) 2015 Chukong Technologies Inc. v0.5.7.24
failed to patch file AppDelegate.cpp
Please reference the online documentation to finish the integration:
http://sdkbox-doc.github.io/en/plugins/adcolony/v3-cpp/
Some installation steps failed.
Please refer to the online documentation, for instructions on how to complete the installation manually.
Installation completed with errors :|
I 'll try manually.
thanks.
That actually means sdkbox imported successfully, it just failed to modify your AppDelegate.cpp
file which is fine…
thanks this worked out for me
Can you explain how to install manually in android studio if you have? thanks
download plugin from http://www.sdkbox.com/integrations
copy all jar file
cp plugin/android/libs/*.jar cocos2d/cocos/platform/android/libcocos2dx/libs/
copy and overwrite all the folders from plugin/android/jni/* to your <project_root>/proj.android/jni/ directory.
edit proj.android/AndroidManifest.xml
edit proj.android/jni/Android.mk
LOCAL_WHOLE_STATIC_LIBRARIES := sdkbox PluginXXX
LOCAL_STATIC_LIBRARIES := cocos2dx_static
include $(BUILD_SHARED_LIBRARY)
$(call import-add-path, $(LOCAL_PATH))
$(call import-module, ./sdkbox)
$(call import-module, ./prebuilt-mk)
$(call import-module, ./pluginxxxx)