previous sdkbox facebook 2.4.0.1 can build, once i update to 2.4.0.2 then have problem
build\jsb-default\frameworks\cocos2d-x\cocos\platform\android\java\libs\android_support_v7\cardview\res\values-v23\styles.xml:20: error: Error: No resource found that matches the given name (at ‘cardBackgroundColor’ with value ‘?android:attr/colorBackgroundFloating’).
[aapt]
BUILD FAILED
please help check
whats your targetSdkVersion
?
~/test/NewProject1901/build/jsb-default $ sdkbox info
_______ ______ _ _ ______ _____ _ _
|______ | \ |____/ |_____] | | \___/
______| |_____/ | \_ |_____] |_____| _/ \_
Copyright (c) 2016-2018 SDKBOX Inc. v1.0.1.37
installed packages:
v2.4.0.2 facebook
v2.4.0.2 googleplayservices
v2.4.0.2 adcolony
Move apk to /Users/admin/test/NewProject190/build/jsb-default/publish/android
Build succeed.
not sure which one is the cocos2d-x version, i put it below.
not sure where to view targetSdkVersion
it build successfully once i changed API Level to 24
.
sorry my bad. apprieciate your advice.