Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Bug Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.

Discussion in 'Editor & General Support' started by Rem777, Nov 20, 2022.

  1. Rem777

    Rem777

    Joined:
    Oct 29, 2018
    Posts:
    12
    For a long time I can not find the cause of this error, please help me figure it out.
    Errors began to appear after the implementation of SDK analytics from the publisher.
    Its occurs an hour after the start of the build for android
    unity version 2020.3.41f1

    click to see error text
    Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details

    > Configure project :launcher
    WARNING: The option setting 'android.bundle.enableUncompressedNativeLibs=false' is experimental and unsupported.
    The current default is 'true'.

    Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.16f1\Editor\2020.3.41f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\build-tools\30.0.2\package.xml. Probably the SDK is read-only
    Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.16f1\Editor\2020.3.41f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platform-tools\package.xml. Probably the SDK is read-only
    Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.16f1\Editor\2020.3.41f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platforms\android-29\package.xml. Probably the SDK is read-only
    Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.16f1\Editor\2020.3.41f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platforms\android-30\package.xml. Probably the SDK is read-only
    Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.16f1\Editor\2020.3.41f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\tools\package.xml. Probably the SDK is read-only
    Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.16f1\Editor\2020.3.41f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\build-tools\30.0.2\package.xml. Probably the SDK is read-only
    Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.16f1\Editor\2020.3.41f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platform-tools\package.xml. Probably the SDK is read-only
    Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.16f1\Editor\2020.3.41f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platforms\android-29\package.xml. Probably the SDK is read-only
    Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.16f1\Editor\2020.3.41f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platforms\android-30\package.xml. Probably the SDK is read-only
    Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.16f1\Editor\2020.3.41f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\tools\package.xml. Probably the SDK is read-only

    > Configure project :unityLibrary
    WARNING: The option setting 'android.bundle.enableUncompressedNativeLibs=false' is experimental and unsupported.
    The current default is 'true'.


    > Configure project :unityLibrary:FirebaseApp.androidlib
    WARNING: The option setting 'android.bundle.enableUncompressedNativeLibs=false' is experimental and unsupported.
    The current default is 'true'.


    > Configure project :unityLibrary:FirebaseCrashlytics.androidlib
    WARNING: The option setting 'android.bundle.enableUncompressedNativeLibs=false' is experimental and unsupported.
    The current default is 'true'.


    > Configure project :unityLibrary:MaxMediationGoogle.androidlib
    WARNING: The option setting 'android.bundle.enableUncompressedNativeLibs=false' is experimental and unsupported.
    The current default is 'true'.


    > Task :unityLibrary:FirebaseApp.androidlib:preBuild UP-TO-DATE
    > Task :unityLibrary:FirebaseApp.androidlib:preDebugBuild UP-TO-DATE
    > Task :launcher:preBuild UP-TO-DATE
    > Task :unityLibrary:preBuild UP-TO-DATE
    > Task :unityLibrary:preDebugBuild UP-TO-DATE
    > Task :unityLibrary:FirebaseCrashlytics.androidlib:preBuild UP-TO-DATE
    > Task :unityLibrary:FirebaseCrashlytics.androidlib:preDebugBuild UP-TO-DATE
    > Task :unityLibrary:FirebaseCrashlytics.androidlib:checkDebugManifest
    > Task :unityLibrary:checkDebugManifest
    > Task :unityLibrary:FirebaseApp.androidlib:checkDebugManifest
    > Task :unityLibrary:processDebugManifest
    > Task :unityLibrary:MaxMediationGoogle.androidlib:preBuild UP-TO-DATE
    > Task :unityLibrary:MaxMediationGoogle.androidlib:preDebugBuild UP-TO-DATE
    > Task :unityLibrary:FirebaseCrashlytics.androidlib:processDebugManifest
    > Task :unityLibrary:FirebaseApp.androidlib:processDebugManifest
    > Task :unityLibrary:packageDebugRenderscript NO-SOURCE
    > Task :unityLibrary:MaxMediationGoogle.androidlib:checkDebugManifest
    > Task :unityLibrary:MaxMediationGoogle.androidlib:processDebugManifest
    > Task :launcher:preDebugBuild
    > Task :launcher:compileDebugRenderscript NO-SOURCE
    > Task :launcher:generateDebugResValues
    > Task :launcher:generateDebugResources
    > Task :unityLibrary:FirebaseApp.androidlib:packageDebugRenderscript NO-SOURCE
    > Task :unityLibrary:MaxMediationGoogle.androidlib:packageDebugRenderscript NO-SOURCE
    > Task :unityLibrary:FirebaseCrashlytics.androidlib:packageDebugRenderscript NO-SOURCE
    > Task :unityLibrary:generateDebugResValues
    > Task :unityLibrary:compileDebugRenderscript NO-SOURCE
    > Task :unityLibrary:FirebaseApp.androidlib:compileDebugRenderscript NO-SOURCE
    > Task :unityLibrary:generateDebugResources
    > Task :unityLibrary:FirebaseCrashlytics.androidlib:compileDebugRenderscript NO-SOURCE
    > Task :unityLibrary:FirebaseApp.androidlib:generateDebugResValues
    > Task :unityLibrary:FirebaseApp.androidlib:generateDebugResources
    > Task :unityLibrary:FirebaseCrashlytics.androidlib:generateDebugResValues
    > Task :unityLibrary:FirebaseCrashlytics.androidlib:generateDebugResources
    > Task :unityLibrary:FirebaseApp.androidlib:packageDebugResources
    > Task :unityLibrary:MaxMediationGoogle.androidlib:compileDebugRenderscript NO-SOURCE
    > Task :unityLibrary:FirebaseCrashlytics.androidlib:packageDebugResources
    > Task :launcher:checkDebugManifest
    > Task :unityLibrary:MaxMediationGoogle.androidlib:generateDebugResValues
    > Task :unityLibrary:MaxMediationGoogle.androidlib:generateDebugResources
    > Task :unityLibrary:packageDebugResources
    > Task :launcher:createDebugCompatibleScreenManifests
    > Task :unityLibrary:MaxMediationGoogle.androidlib:packageDebugResources
    > Task :launcher:mainApkListPersistenceDebug
    > Task :unityLibrary:FirebaseApp.androidlib:mergeDebugShaders
    > Task :unityLibrary:mergeDebugShaders
    > Task :unityLibrary:compileDebugShaders
    > Task :unityLibrary:generateDebugAssets
    > Task :unityLibrary:FirebaseApp.androidlib:compileDebugShaders
    > Task :unityLibrary:FirebaseApp.androidlib:generateDebugAssets
    > Task :unityLibrary:FirebaseApp.androidlib:packageDebugAssets
    > Task :unityLibrary:FirebaseCrashlytics.androidlib:mergeDebugShaders
    > Task :unityLibrary:FirebaseCrashlytics.androidlib:compileDebugShaders
    > Task :unityLibrary:FirebaseCrashlytics.androidlib:generateDebugAssets
    > Task :unityLibrary:FirebaseCrashlytics.androidlib:packageDebugAssets
    > Task :unityLibrary:MaxMediationGoogle.androidlib:mergeDebugShaders
    > Task :unityLibrary:MaxMediationGoogle.androidlib:compileDebugShaders
    > Task :unityLibrary:MaxMediationGoogle.androidlib:generateDebugAssets
    > Task :unityLibrary:MaxMediationGoogle.androidlib:packageDebugAssets
    > Task :unityLibrary:packageDebugAssets
    > Task :launcher:mergeDebugResources
    > Task :unityLibrary:FirebaseApp.androidlib:compileDebugAidl NO-SOURCE
    > Task :unityLibrary:FirebaseCrashlytics.androidlib:compileDebugAidl NO-SOURCE
    > Task :unityLibrary:MaxMediationGoogle.androidlib:compileDebugAidl NO-SOURCE
    > Task :unityLibrary:compileDebugAidl NO-SOURCE
    > Task :unityLibrary:generateDebugBuildConfig
    > Task :unityLibrary:FirebaseApp.androidlib:generateDebugRFile
    > Task :unityLibrary:FirebaseCrashlytics.androidlib:generateDebugRFile
    > Task :unityLibrary:prepareLintJar
    > Task :unityLibrary:generateDebugSources
    > Task :unityLibrary:FirebaseApp.androidlib:generateDebugBuildConfig
    > Task :unityLibrary:FirebaseApp.androidlib:prepareLintJar
    > Task :unityLibrary:FirebaseApp.androidlib:generateDebugSources
    > Task :unityLibrary:MaxMediationGoogle.androidlib:generateDebugRFile
    > Task :unityLibrary:FirebaseApp.androidlib:javaPreCompileDebug
    > Task :unityLibrary:generateDebugRFile
    > Task :unityLibrary:FirebaseCrashlytics.androidlib:generateDebugBuildConfig
    > Task :unityLibrary:FirebaseCrashlytics.androidlib:prepareLintJar
    > Task :unityLibrary:FirebaseCrashlytics.androidlib:generateDebugSources
    > Task :unityLibrary:FirebaseCrashlytics.androidlib:javaPreCompileDebug
    > Task :unityLibrary:FirebaseApp.androidlib:compileDebugJavaWithJavac
    > Task :unityLibrary:FirebaseCrashlytics.androidlib:compileDebugJavaWithJavac
    > Task :unityLibrary:FirebaseCrashlytics.androidlib:bundleLibCompileDebug
    > Task :unityLibrary:FirebaseApp.androidlib:bundleLibCompileDebug
    > Task :unityLibrary:FirebaseApp.androidlib:bundleLibRuntimeDebug
    > Task :unityLibrary:MaxMediationGoogle.androidlib:generateDebugBuildConfig
    > Task :unityLibrary:MaxMediationGoogle.androidlib:prepareLintJar
    > Task :unityLibrary:MaxMediationGoogle.androidlib:generateDebugSources
    > Task :unityLibrary:MaxMediationGoogle.androidlib:javaPreCompileDebug
    > Task :unityLibrary:FirebaseCrashlytics.androidlib:bundleLibRuntimeDebug
    > Task :unityLibrary:MaxMediationGoogle.androidlib:compileDebugJavaWithJavac
    > Task :unityLibrary:MaxMediationGoogle.androidlib:bundleLibCompileDebug
    > Task :unityLibrary:MaxMediationGoogle.androidlib:bundleLibRuntimeDebug

    > Task :launcher:processDebugManifest FAILED

    See http://g.co/androidstudio/manifest-merger for more information about the manifest merger.


    > Task :unityLibrary:javaPreCompileDebug

    Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
    Use '--warning-mode all' to show the individual deprecation warnings.
    See https://docs.gradle.org/6.1.1/userguide/command_line_interface.html#sec:command_line_warnings
    60 actionable tasks: 60 executed

    UnityEngine.GUIUtility:processEvent (int,intptr,bool&)