I have error
Execution failed for task ‘:libcocos2dx:transformClassesAndResourcesWithProguardForRelease’.
i have error
E/WindowManager: Starting window AppWindowToken{4aa22f3c token=Token{4aa9f41c ActivityRecord{4aa3835c u0 com.game.konclub/org.cocos2dx.javascript.AppActivity t4}}} timed out
full logcat message, plz.
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
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
just use 1.0.1.42,
i using 1.0.1.42
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:
- cocos2d-js 3.17
- Can the project be compiled after import facebook?
- but you post Can't compile release when add SDKBox Facebook means you can launch, just crash.
- Can you start the game normally without facebook plugin ?