Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Bug Ironsource integration

Discussion in 'Unity Ads & User Acquisition' started by Nihil688, Aug 17, 2022.

  1. Nihil688

    Nihil688

    Joined:
    Mar 12, 2013
    Posts:
    503
    After unity's ads stopped working completely for me ( v3.7.5 or v4.4.0 ) I decided to switch to ironsource but I got loads of errors when I am trying to build to android:

    Code (CSharp):
    1.  
    2. > Configure project :launcher
    3. WARNING: The option setting 'android.enableR8=false' is deprecated.
    4. It will be removed in version 5.0 of the Android Gradle plugin.
    5. You will no longer be able to disable R8
    6. Exception while marshalling C:\Program Files\Unity\Hub\Editor\2021.3.6f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\build-tools\30.0.2\package.xml. Probably the SDK is read-only
    7. Exception while marshalling C:\Program Files\Unity\Hub\Editor\2021.3.6f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platform-tools\package.xml. Probably the SDK is read-only
    8. Exception while marshalling C:\Program Files\Unity\Hub\Editor\2021.3.6f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platforms\android-29\package.xml. Probably the SDK is read-only
    9. Exception while marshalling C:\Program Files\Unity\Hub\Editor\2021.3.6f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platforms\android-30\package.xml. Probably the SDK is read-only
    10. Exception while marshalling C:\Program Files\Unity\Hub\Editor\2021.3.6f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\tools\package.xml. Probably the SDK is read-only
    11.  
    12. > Task :unityLibrary:EasyMobile.androidlib:preBuild UP-TO-DATE
    13. > Task :unityLibrary:preBuild UP-TO-DATE
    14. > Task :unityLibrary:preReleaseBuild UP-TO-DATE
    15. > Task :unityLibrary:EasyMobile.androidlib:preReleaseBuild UP-TO-DATE
    16. > Task :unityLibrary:IronSource.plugin:preBuild UP-TO-DATE
    17. > Task :launcher:preBuild UP-TO-DATE
    18. > Task :launcher:preReleaseBuild UP-TO-DATE
    19. > Task :unityLibrary:IronSource.plugin:preReleaseBuild UP-TO-DATE
    20. > Task :unityLibrary:packageReleaseRenderscript NO-SOURCE
    21. > Task :unityLibrary:EasyMobile.androidlib:compileReleaseAidl NO-SOURCE
    22. > Task :unityLibrary:IronSource.plugin:compileReleaseAidl NO-SOURCE
    23. > Task :launcher:compileReleaseRenderscript NO-SOURCE
    24. > Task :launcher:generateReleaseBuildConfig UP-TO-DATE
    25. > Task :unityLibrary:compileReleaseAidl NO-SOURCE
    26. > Task :launcher:javaPreCompileRelease UP-TO-DATE
    27. > Task :launcher:compileReleaseAidl NO-SOURCE
    28. > Task :launcher:generateReleaseResValues UP-TO-DATE
    29. > Task :unityLibrary:EasyMobile.androidlib:packageReleaseRenderscript NO-SOURCE
    30. > Task :unityLibrary:IronSource.plugin:packageReleaseRenderscript NO-SOURCE
    31. > Task :unityLibrary:generateReleaseResValues UP-TO-DATE
    32. > Task :launcher:generateReleaseResources UP-TO-DATE
    33. > Task :unityLibrary:IronSource.plugin:compileReleaseRenderscript NO-SOURCE
    34. > Task :unityLibrary:EasyMobile.androidlib:compileReleaseRenderscript NO-SOURCE
    35. > Task :unityLibrary:IronSource.plugin:generateReleaseResValues UP-TO-DATE
    36. > Task :unityLibrary:compileReleaseRenderscript NO-SOURCE
    37. > Task :unityLibrary:generateReleaseResources UP-TO-DATE
    38. > Task :unityLibrary:IronSource.plugin:generateReleaseResources UP-TO-DATE
    39. > Task :unityLibrary:EasyMobile.androidlib:generateReleaseResValues UP-TO-DATE
    40. > Task :unityLibrary:IronSource.plugin:packageReleaseResources UP-TO-DATE
    41. > Task :unityLibrary:EasyMobile.androidlib:generateReleaseResources UP-TO-DATE
    42. > Task :unityLibrary:packageReleaseResources UP-TO-DATE
    43. > Task :unityLibrary:EasyMobile.androidlib:packageReleaseResources UP-TO-DATE
    44. > Task :launcher:createReleaseCompatibleScreenManifests UP-TO-DATE
    45. > Task :unityLibrary:IronSource.plugin:extractDeepLinksRelease UP-TO-DATE
    46. > Task :unityLibrary:EasyMobile.androidlib:extractDeepLinksRelease UP-TO-DATE
    47. > Task :launcher:extractDeepLinksRelease UP-TO-DATE
    48. > Task :unityLibrary:extractDeepLinksRelease UP-TO-DATE
    49. > Task :unityLibrary:EasyMobile.androidlib:processReleaseManifest UP-TO-DATE
    50. > Task :unityLibrary:processReleaseManifest UP-TO-DATE
    51. > Task :unityLibrary:IronSource.plugin:processReleaseManifest UP-TO-DATE
    52. > Task :unityLibrary:compileReleaseLibraryResources UP-TO-DATE
    53. > Task :unityLibrary:EasyMobile.androidlib:parseReleaseLocalResources UP-TO-DATE
    54. > Task :unityLibrary:IronSource.plugin:parseReleaseLocalResources UP-TO-DATE
    55. > Task :unityLibrary:parseReleaseLocalResources UP-TO-DATE
    56. > Task :unityLibrary:generateReleaseBuildConfig UP-TO-DATE
    57. > Task :unityLibrary:javaPreCompileRelease UP-TO-DATE
    58. > Task :unityLibrary:IronSource.plugin:generateReleaseRFile UP-TO-DATE
    59. > Task :unityLibrary:IronSource.plugin:compileReleaseLibraryResources UP-TO-DATE
    60. > Task :unityLibrary:IronSource.plugin:generateReleaseBuildConfig UP-TO-DATE
    61. > Task :unityLibrary:IronSource.plugin:javaPreCompileRelease UP-TO-DATE
    62. > Task :unityLibrary:EasyMobile.androidlib:generateReleaseRFile UP-TO-DATE
    63. > Task :unityLibrary:EasyMobile.androidlib:compileReleaseLibraryResources UP-TO-DATE
    64. > Task :unityLibrary:IronSource.plugin:compileReleaseJavaWithJavac UP-TO-DATE
    65. > Task :unityLibrary:EasyMobile.androidlib:generateReleaseBuildConfig UP-TO-DATE
    66. > Task :unityLibrary:IronSource.plugin:bundleLibCompileToJarRelease UP-TO-DATE
    67. > Task :unityLibrary:EasyMobile.androidlib:javaPreCompileRelease UP-TO-DATE
    68. > Task :launcher:mergeReleaseResources UP-TO-DATE
    69. > Task :unityLibrary:EasyMobile.androidlib:compileReleaseJavaWithJavac UP-TO-DATE
    70. > Task :unityLibrary:EasyMobile.androidlib:bundleLibCompileToJarRelease UP-TO-DATE
    71. > Task :launcher:processReleaseManifest UP-TO-DATE
    72. > Task :unityLibrary:generateReleaseRFile UP-TO-DATE
    73. > Task :launcher:prepareLintJar UP-TO-DATE
    74. > Task :unityLibrary:EasyMobile.androidlib:prepareLintJarForPublish UP-TO-DATE
    75. > Task :unityLibrary:IronSource.plugin:prepareLintJarForPublish UP-TO-DATE
    76. > Task :unityLibrary:EasyMobile.androidlib:bundleLibRuntimeToJarRelease UP-TO-DATE
    77. > Task :unityLibrary:IronSource.plugin:bundleLibRuntimeToJarRelease UP-TO-DATE
    78. > Task :unityLibrary:EasyMobile.androidlib:mergeReleaseShaders UP-TO-DATE
    79. > Task :unityLibrary:IronSource.plugin:mergeReleaseShaders UP-TO-DATE
    80. > Task :unityLibrary:EasyMobile.androidlib:compileReleaseShaders NO-SOURCE
    81. > Task :unityLibrary:EasyMobile.androidlib:generateReleaseAssets UP-TO-DATE
    82. > Task :unityLibrary:compileReleaseJavaWithJavac UP-TO-DATE
    83. > Task :unityLibrary:EasyMobile.androidlib:packageReleaseAssets UP-TO-DATE
    84. > Task :unityLibrary:IronSource.plugin:compileReleaseShaders NO-SOURCE
    85. > Task :unityLibrary:IronSource.plugin:generateReleaseAssets UP-TO-DATE
    86. > Task :unityLibrary:IronSource.plugin:packageReleaseAssets UP-TO-DATE
    87. > Task :unityLibrary:bundleLibCompileToJarRelease UP-TO-DATE
    88. > Task :unityLibrary:prepareLintJarForPublish UP-TO-DATE
    89. > Task :unityLibrary:bundleLibRuntimeToJarRelease UP-TO-DATE
    90. > Task :unityLibrary:mergeReleaseShaders UP-TO-DATE
    91. > Task :unityLibrary:compileReleaseShaders NO-SOURCE
    92. > Task :unityLibrary:generateReleaseAssets UP-TO-DATE
    93. > Task :launcher:checkReleaseDuplicateClasses FAILED
    94. > Task :unityLibrary:packageReleaseAssets
    95. > Task :launcher:desugarReleaseFileDependencies
    96. 55 actionable tasks: 3 executed, 52 up-to-date
    97.  
    98. UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
    99.  
    I've installed all integrations, removed linking to unity ads / services, deleted resolved and forced resolve android packages, tried android 5.1 till 11 and still no luck.

    Any ideas?
     
  2. rasmus-unity

    rasmus-unity

    Moderator

    Joined:
    Aug 15, 2014
    Posts:
    1,312
  3. Nihil688

    Nihil688

    Joined:
    Mar 12, 2013
    Posts:
    503
    Unfortunately no, I tried it all. It's definitely something to do with the manifests and gradle and all that but every time it's something different and small that takes ages to figure out
     
    PsijicNine likes this.
  4. CosmusOne

    CosmusOne

    Joined:
    Feb 7, 2021
    Posts:
    6
    you cannot unistall it i had same issues. put it back everything works fine