Can't compile release when add SDKBox Facebook

plz wait compile debug

does it work when remove sdkbox.PluginFacebook.init() ?

no call sdkbox.PluginFacebook.init()

I still have the same error when compile debug

Capture

cocos2d-x 3.17 ?

yes, i use cocos2d-x 3.17 js

> Task :js317:assembleDebug
Skipping task ':js317:assembleDebug' as it has no actions.

:js317:assembleDebug (Thread[Task worker for ':' Thread 7,5,main]) completed. Took 0.001 secs.

BUILD SUCCESSFUL in 5m 31s
54 actionable tasks: 24 executed, 30 up-to-date
Move apk to /Users/admin/test/js317/simulator/android
Build succeed.
~/test/js317 [master] $ sdkbox info
  _______ ______  _     _ ______   _____  _     _
  |______ |     \ |____/  |_____] |     |  \___/
  ______| |_____/ |    \_ |_____] |_____| _/   \_
 Copyright (c) 2016-2018 SDKBOX Inc. v1.0.1.39
 installed packages:
     v2.4.1.0 facebook

plz try PROP_MIN_SDK_VERSION=15

~/test/js317 [master] $ git diff frameworks/runtime-src/proj.android/gradle.properties
diff --git a/frameworks/runtime-src/proj.android/gradle.properties b/frameworks/runtime-src/proj.android/gradle.properties
index f234b82..16dd2f1 100644
--- a/frameworks/runtime-src/proj.android/gradle.properties
+++ b/frameworks/runtime-src/proj.android/gradle.properties
@@ -21,7 +21,7 @@
 PROP_COMPILE_SDK_VERSION=27

 # Android SDK version that will be used as the earliest version of android this application can run on
-PROP_MIN_SDK_VERSION=14
+PROP_MIN_SDK_VERSION=15

I using PROP_MIN_SDK_VERSION=15

I use SDKBOX Inc. v1.0.1.39 can’t import facebook v2.4.1.0

just use 1.0.1.42,

i using 1.0.1.42

Capture

would you plz create a helloworld project to test:

sdkbox import facebook --forcedownload --staging

I tried it many times

Let’s sort out the problem:

  1. cocos2d-js 3.17
  2. Can the project be compiled after import facebook?
  3. but you post Can't compile release when add SDKBox Facebook means you can launch, just crash.
  4. Can you start the game normally without facebook plugin ?
  • cocos2d-js 3.17
  • compiled after import facebook
  • can launch, after run black screen

I can run helloworld after import facebook, release mode.

plz try clean build folder.

still like that. You can import facebook, iap and onesignal, share your project?

i use sdkbox-facebook_v2.4.0.2.tar.gz, normal activity