已经第二天了,实在没办法!!
cocoscreator版本 2.3.1~
Configure project :libcocos2dx
Evaluating project ‘:libcocos2dx’ using build file ‘/Users/xxx/game_apk/build/jsb-default/frameworks/cocos2d-x/cocos/platform/android/libcocos2dx/build.gradle’.
All projects evaluated.
Analytics other plugin to proto: Unknown plugin type com.android.build.gradle.FeaturePlugin expected enum COM_ANDROID_BUILD_GRADLE_FEATUREPLUGIN
Analytics other plugin to proto: Unknown plugin type com.android.build.gradle.InstantAppPlugin expected enum COM_ANDROID_BUILD_GRADLE_INSTANTAPPPLUGIN
Selected primary task ‘assembleRelease’ from project :
FAILURE: Build failed with an exception.
- What went wrong:
Could not determine the dependencies of task ‘:game:lintVitalRelease’.
Could not resolve all task dependencies for configuration ‘:game:releaseRuntimeClasspath’.
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.
-
Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights. -
Get more help at https://help.gradle.org
BUILD FAILED in 2s
Error running command, return code: 1.