SDKBOX Review Plugin + cocos2d-x 3.17 build fail? Help?

Help please?

* What went wrong:
Could not determine the dependencies of task ':TestingGame:preDebugBuild'.
> Could not resolve all task dependencies for configuration ':TestingGame:debugRuntimeClasspath'.
   > Could not resolve project :libPluginReviewResource.
     Required by:
         project :TestingGame > project :libcocos2dx
      > Unable to find a matching configuration of project :libPluginReviewResource: None of the consumable configurations have attributes.

sdkbox.package.zip (1.3 KB)

Thanks for your report.
plz put the file to ~/.sdkbox/plugins/sdkbox-review_{version}/plugin/

for example:

~/.sdkbox/plugins/sdkbox-review_v2.4.0.1/plugin/

I’ve replaced the file in 2.4.0.1 directory, but still get the same error when trying to compile?

Also I created a clean new project and imported review plugin from a clean new install of sdkbox and again it doesn’t compile.

do you have review plugin in your project? check by:

$ sdkbox info

plz remove it first. by rename .sdkbox_packages.json section review.

or

sdkbox import ~/.sdkbox/plugins/sdkbox-review_v2.4.0.1/ --forcecopy

Thanks,

sdkbox info
      _______ ______  _     _ ______   _____  _     _
      |______ |     \ |____/  |_____] |     |  \___/ 
      ______| |_____/ |    \_ |_____] |_____| _/   \_
     Copyright (c) 2016-2018 SDKBOX Inc. v1.0.1.35
     installed packages:
         v2.4.0.1 review

sdkbox import ~/.sdkbox/plugins/sdkbox-review_v2.4.0.1/ --forcecopy
      _______ ______  _     _ ______   _____  _     _
      |______ |     \ |____/  |_____] |     |  \___/ 
      ______| |_____/ |    \_ |_____] |_____| _/   \_
     Copyright (c) 2016-2018 SDKBOX Inc. v1.0.1.35
     Please reference the online documentation to finish the integration:
    http://sdkbox-doc.github.io/en/plugins/review/v3-cpp/
     Installation Successful :slight_smile:

 cocos compile -p android --android-studio 
    .
    .
    .
    FAILURE: Build failed with an exception.

    * What went wrong:
    Could not determine the dependencies of task ':TestingGame:preDebugBuild'.
    > Could not resolve all task dependencies for configuration ':TestingGame:debugRuntimeClasspath'.
       > Could not resolve project :libPluginReviewResource.
         Required by:
             project :TestingGame > project :libcocos2dx
          > Unable to find a matching configuration of project :libPluginReviewResource: None of the consumable configurations have attributes.

    * Try:
    Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.

Any update on this? I’m still unable to build :frowning:

Hi, this was happening to me too. One thing I did was to install the review plugin with with “sdkbox import share --staging” so that the most updated version of sdkbox is also installed, then run “sdkbox import ~/.sdkbox/plugins/sdkbox-review_v2.4.0.1/ --forcecopy” as mentioned in the earlier post and then run “sdkbox update share --staging”. Not sure why but it worked for me. SDKBox seems to be having lots of trouble with 3.17. They do seem to be fixing things though as I have a couple of other issues they worked through.

Thank you for the suggestion! I’ve updated the plugin to staging but still getting the same build error :frowning:

sdkbox info
  _______ ______  _     _ ______   _____  _     _
  |______ |     \ |____/  |_____] |     |  \___/ 
  ______| |_____/ |    \_ |_____] |_____| _/   \_
 Copyright (c) 2016-2018 SDKBOX Inc. v1.0.1.35
 installed packages:
     v2.4.0.2 review
$  sdkbox import review --nohelp --staging --forcedownload --forcecopy
> Task :cpp317:packageDebug
Putting task artifact state for task ':cpp317:packageDebug' into context took 0.001 secs.
Executing task ':cpp317:packageDebug' (up-to-date check took 0.003 secs) due to:
  No history is available.
All input files are considered out-of-date for incremental task ':cpp317:packageDebug'.
Unable do incremental execution: full task run

:cpp317:packageDebug (Thread[Task worker for ':' Thread 7,5,main]) completed. Took 0.438 secs.
:cpp317:assembleDebug (Thread[Task worker for ':' Thread 7,5,main]) started.

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

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

BUILD SUCCESSFUL in 4m 12s
80 actionable tasks: 80 executed
Move apk to /Users/admin/test/cpp317/bin/debug/android
Build succeed.
~/test/cpp317 [master] $ sdkbox info
  _______ ______  _     _ ______   _____  _     _
  |______ |     \ |____/  |_____] |     |  \___/
  ______| |_____/ |    \_ |_____] |_____| _/   \_
 Copyright (c) 2016-2018 SDKBOX Inc. v1.0.1.35
 installed packages:
     v2.4.0.2 review
~/test/cpp317 [master] $ echo $NDK_ROOT
/Users/admin/Documents/sdk/android/android-ndk-r16b

would you plz create a helloworld to check this issue?

debug/release android build also ok.

1 Like

Sorry for the delay. This solved the issue! Everything works like a charm now! Thank you!