Phonegap Build fails with Google Play plugin...

  • I'm building my game via Phonegap Build and get the following error when including the Google Play plugin:

    [quote:mpmdxvvp]Error - Some official plugins have to be updated if using PhoneGap >= 4.0.0. Please upgrade the version of any plugins that may include the following file: ConstructPlayGames.java - You can fix this here

    I've tried building without the Google Play Plugin and I don't get the error.

    This is the plugin snippet from the config.xml that's causing the error:

    	<plugin name="construct-play-games" spec="1.0.5" >
    		<variable name="APP_ID" value="" />
    	</plugin>
    [/code:mpmdxvvp]
    
    I've also tried building with the spec="1.0.5" removed and get the following error:
    
    [code:mpmdxvvp]FAILURE: Build failed with an exception.
    
    * What went wrong:
    Execution failed for task ':compileReleaseJavaWithJavac'.
    

    Compilation failed; see the compiler error output for details.

    * Try:

    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

    BUILD FAILED

    Total time: 15.894 secs

    Error: /project/gradlew: Command failed with exit code 1 Error output:

    Note: Some input files use or override a deprecated API.

    Note: Recompile with -Xlint:deprecation for details.

    Note: Some input files use or override a deprecated API.

    Note: Recompile with -Xlint:deprecation for details.

    /project/src/com/scirra/ConstructPlayGames.java:410: error: lambda expressions are not supported in -source 1.6

    t -> {

    ^

    (use -source 8 or higher to enable lambda expressions)

    1 error

    FAILURE: Build failed with an exception.

    * What went wrong:

    Execution failed for task ':compileReleaseJavaWithJavac'.

    Compilation failed; see the compiler error output for details.

    * Try:

    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

    at ChildProcess.whenDone (/project/cordova/node_modules/cordova-common/src/superspawn.js:169:23)

    at emitTwo (events.js:106:13)

    at ChildProcess.emit (events.js:191:7)

    at maybeClose (internal/child_process.js:877:16)

    at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)[/code:mpmdxvvp]

    I'll also post this to the bug forum.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • All sorted with the latest r97 release.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)