Hi, I’m trying to cocos compile -p android --android-studio a C++ v3.10 project with SdkPlay and SdkShare integrated.
I get the following error:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':MyProject:dexDebug'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.8.0_91\bin\java.exe'' finished with non-zero exit value 2
Does anyone know what the problem is? Thanks.