Compiling error after GMS2 update

S

Schekhovtsov

Guest
Hello

I updated GMS, opened a 100% working project. When compiling, it produces:

Code:
:com.developer.game:compileDebugJavaWithJavac
:com.developer.game:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
W:\com.developer.game\src\main\java\com\developer\game\GooglePlayServicesExtension.java:546: error: method CloudResultData in class RunnerJNILib cannot be applied to given types;
RunnerJNILib.CloudResultData(s.getBytes(), 0 /*STATUS_NEW_GAME_DATA*/, fileId);
^
required: byte[],byte[],int,int
found: byte[],int,int
reason: actual and formal argument lists differ in length
W:\com.developer.game\src\main\java\com\developer\game\GooglePlayServicesExtension.java:560: error: method CloudResultData in class RunnerJNILib cannot be applied to given types;
RunnerJNILib.CloudResultData( null, 0 /*STATUS_NEW_GAME_DATA*/, fileId );
^
required: byte[],byte[],int,int
found: <null>,int,int
reason: actual and formal argument lists differ in length
W:\com.developer.game\src\main\java\com\developer\game\GooglePlayServicesExtension.java:681: error: method CloudResultData in class RunnerJNILib cannot be applied to given types;
RunnerJNILib.CloudResultData(s.getBytes(), 0 /*STATUS_NEW_GAME_DATA*/, fileId);
^
required: byte[],byte[],int,int
found: byte[],int,int
reason: actual and formal argument lists differ in length
W:\com.developer.game\src\main\java\com\developer\game\GooglePlayServicesExtension.java:700: error: method CloudResultData in class RunnerJNILib cannot be applied to given types;
RunnerJNILib.CloudResultData( null, 0 /*STATUS_NEW_GAME_DATA*/, fileId );
^
required: byte[],byte[],int,int
found: <null>,int,int
reason: actual and formal argument lists differ in length
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
4 errors
:com.developer.game:compileDebugJavaWithJavac FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':com.developer.game:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

Execution failed for task ':com.developer.game:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

Compile error said:

Code:
Error : Build failed
Extensions for some time did not touch. Maybe the problem is in them? Need to upgrade?

Current version Google Play Services - 3.1.1



Help, please! It's urgently. :(
 
Last edited by a moderator:

curato

Member
You probably need to update the extensions. There have been some recent issues with the android compile and if you are using the extension I think you are they already updated it.
 
Top