尝试使用sdkbox编译安卓会失败

编辑器:2.3.2
如果不装SDKBOX插件能正常打包APK
可是装了In App Purchase
在编译时就会出现

Could not determine the dependencies of task ‘:game:compileDebugFeatureJavaWithJavac’.

详细如下

FAILURE: Build failed with an exception.

*What went wrong:
Could not determine the dependencies of task ‘:game:compileDebugFeatureJavaWithJavac’.
Could not resolve all task dependencies for configuration ‘:game:debugFeatureCompileClasspath’.
Could not resolve project :libcocos2dx.
Required by:
project :game
Unable to find a matching configuration of project :libcocos2dx: None of the consumable configurations have attributes.

https://discuss.cocos2d-x.org/t/sdkbox-iap-v2-6-0-1-error-package-com-sdkbox-plugin-does-not-exist/49624/3

1赞

亲测 有效谢谢

我没有勾选SDKBOX,也出现了这个问题是什么原因呢?

我碰到了一样的问题,最后发现是因为同步项目的时候,我的cocos路径跟同事的不一致,导致没有libcocos组件

1赞

请问是如何解决的