Cocoon Compiling Error For No Reason


#1

I compiled in latest version on cocoon(Apache Cordova android v6.2.3) with webview for android (construct 2) and it gives error,
i changed nothing form the last time when it was a successful compile,
i thought there must be a problem with the my exported file so i tried with the old file where everything was fine and still nothingg
I dont know what to do , i have tried 20 times and still nothing!
@andy_reitberger please help me!
Thank you

Here is the error…
COMPILER ERROR:

/workspace/platforms/android/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.
/workspace/platforms/android/src/com/ludei/ads/admob/AdRewardedAdMob.java:22: error: is not abstract and does not override abstract method onRewardedVideoCompleted() in RewardedVideoAdListener
_interstitial.setRewardedVideoAdListener(new RewardedVideoAdListener() {
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /workspace/platforms/android/src/com/ludei/CocoonApp.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:compileDebugJavaWithJavac’.

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.

CORDOVA LOG:

le: GameHelperUtils.java
skipping existing file: ids.xml
skipping existing file: Game.h
skipping existing file: Game.m
skipping existing file: game.js
cp: dest file already exists: /workspace/plugins/cordova-plugin-navigationbar/LICENSE

cp: dest file already exists: /workspace/plugins/cordova-plugin-navigationbar/LICENSE
cp: dest file already exists: /workspace/plugins/cordova-plugin-navigationbar/README.md

skipping existing file: index.html
skipping existing file: index.html
cp: dest file already exists: /workspace/plugins/cordova-plugin-navigationbar/LICENSE
cp: dest file already exists: /workspace/plugins/cordova-plugin-navigationbar/README.md
cp: dest file already exists: /workspace/plugins/cordova-plugin-navigationbar/package.json

cp: dest file already exists: /workspace/plugins/cordova-plugin-navigationbar/LICENSE
cp: dest file already exists: /workspace/plugins/cordova-plugin-navigationbar/README.md
cp: dest file already exists: /workspace/plugins/cordova-plugin-navigationbar/package.json
cp: dest file already exists: /workspace/plugins/cordova-plugin-navigationbar/plugin.xml

skipping existing file: NavigationBar.java
skipping existing file: navigationbar.js
cp: dest file already exists: /workspace/plugins/cordova-plugin-share-moreapps/README.md

skipping existing file: wp8.PNG
skipping existing file: index.html
cp: dest file already exists: /workspace/plugins/cordova-plugin-share-moreapps/README.md
cp: dest file already exists: /workspace/plugins/cordova-plugin-share-moreapps/package.json

cp: dest file already exists: /workspace/plugins/cordova-plugin-share-moreapps/README.md
cp: dest file already exists: /workspace/plugins/cordova-plugin-share-moreapps/package.json
cp: dest file already exists: /workspace/plugins/cordova-plugin-share-moreapps/plugin.xml

skipping existing file: MoreApps.cs
skipping existing file: moreapps.js
cp: dest file already exists: /workspace/plugins/cordova-plugin-share-reviewapp/README.md

skipping existing file: index.html
cp: dest file already exists: /workspace/plugins/cordova-plugin-share-reviewapp/README.md
cp: dest file already exists: /workspace/plugins/cordova-plugin-share-reviewapp/plugin.xml

skipping existing file: ReviewApp.cs
skipping existing file: reviewapp.js
cp: dest file already exists: /workspace/plugins/org.devgeeks.Canvas2ImagePlugin/README.md

cp: dest file already exists: /workspace/plugins/org.devgeeks.Canvas2ImagePlugin/README.md
cp: dest file already exists: /workspace/plugins/org.devgeeks.Canvas2ImagePlugin/package.json

cp: dest file already exists: /workspace/plugins/org.devgeeks.Canvas2ImagePlugin/README.md
cp: dest file already exists: /workspace/plugins/org.devgeeks.Canvas2ImagePlugin/package.json
cp: dest file already exists: /workspace/plugins/org.devgeeks.Canvas2ImagePlugin/plugin.xml

skipping existing file: Canvas2ImagePlugin.java
skipping existing file: Canvas2ImagePlugin.h
skipping existing file: Canvas2ImagePlugin.m
skipping existing file: Canvas2ImagePlugin.cs
skipping existing file: Canvas2ImagePlugin.js
cp: dest file already exists: /workspace/plugins/com.plugins.shortcut/MIT-LICENSE

cp: dest file already exists: /workspace/plugins/com.plugins.shortcut/MIT-LICENSE
cp: dest file already exists: /workspace/plugins/com.plugins.shortcut/README.md

cp: dest file already exists: /workspace/plugins/com.plugins.shortcut/MIT-LICENSE
cp: dest file already exists: /workspace/plugins/com.plugins.shortcut/README.md
cp: dest file already exists: /workspace/plugins/com.plugins.shortcut/plugin.xml

skipping existing file: ShortcutPlugin.java
skipping existing file: ShortcutPlugin.js
ANDROID_HOME=/opt/cocoon_compiler/workspace/production/data/sdks/android-sdks-linux
JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
Subproject Path: CordovaLib
Starting a Gradle Daemon, 11 stopped Daemons could not be reused, use --status for details
The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.
at build_eumt2mz8vvlhb526yaiahg5yl.run(/workspace/platforms/android/build.gradle:138)
The JavaCompile.setDependencyCacheDir() method has been deprecated and is scheduled to be removed in Gradle 4.0.
Incremental java compilation is an incubating feature.
The TaskInputs.source(Object) method has been deprecated and is scheduled to be removed in Gradle 4.0. Please use TaskInputs.file(Object).skipWhenEmpty() instead.
:preBuild UP-TO-DATE
:preDebugBuild UP-TO-DATE
:checkDebugManifest
:preReleaseBuild UP-TO-DATE
:CordovaLib:preBuild UP-TO-DATE
:CordovaLib:preDebugBuild UP-TO-DATE
:CordovaLib:checkDebugManifest
:CordovaLib:prepareDebugDependencies
:CordovaLib:compileDebugAidl
:CordovaLib:compileDebugNdk UP-TO-DATE
:CordovaLib:compileLint
:CordovaLib:copyDebugLint UP-TO-DATE
:CordovaLib:mergeDebugShaders
:CordovaLib:compileDebugShaders
:CordovaLib:generateDebugAssets
:CordovaLib:mergeDebugAssets
:CordovaLib:mergeDebugProguardFiles
:CordovaLib:packageDebugRenderscript UP-TO-DATE
:CordovaLib:compileDebugRenderscript
:CordovaLib:generateDebugResValues
:CordovaLib:generateDebugResources
:CordovaLib:packageDebugResources
:CordovaLib:processDebugManifest
:CordovaLib:generateDebugBuildConfig
:CordovaLib:processDebugResources
:CordovaLib:generateDebugSources
:CordovaLib:incrementalDebugJavaCompilationSafeguard
:CordovaLib:compileDebugJavaWithJavac
:CordovaLib:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
:CordovaLib:processDebugJavaRes UP-TO-DATE
:CordovaLib:transformResourcesWithMergeJavaResForDebug
:CordovaLib:transformClassesAndResourcesWithSyncLibJarsForDebug
:CordovaLib:mergeDebugJniLibFolders
:CordovaLib:transformNative_libsWithMergeJniLibsForDebug
:CordovaLib:transformNative_libsWithSyncJniLibsForDebug
:CordovaLib:bundleDebug
:CordovaLib:preReleaseBuild UP-TO-DATE
:CordovaLib:checkReleaseManifest
:CordovaLib:prepareReleaseDependencies
:CordovaLib:compileReleaseAidl
:CordovaLib:compileReleaseNdk UP-TO-DATE
:CordovaLib:copyReleaseLint UP-TO-DATE
:CordovaLib:mergeReleaseShaders
:CordovaLib:compileReleaseShaders
:CordovaLib:generateReleaseAssets
:CordovaLib:mergeReleaseAssets
:CordovaLib:mergeReleaseProguardFiles
:CordovaLib:packageReleaseRenderscript UP-TO-DATE
:CordovaLib:compileReleaseRenderscript
:CordovaLib:generateReleaseResValues
:CordovaLib:generateReleaseResources
:CordovaLib:packageReleaseResources
:CordovaLib:processReleaseManifest
:CordovaLib:generateReleaseBuildConfig
:CordovaLib:processReleaseResources
:CordovaLib:generateReleaseSources
:CordovaLib:incrementalReleaseJavaCompilationSafeguard
:CordovaLib:compileReleaseJavaWithJavac
:CordovaLib:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
:CordovaLib:processReleaseJavaRes UP-TO-DATE
:CordovaLib:transformResourcesWithMergeJavaResForRelease
:CordovaLib:transformClassesAndResourcesWithSyncLibJarsForRelease
:CordovaLib:mergeReleaseJniLibFolders
:CordovaLib:transformNative_libsWithMergeJniLibsForRelease
:CordovaLib:transformNative_libsWithSyncJniLibsForRelease
:CordovaLib:bundleRelease
:prepareAndroidArchLifecycleRuntime100Library
:prepareComAndroidSupportCustomtabs2610Library
:preDebugAndroidTestBuild UP-TO-DATE
:prepareComAndroidSupportMultidex101Library
:prepareComAndroidSupportSupportCompat2610Library
:prepareComAndroidSupportSupportCoreUi2610Library
:prepareComAndroidSupportSupportCoreUtils2610Library
:prepareComAndroidSupportSupportFragment2610Library
:prepareComAndroidSupportSupportMediaCompat2610Library
:prepareComAndroidSupportSupportV42610Library
:prepareComGoogleAndroidGmsPlayServicesAds1501Library
:prepareComGoogleAndroidGmsPlayServicesAdsBase1501Library
:prepareComGoogleAndroidGmsPlayServicesAdsIdentifier1501Library
:prepareComGoogleAndroidGmsPlayServicesAdsLite1501Library
:prepareComGoogleAndroidGmsPlayServicesAudience1501Library
:prepareComGoogleAndroidGmsPlayServicesBase1501Library
:prepareComGoogleAndroidGmsPlayServicesBasement1501Library
:prepareComGoogleAndroidGmsPlayServicesDrive1501Library
:prepareComGoogleAndroidGmsPlayServicesGames1501Library
:prepareComGoogleAndroidGmsPlayServicesGass1501Library
:prepareComGoogleAndroidGmsPlayServicesPlus1501Library
:prepareComGoogleAndroidGmsPlayServicesTasks1501Library
:prepareOrgApacheCordovaCordovaLib623DebugLibrary
:prepareDebugDependencies
:compileDebugAidl
:compileDebugRenderscript
:generateDebugBuildConfig
:generateDebugResValues
:generateDebugResources
:mergeDebugResources
:processDebugManifest
:processDebugResources
:generateDebugSources
:incrementalDebugJavaCompilationSafeguard
:compileDebugJavaWithJavac
:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
/workspace/platforms/android/src/com/ludei/ads/admob/AdRewardedAdMob.java:22: error: is not abstract and does not override abstract method onRewardedVideoCompleted() in RewardedVideoAdListener
_interstitial.setRewardedVideoAdListener(new RewardedVideoAdListener() {
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /workspace/platforms/android/src/com/ludei/CocoonApp.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
:compileDebugJavaWithJavac FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:compileDebugJavaWithJavac’.

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: 28.986 secs


Build failed for Android
#2

Found the problem was in Cocoon Ads Plugin, removed it and its working now, have to know how to ad cocoon ads plugin again now… any clues??


#3

I don’t have any ads plugins. the compiling work last week. but now it’s not. only plugins that’s I think have a problem is inappwebviewer I guess…


#4

@balltdmfanclub
I don’t know the exact problem either, but i have searched the forum and everyone came up with a plugin which after removing thee compilation worked!

So find that plugin that is making problem with ur compilation, u will get the clue in “compiler error output” i.e. the starting lines when u click the red “compilation failed button”,

Its messed up no one knows exactly what to do, but one guy fixed it by setting “multidex enabled” in project settings to “no” … doesn’t make sense but it worked for me one time too, so try that too!


#5

Well, I change from Webview to Webview+ and It now work perfectly without remove any plugins


#6

I think it is a problem with webview too,becoz i just compiled again and this time again compilation failed with a different error this time…

Edit : It worked in second try! So try again nd again , the compiler have some problem

Here…
Platform android error
COMPILER ERROR:

/workspace/platforms/android/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: /workspace/platforms/android/src/com/ludei/CocoonApp.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000006d8600000, 232259584, 0) failed; error=‘Cannot allocate memory’ (errno=12)

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:transformClassesWithDexForRelease’.

com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: java.lang.UnsupportedOperationException

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

CORDOVA LOG:

ace/plugins/cordova-plugin-navigationbar/LICENSE
cp: dest file already exists: /workspace/plugins/cordova-plugin-navigationbar/README.md
cp: dest file already exists: /workspace/plugins/cordova-plugin-navigationbar/package.json
cp: dest file already exists: /workspace/plugins/cordova-plugin-navigationbar/plugin.xml

skipping existing file: NavigationBar.java
skipping existing file: navigationbar.js
cp: dest file already exists: /workspace/plugins/cordova-plugin-share-moreapps/README.md

skipping existing file: wp8.PNG
skipping existing file: index.html
cp: dest file already exists: /workspace/plugins/cordova-plugin-share-moreapps/README.md
cp: dest file already exists: /workspace/plugins/cordova-plugin-share-moreapps/package.json

cp: dest file already exists: /workspace/plugins/cordova-plugin-share-moreapps/README.md
cp: dest file already exists: /workspace/plugins/cordova-plugin-share-moreapps/package.json
cp: dest file already exists: /workspace/plugins/cordova-plugin-share-moreapps/plugin.xml

skipping existing file: MoreApps.cs
skipping existing file: moreapps.js
cp: dest file already exists: /workspace/plugins/cordova-plugin-share-reviewapp/README.md

skipping existing file: index.html
cp: dest file already exists: /workspace/plugins/cordova-plugin-share-reviewapp/README.md
cp: dest file already exists: /workspace/plugins/cordova-plugin-share-reviewapp/plugin.xml

skipping existing file: ReviewApp.cs
skipping existing file: reviewapp.js
cp: dest file already exists: /workspace/plugins/org.devgeeks.Canvas2ImagePlugin/README.md

cp: dest file already exists: /workspace/plugins/org.devgeeks.Canvas2ImagePlugin/README.md
cp: dest file already exists: /workspace/plugins/org.devgeeks.Canvas2ImagePlugin/package.json

cp: dest file already exists: /workspace/plugins/org.devgeeks.Canvas2ImagePlugin/README.md
cp: dest file already exists: /workspace/plugins/org.devgeeks.Canvas2ImagePlugin/package.json
cp: dest file already exists: /workspace/plugins/org.devgeeks.Canvas2ImagePlugin/plugin.xml

skipping existing file: Canvas2ImagePlugin.java
skipping existing file: Canvas2ImagePlugin.h
skipping existing file: Canvas2ImagePlugin.m
skipping existing file: Canvas2ImagePlugin.cs
skipping existing file: Canvas2ImagePlugin.js
cp: dest file already exists: /workspace/plugins/com.plugins.shortcut/MIT-LICENSE

cp: dest file already exists: /workspace/plugins/com.plugins.shortcut/MIT-LICENSE
cp: dest file already exists: /workspace/plugins/com.plugins.shortcut/README.md

cp: dest file already exists: /workspace/plugins/com.plugins.shortcut/MIT-LICENSE
cp: dest file already exists: /workspace/plugins/com.plugins.shortcut/README.md
cp: dest file already exists: /workspace/plugins/com.plugins.shortcut/plugin.xml

skipping existing file: ShortcutPlugin.java
skipping existing file: ShortcutPlugin.js
ANDROID_HOME=/opt/cocoon_compiler/workspace/production/data/sdks/android-sdks-linux
JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
Subproject Path: CordovaLib
The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.
at build_55vmz4aog3n467r7e927rtpbt.run(/workspace/platforms/android/build.gradle:138)
The JavaCompile.setDependencyCacheDir() method has been deprecated and is scheduled to be removed in Gradle 4.0.
Incremental java compilation is an incubating feature.
The TaskInputs.source(Object) method has been deprecated and is scheduled to be removed in Gradle 4.0. Please use TaskInputs.file(Object).skipWhenEmpty() instead.
:preBuild UP-TO-DATE
:preReleaseBuild UP-TO-DATE
:checkReleaseManifest
:preDebugBuild UP-TO-DATE
:CordovaLib:preBuild UP-TO-DATE
:CordovaLib:preDebugBuild UP-TO-DATE
:CordovaLib:checkDebugManifest
:CordovaLib:prepareDebugDependencies
:CordovaLib:compileDebugAidl UP-TO-DATE
:CordovaLib:compileDebugNdk UP-TO-DATE
:CordovaLib:compileLint UP-TO-DATE
:CordovaLib:copyDebugLint UP-TO-DATE
:CordovaLib:mergeDebugShaders UP-TO-DATE
:CordovaLib:compileDebugShaders UP-TO-DATE
:CordovaLib:generateDebugAssets UP-TO-DATE
:CordovaLib:mergeDebugAssets UP-TO-DATE
:CordovaLib:mergeDebugProguardFiles UP-TO-DATE
:CordovaLib:packageDebugRenderscript UP-TO-DATE
:CordovaLib:compileDebugRenderscript UP-TO-DATE
:CordovaLib:generateDebugResValues UP-TO-DATE
:CordovaLib:generateDebugResources UP-TO-DATE
:CordovaLib:packageDebugResources UP-TO-DATE
:CordovaLib:processDebugManifest UP-TO-DATE
:CordovaLib:generateDebugBuildConfig UP-TO-DATE
:CordovaLib:processDebugResources UP-TO-DATE
:CordovaLib:generateDebugSources UP-TO-DATE
:CordovaLib:incrementalDebugJavaCompilationSafeguard UP-TO-DATE
:CordovaLib:compileDebugJavaWithJavac UP-TO-DATE
:CordovaLib:processDebugJavaRes UP-TO-DATE
:CordovaLib:transformResourcesWithMergeJavaResForDebug UP-TO-DATE
:CordovaLib:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
:CordovaLib:mergeDebugJniLibFolders UP-TO-DATE
:CordovaLib:transformNative_libsWithMergeJniLibsForDebug UP-TO-DATE
:CordovaLib:transformNative_libsWithSyncJniLibsForDebug UP-TO-DATE
:CordovaLib:bundleDebug UP-TO-DATE
:CordovaLib:preReleaseBuild UP-TO-DATE
:CordovaLib:checkReleaseManifest
:CordovaLib:prepareReleaseDependencies
:CordovaLib:compileReleaseAidl UP-TO-DATE
:CordovaLib:compileReleaseNdk UP-TO-DATE
:CordovaLib:copyReleaseLint UP-TO-DATE
:CordovaLib:mergeReleaseShaders UP-TO-DATE
:CordovaLib:compileReleaseShaders UP-TO-DATE
:CordovaLib:generateReleaseAssets UP-TO-DATE
:CordovaLib:mergeReleaseAssets UP-TO-DATE
:CordovaLib:mergeReleaseProguardFiles UP-TO-DATE
:CordovaLib:packageReleaseRenderscript UP-TO-DATE
:CordovaLib:compileReleaseRenderscript UP-TO-DATE
:CordovaLib:generateReleaseResValues UP-TO-DATE
:CordovaLib:generateReleaseResources UP-TO-DATE
:CordovaLib:packageReleaseResources UP-TO-DATE
:CordovaLib:processReleaseManifest UP-TO-DATE
:CordovaLib:generateReleaseBuildConfig UP-TO-DATE
:CordovaLib:processReleaseResources UP-TO-DATE
:CordovaLib:generateReleaseSources UP-TO-DATE
:CordovaLib:incrementalReleaseJavaCompilationSafeguard UP-TO-DATE
:CordovaLib:compileReleaseJavaWithJavac UP-TO-DATE
:CordovaLib:processReleaseJavaRes UP-TO-DATE
:CordovaLib:transformResourcesWithMergeJavaResForRelease UP-TO-DATE
:CordovaLib:transformClassesAndResourcesWithSyncLibJarsForRelease UP-TO-DATE
:CordovaLib:mergeReleaseJniLibFolders UP-TO-DATE
:CordovaLib:transformNative_libsWithMergeJniLibsForRelease UP-TO-DATE
:CordovaLib:transformNative_libsWithSyncJniLibsForRelease UP-TO-DATE
:CordovaLib:bundleRelease UP-TO-DATE
:prepareAndroidArchLifecycleRuntime100Library UP-TO-DATE
:prepareComAndroidSupportCustomtabs2610Library UP-TO-DATE
:preDebugAndroidTestBuild UP-TO-DATE
:prepareComAndroidSupportMultidex101Library UP-TO-DATE
:prepareComAndroidSupportSupportCompat2610Library UP-TO-DATE
:prepareComAndroidSupportSupportCoreUi2610Library UP-TO-DATE
:prepareComAndroidSupportSupportCoreUtils2610Library UP-TO-DATE
:prepareComAndroidSupportSupportFragment2610Library UP-TO-DATE
:prepareComAndroidSupportSupportMediaCompat2610Library UP-TO-DATE
:prepareComAndroidSupportSupportV42610Library UP-TO-DATE
:prepareComGoogleAndroidGmsPlayServicesAds1501Library UP-TO-DATE
:prepareComGoogleAndroidGmsPlayServicesAdsBase1501Library UP-TO-DATE
:prepareComGoogleAndroidGmsPlayServicesAdsIdentifier1501Library UP-TO-DATE
:prepareComGoogleAndroidGmsPlayServicesAdsLite1501Library UP-TO-DATE
:prepareComGoogleAndroidGmsPlayServicesAudience1501Library UP-TO-DATE
:prepareComGoogleAndroidGmsPlayServicesBase1501Library UP-TO-DATE
:prepareComGoogleAndroidGmsPlayServicesBasement1501Library UP-TO-DATE
:prepareComGoogleAndroidGmsPlayServicesDrive1501Library UP-TO-DATE
:prepareComGoogleAndroidGmsPlayServicesGames1501Library UP-TO-DATE
:prepareComGoogleAndroidGmsPlayServicesGass1501Library UP-TO-DATE
:prepareComGoogleAndroidGmsPlayServicesPlus1501Library UP-TO-DATE
:prepareComGoogleAndroidGmsPlayServicesTasks1501Library UP-TO-DATE
:prepareOrgApacheCordovaCordovaLib623ReleaseLibrary
:prepareReleaseDependencies
:compileReleaseAidl
:compileReleaseRenderscript
:generateReleaseBuildConfig
:generateReleaseResValues
:generateReleaseResources
:mergeReleaseResources
:processReleaseManifest
:processReleaseResources
:generateReleaseSources
:incrementalReleaseJavaCompilationSafeguard
:compileReleaseJavaWithJavac
:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /workspace/platforms/android/src/com/ludei/CocoonApp.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:compileReleaseNdk UP-TO-DATE
:compileReleaseSources
:lintVitalRelease
:mergeReleaseShaders
:compileReleaseShaders
:generateReleaseAssets
:mergeReleaseAssets
:transformClassesWithJarMergingForRelease
:transformClassesWithMultidexlistForRelease
:transformClassesWithDexForRelease

Running dex as a separate process.

To run dex in process, the Gradle daemon needs a larger heap.
It currently has 2048 MB.
For faster builds, increase the maximum heap size for the Gradle daemon to at least 4608 MB (based on the dexOptions.javaMaxHeapSize = 4g).
To do this set org.gradle.jvmargs=-Xmx4608M in the project gradle.properties.
For more information see https://docs.gradle.org/current/userguide/build_environment.html

OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000006d8600000, 232259584, 0) failed; error=‘Cannot allocate memory’ (errno=12)
:transformClassesWithDexForRelease FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:transformClassesWithDexForRelease’.

com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: java.lang.UnsupportedOperationException

  • 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: 43.048 secs


#7

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.