- Home /
I am using these Plugins --> Unity Admob Mediation (Applovin, Unity Ads, Facebook Ads, Inmobi) + Unity IAP + Facebook Analytics + GPGS
CommandInvokationFailure: Gradle build failed. C:/Program Files/Unity/2019.2.6f1/Editor/Data/PlaybackEngines/AndroidPlayer/Tools\OpenJDK\Windows\bin\java.exe -classpath "C:\Program Files\Unity\2019.2.6f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-5.1.1.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx4096m" "assembleRelease"
stderr[
FAILURE: Build failed with an exception.
-
1 exception was raised by workers:
Try: Run with --stacktrace option to get the stack trace. Run with --info or --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 1m 22s ] stdout[
Exception while marshalling C:\Program Files\Unity\2019.2.6f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\build-tools\28.0.3\package.xml. Probably the SDK is read-only Exception while marshalling C:\Program Files\Unity\2019.2.6f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platform-tools\package.xml. Probably the SDK is read-only Exception while marshalling C:\Program Files\Unity\2019.2.6f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platforms\android-28\package.xml. Probably the SDK is read-only Exception while marshalling C:\Program Files\Unity\2019.2.6f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\tools\package.xml. Probably the SDK is read-only Exception while marshalling C:\Program Files\Unity\2019.2.6f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\build-tools\28.0.3\package.xml. Probably the SDK is read-only Exception while marshalling C:\Program Files\Unity\2019.2.6f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platform-tools\package.xml. Probably the SDK is read-only Exception while marshalling C:\Program Files\Unity\2019.2.6f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platforms\android-28\package.xml. Probably the SDK is read-only Exception while marshalling C:\Program Files\Unity\2019.2.6f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\tools\package.xml. Probably the SDK is read-onlyConfigure project :
Task :preBuild UP-TO-DATE Task :GoogleMobileAdsAppLovinMediation:preBuild UP-TO-DATE Task :GoogleMobileAdsAppLovinMediation:preReleaseBuild UP-TO-DATE Task :GoogleMobileAdsAppLovinMediation:checkReleaseManifest Task :GoogleMobileAdsAppLovinMediation:processReleaseManifest Task :GoogleMobileAdsInMobiMediation:preBuild UP-TO-DATE Task :GoogleMobileAdsInMobiMediation:preReleaseBuild UP-TO-DATE Task :GoogleMobileAdsInMobiMediation:checkReleaseManifest Task :GoogleMobileAdsInMobiMediation:processReleaseManifest Task :GoogleMobileAdsPlugin:preBuild UP-TO-DATE Task :GoogleMobileAdsPlugin:preReleaseBuild UP-TO-DATE Task :GoogleMobileAdsPlugin:checkReleaseManifest Task :GoogleMobileAdsPlugin:processReleaseManifest Task :GooglePlayGamesManifest.plugin:preBuild UP-TO-DATE Task :GooglePlayGamesManifest.plugin:preReleaseBuild UP-TO-DATE Task :GooglePlayGamesManifest.plugin:checkReleaseManifest Task :GooglePlayGamesManifest.plugin:processReleaseManifest Task :preReleaseBuild Task :GoogleMobileAdsAppLovinMediation:compileReleaseAidl NO-SOURCE Task :GoogleMobileAdsInMobiMediation:compileReleaseAidl NO-SOURCE Task :GoogleMobileAdsPlugin:compileReleaseAidl NO-SOURCE Task :GooglePlayGamesManifest.plugin:compileReleaseAidl NO-SOURCE Task :compileReleaseAidl NO-SOURCE Task :GoogleMobileAdsAppLovinMediation:packageReleaseRenderscript NO-SOURCE Task :GoogleMobileAdsInMobiMediation:packageReleaseRenderscript NO-SOURCE Task :GoogleMobileAdsPlugin:packageReleaseRenderscript NO-SOURCE Task :GooglePlayGamesManifest.plugin:packageReleaseRenderscript NO-SOURCE Task :compileReleaseRenderscript NO-SOURCE Task :checkReleaseManifest UP-TO-DATE Task :generateReleaseBuildConfig UP-TO-DATE Task :prepareLintJar UP-TO-DATE Task :generateReleaseSources UP-TO-DATE Task :GoogleMobileAdsAppLovinMediation:compileReleaseRenderscript NO-SOURCE Task :GoogleMobileAdsAppLovinMediation:generateReleaseBuildConfig Task :GoogleMobileAdsAppLovinMediation:generateReleaseResValues Task :GoogleMobileAdsAppLovinMediation:generateReleaseResources Task :GoogleMobileAdsAppLovinMediation:packageReleaseResources Task :GoogleMobileAdsAppLovinMediation:generateReleaseRFile Task :GoogleMobileAdsAppLovinMediation:prepareLintJar UP-TO-DATE Task :GoogleMobileAdsAppLovinMediation:generateReleaseSources Task :GoogleMobileAdsAppLovinMediation:javaPreCompileRelease Task :GoogleMobileAdsAppLovinMediation:compileReleaseJavaWithJavac Task :GoogleMobileAdsAppLovinMediation:bundleLibCompileRelease Task :GoogleMobileAdsInMobiMediation:compileReleaseRenderscript NO-SOURCE Task :GoogleMobileAdsInMobiMediation:generateReleaseBuildConfig Task :GoogleMobileAdsInMobiMediation:generateReleaseResValues Task :GoogleMobileAdsInMobiMediation:generateReleaseResources Task :GoogleMobileAdsInMobiMediation:packageReleaseResources Task :GoogleMobileAdsInMobiMediation:generateReleaseRFile Task :GoogleMobileAdsInMobiMediation:prepareLintJar UP-TO-DATE Task :GoogleMobileAdsInMobiMediation:generateReleaseSources Task :GoogleMobileAdsInMobiMediation:javaPreCompileRelease Task :GoogleMobileAdsInMobiMediation:compileReleaseJavaWithJavac Task :GoogleMobileAdsInMobiMediation:bundleLibCompileRelease Task :GoogleMobileAdsPlugin:compileReleaseRenderscript NO-SOURCE Task :GoogleMobileAdsPlugin:generateReleaseBuildConfig Task :GoogleMobileAdsPlugin:generateReleaseResValues Task :GoogleMobileAdsPlugin:generateReleaseResources Task :GoogleMobileAdsPlugin:packageReleaseResources Task :GoogleMobileAdsPlugin:generateReleaseRFile Task :GoogleMobileAdsPlugin:prepareLintJar UP-TO-DATE Task :GoogleMobileAdsPlugin:generateReleaseSources Task :GoogleMobileAdsPlugin:javaPreCompileRelease Task :GoogleMobileAdsPlugin:compileReleaseJavaWithJavac Task :GoogleMobileAdsPlugin:bundleLibCompileRelease Task :GooglePlayGamesManifest.plugin:compileReleaseRenderscript NO-SOURCE Task :GooglePlayGamesManifest.plugin:generateReleaseBuildConfig Task :GooglePlayGamesManifest.plugin:generateReleaseResValues Task :GooglePlayGamesManifest.plugin:generateReleaseResources Task :GooglePlayGamesManifest.plugin:packageReleaseResources Task :GooglePlayGamesManifest.plugin:generateReleaseRFile Task :GooglePlayGamesManifest.plugin:prepareLintJar UP-TO-DATE Task :GooglePlayGamesManifest.plugin:generateReleaseSources Task :GooglePlayGamesManifest.plugin:javaPreCompileRelease Task :GooglePlayGamesManifest.plugin:compileReleaseJavaWithJavac Task :GooglePlayGamesManifest.plugin:bundleLibCompileRelease Task :javaPreCompileRelease Task :mainApkListPersistenceRelease UP-TO-DATE Task :generateReleaseResValues UP-TO-DATE Task :generateReleaseResources UP-TO-DATE Task :mergeReleaseResources Task :createReleaseCompatibleScreenManifests UP-TO-DATE Task :processReleaseManifest Task :processReleaseResources Task :compileReleaseJavaWithJavac Task :compileReleaseSources Task :GoogleMobileAdsAppLovinMediation:prepareLintJarForPublish Task :GoogleMobileAdsInMobiMediation:prepareLintJarForPublish Task :GoogleMobileAdsPlugin:prepareLintJarForPublish Task :GooglePlayGamesManifest.plugin:prepareLintJarForPublish UP-TO-DATE Task :lintVitalRelease Task :mergeReleaseShaders UP-TO-DATE Task :compileReleaseShaders UP-TO-DATE Task :generateReleaseAssets UP-TO-DATE Task :GoogleMobileAdsAppLovinMediation:mergeReleaseShaders Task :GoogleMobileAdsAppLovinMediation:compileReleaseShaders Task :GoogleMobileAdsAppLovinMediation:generateReleaseAssets Task :GoogleMobileAdsAppLovinMediation:packageReleaseAssets Task :GoogleMobileAdsInMobiMediation:mergeReleaseShaders Task :GoogleMobileAdsInMobiMediation:compileReleaseShaders Task :GoogleMobileAdsInMobiMediation:generateReleaseAssets Task :GoogleMobileAdsInMobiMediation:packageReleaseAssets Task :GoogleMobileAdsPlugin:mergeReleaseShaders Task :GoogleMobileAdsPlugin:compileReleaseShaders Task :GoogleMobileAdsPlugin:generateReleaseAssets Task :GoogleMobileAdsPlugin:packageReleaseAssets Task :GooglePlayGamesManifest.plugin:mergeReleaseShaders Task :GooglePlayGamesManifest.plugin:compileReleaseShaders Task :GooglePlayGamesManifest.plugin:generateReleaseAssets Task :GooglePlayGamesManifest.plugin:packageReleaseAssets Task :mergeReleaseAssets Task :validateSigningRelease UP-TO-DATE Task :signingConfigWriterRelease UP-TO-DATE Task :checkReleaseDuplicateClasses FAILED
Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/5.1.1/userguide/command_line_interface.html#sec:command_line_warnings 75 actionable tasks: 60 executed, 15 up-to-date ] exit code: 1 UnityEditor.Android.Command.WaitForProgramToRun (UnityEditor.Utils.Program p, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit,
Answer by Tortuap · Dec 26, 2019 at 10:18 AM
You don't even ask any question. But I have the solution for you : uninstall everything and give-up.
Your answer
Follow this Question
Related Questions
A plugin crash on existing project, but works well on new project 0 Answers
I have Unity Ads already configured in my project and want to Add Admob mediation 0 Answers
Admob Mediation with Chartboost Ad network setup 1 Answer
How do i exactly implement Admob Ads into my game ? 0 Answers
Using Ad plugins on Android leads to extra crashes 0 Answers