Search Unity

Bug Level Play in UNITY 2022??

Discussion in 'LevelPlay' started by PapayaLimon, Mar 13, 2023.

  1. PapayaLimon

    PapayaLimon

    Joined:
    Aug 22, 2018
    Posts:
    85
    Want to know if there is some way to make Ads work on Unity ver.2022. I want to upgrade my game, but I still get the same issue with the ads and not showing on 2022.
     
  2. valonsoft

    valonsoft

    Joined:
    May 22, 2016
    Posts:
    28
  3. ap-unity

    ap-unity

    Unity Technologies

    Joined:
    Aug 3, 2016
    Posts:
    1,519
  4. PapayaLimon

    PapayaLimon

    Joined:
    Aug 22, 2018
    Posts:
    85
    The issue is that when I try to build it looks this error:

    Code (CSharp):
    1. Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details
    2.  
    3. > Configure project :launcher
    4. WARNING:The option setting 'android.bundle.enableUncompressedNativeLibs=false' is deprecated.
    5. The current default is 'true'.
    6. It will be removed in version 8.0 of the Android Gradle plugin.
    7. You can add the following to your build.gradle instead:
    8. android {
    9.     packagingOptions {
    10.         jniLibs {
    11.             useLegacyPackaging = true
    12.         }
    13.     }
    14. }
    15.  
    16. > Configure project :unityLibrary
    17. Build was configured to prefer settings repositories over project repositories but repository 'maven' was added by build file 'unityLibrary\build.gradle'
    18. Build was configured to prefer settings repositories over project repositories but repository 'maven2' was added by build file 'unityLibrary\build.gradle'
    19. Build was configured to prefer settings repositories over project repositories but repository 'maven3' was added by build file 'unityLibrary\build.gradle'
    20. Build was configured to prefer settings repositories over project repositories but repository 'MavenLocal' was added by build file 'unityLibrary\build.gradle'
    21. Build was configured to prefer settings repositories over project repositories but repository 'BintrayJCenter' was added by build file 'unityLibrary\build.gradle'
    22. Build was configured to prefer settings repositories over project repositories but repository 'MavenRepo' was added by build file 'unityLibrary\build.gradle'
    23. Build was configured to prefer settings repositories over project repositories but repository 'maven' was added by build file 'unityLibrary\build.gradle'
    24. Build was configured to prefer settings repositories over project repositories but repository 'maven2' was added by build file 'unityLibrary\build.gradle'
    25. Build was configured to prefer settings repositories over project repositories but repository 'maven3' was added by build file 'unityLibrary\build.gradle'
    26. Build was configured to prefer settings repositories over project repositories but repository 'MavenLocal' was added by build file 'unityLibrary\build.gradle'
    27. Build was configured to prefer settings repositories over project repositories but repository 'BintrayJCenter' was added by build file 'unityLibrary\build.gradle'
    28. Build was configured to prefer settings repositories over project repositories but repository 'MavenRepo' was added by build file 'unityLibrary\build.gradle'
    29. Build was configured to prefer settings repositories over project repositories but repository 'maven' was added by build file 'unityLibrary\build.gradle'
    30. Build was configured to prefer settings repositories over project repositories but repository 'maven2' was added by build file 'unityLibrary\build.gradle'
    31. Build was configured to prefer settings repositories over project repositories but repository 'maven3' was added by build file 'unityLibrary\build.gradle'
    32. Build was configured to prefer settings repositories over project repositories but repository 'MavenLocal' was added by build file 'unityLibrary\build.gradle'
    33. Build was configured to prefer settings repositories over project repositories but repository 'BintrayJCenter' was added by build file 'unityLibrary\build.gradle'
    34. Build was configured to prefer settings repositories over project repositories but repository 'MavenRepo' was added by build file 'unityLibrary\build.gradle'
    35. WARNING:We recommend using a newer Android Gradle plugin to use compileSdk = 33
    36.  
    37. This Android Gradle plugin (7.1.2) was tested up to compileSdk = 32
    38.  
    39. This warning can be suppressed by adding
    40.     android.suppressUnsupportedCompileSdk=33
    41. to this project's gradle.properties
    42.  
    43. The build will continue, but you are strongly encouraged to update your project to
    44. use a newer Android Gradle Plugin that has been tested with compileSdk = 33
    45.  
    46. > Task :launcher:preBuild UP-TO-DATE
    47. > Task :unityLibrary:IronSource.plugin:preBuild UP-TO-DATE
    48. > Task :unityLibrary:preBuild UP-TO-DATE
    49. > Task :launcher:preReleaseBuild UP-TO-DATE
    50. > Task :unityLibrary:preReleaseBuild UP-TO-DATE
    51. > Task :unityLibrary:IronSource.plugin:preReleaseBuild UP-TO-DATE
    52. > Task :unityLibrary:packageReleaseRenderscript NO-SOURCE
    53. > Task :unityLibrary:IronSource.plugin:packageReleaseRenderscript NO-SOURCE
    54. > Task :unityLibrary:IronSource.plugin:compileReleaseRenderscript NO-SOURCE
    55. > Task :unityLibrary:compileReleaseRenderscript NO-SOURCE
    56. > Task :unityLibrary:generateReleaseResValues
    57. > Task :launcher:generateReleaseResValues
    58. > Task :unityLibrary:IronSource.plugin:generateReleaseResValues
    59. > Task :unityLibrary:generateReleaseResources
    60. > Task :unityLibrary:IronSource.plugin:generateReleaseResources
    61. > Task :launcher:compileReleaseRenderscript NO-SOURCE
    62. > Task :launcher:generateReleaseResources
    63. > Task :launcher:writeReleaseApplicationId
    64. > Task :launcher:analyticsRecordingRelease
    65. > Task :unityLibrary:IronSource.plugin:packageReleaseResources
    66. > Task :unityLibrary:IronSource.plugin:extractDeepLinksRelease
    67. > Task :launcher:createReleaseCompatibleScreenManifests
    68. > Task :launcher:extractDeepLinksRelease
    69. > Task :launcher:mergeReleaseShaders
    70. > Task :launcher:compileReleaseShaders NO-SOURCE
    71. > Task :launcher:generateReleaseAssets UP-TO-DATE
    72. > Task :unityLibrary:packageReleaseResources
    73. > Task :unityLibrary:extractDeepLinksRelease
    74. > Task :unityLibrary:mergeReleaseShaders
    75. > Task :unityLibrary:IronSource.plugin:mergeReleaseShaders
    76. > Task :unityLibrary:compileReleaseShaders NO-SOURCE
    77. > Task :unityLibrary:generateReleaseAssets UP-TO-DATE
    78. > Task :unityLibrary:IronSource.plugin:compileReleaseShaders NO-SOURCE
    79. > Task :unityLibrary:IronSource.plugin:generateReleaseAssets UP-TO-DATE
    80. > Task :unityLibrary:IronSource.plugin:compileReleaseLibraryResources
    81. > Task :unityLibrary:IronSource.plugin:packageReleaseAssets
    82. > Task :unityLibrary:compileReleaseLibraryResources
    83. > Task :unityLibrary:IronSource.plugin:compileReleaseAidl NO-SOURCE
    84.  
    85. > Task :unityLibrary:processReleaseManifest
    86. C:\Geraldina\Mobile Games\TheSpiderAndTheSnake\Library\Bee\Android\Prj\IL2CPP\Gradle\unityLibrary\src\main\AndroidManifest.xml:26:3-42 Warning:
    87.    uses-sdk:minSdkVersion value (19) specified in the manifest file is ignored. It is overridden by the value declared in the DSL or the variant API, or 1 if not declared/present. Current value is (22).
    88. C:\Geraldina\Mobile Games\TheSpiderAndTheSnake\Library\Bee\Android\Prj\IL2CPP\Gradle\unityLibrary\src\main\AndroidManifest.xml:3:3-93 Warning:
    89.    uses-permission#android.permission.READ_PHONE_STATE was tagged at AndroidManifest.xml:3 to remove other declarations but no other declaration present
    90.  
    91. > Task :unityLibrary:IronSource.plugin:processReleaseManifest
    92. > Task :unityLibrary:packageReleaseAssets
    93. > Task :unityLibrary:compileReleaseAidl NO-SOURCE
    94. > Task :unityLibrary:generateReleaseBuildConfig
    95. > Task :unityLibrary:IronSource.plugin:generateReleaseBuildConfig
    96. > Task :unityLibrary:javaPreCompileRelease
    97. > Task :unityLibrary:IronSource.plugin:javaPreCompileRelease
    98. > Task :unityLibrary:IronSource.plugin:processReleaseJavaRes NO-SOURCE
    99. > Task :unityLibrary:IronSource.plugin:writeReleaseAarMetadata
    100. > Task :unityLibrary:writeReleaseAarMetadata
    101. > Task :unityLibrary:IronSource.plugin:bundleLibResRelease NO-SOURCE
    102. > Task :unityLibrary:processReleaseJavaRes
    103. > Task :unityLibrary:IronSource.plugin:parseReleaseLocalResources
    104. > Task :unityLibrary:parseReleaseLocalResources
    105. > Task :unityLibrary:bundleLibResRelease
    106. > Task :unityLibrary:IronSource.plugin:mergeReleaseJniLibFolders
    107. > Task :unityLibrary:IronSource.plugin:mergeReleaseNativeLibs NO-SOURCE
    108. > Task :unityLibrary:IronSource.plugin:copyReleaseJniLibsProjectOnly
    109. > Task :unityLibrary:IronSource.plugin:prepareReleaseArtProfile
    110. > Task :unityLibrary:IronSource.plugin:generateReleaseRFile
    111. > Task :unityLibrary:mergeReleaseJniLibFolders
    112. > Task :unityLibrary:IronSource.plugin:compileReleaseJavaWithJavac
    113. > Task :unityLibrary:IronSource.plugin:mergeReleaseGeneratedProguardFiles
    114. > Task :unityLibrary:IronSource.plugin:exportReleaseConsumerProguardFiles
    115. > Task :unityLibrary:IronSource.plugin:bundleLibCompileToJarRelease
    116. > Task :unityLibrary:IronSource.plugin:bundleLibRuntimeToJarRelease
    117. > Task :launcher:checkReleaseDuplicateClasses FAILED
    118. > Task :unityLibrary:generateReleaseRFile FAILED
    119.  
    120. Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
    121.  
    122. You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
    123.  
    124. See https://docs.gradle.org/7.2/userguide/command_line_interface.html#sec:command_line_warnings
    125. 42 actionable tasks: 42 executed
    126.  
    127. UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
    128.  
    129. Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
    130.  
    131. FAILURE: Build completed with 2 failures.
    132.  
    133. 1: Task failed with an exception.
    134. -----------
    135. * What went wrong:
    136. Execution failed for task ':launcher:checkReleaseDuplicateClasses'.
    137. > Could not resolve all files for configuration ':launcher:releaseRuntimeClasspath'.
    138.   > Could not find com.ironsource.adapters:adcolonyadapter:4.3.14.
    139.     Searched in the following locations:
    140.       - https://dl.google.com/dl/android/maven2/com/ironsource/adapters/adcolonyadapter/4.3.14/adcolonyadapter-4.3.14.pom
    141.       - https://repo.maven.apache.org/maven2/com/ironsource/adapters/adcolonyadapter/4.3.14/adcolonyadapter-4.3.14.pom
    142.       - file:/C:/Geraldina/Mobile Games/TheSpiderAndTheSnake/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/libs/adcolonyadapter-4.3.14.jar
    143.       - file:/C:/Geraldina/Mobile Games/TheSpiderAndTheSnake/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/libs/adcolonyadapter.jar
    144.     Required by:
    145.         project :launcher > project :unityLibrary
    146.   > Could not find com.ironsource.adapters:admobadapter:4.3.35.
    147.     Searched in the following locations:
    148.       - https://dl.google.com/dl/android/maven2/com/ironsource/adapters/admobadapter/4.3.35/admobadapter-4.3.35.pom
    149.       - https://repo.maven.apache.org/maven2/com/ironsource/adapters/admobadapter/4.3.35/admobadapter-4.3.35.pom
    150.       - file:/C:/Geraldina/Mobile Games/TheSpiderAndTheSnake/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/libs/admobadapter-4.3.35.jar
    151.       - file:/C:/Geraldina/Mobile Games/TheSpiderAndTheSnake/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/libs/admobadapter.jar
    152.     Required by:
    153.         project :launcher > project :unityLibrary
    154.   > Could not find com.ironsource.adapters:facebookadapter:4.3.39.
    155.     Searched in the following locations:
    156.       - https://dl.google.com/dl/android/maven2/com/ironsource/adapters/facebookadapter/4.3.39/facebookadapter-4.3.39.pom
    157.       - https://repo.maven.apache.org/maven2/com/ironsource/adapters/facebookadapter/4.3.39/facebookadapter-4.3.39.pom
    158.       - file:/C:/Geraldina/Mobile Games/TheSpiderAndTheSnake/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/libs/facebookadapter-4.3.39.jar
    159.       - file:/C:/Geraldina/Mobile Games/TheSpiderAndTheSnake/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/libs/facebookadapter.jar
    160.     Required by:
    161.         project :launcher > project :unityLibrary
    162.   > Could not find com.ironsource.adapters:liftoffadapter:4.3.5.
    163.     Searched in the following locations:
    164.       - https://dl.google.com/dl/android/maven2/com/ironsource/adapters/liftoffadapter/4.3.5/liftoffadapter-4.3.5.pom
    165.       - https://repo.maven.apache.org/maven2/com/ironsource/adapters/liftoffadapter/4.3.5/liftoffadapter-4.3.5.pom
    166.       - file:/C:/Geraldina/Mobile Games/TheSpiderAndTheSnake/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/libs/liftoffadapter-4.3.5.jar
    167.       - file:/C:/Geraldina/Mobile Games/TheSpiderAndTheSnake/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/libs/liftoffadapter.jar
    168.     Required by:
    169.         project :launcher > project :unityLibrary
    170.   > Could not find com.ironsource.adapters:unityadsadapter:4.3.26.
    171.     Searched in the following locations:
    172.       - https://repo.maven.apache.org/maven2/com/ironsource/adapters/unityadsadapter/4.3.26/unityadsadapter-4.3.26.pom
    173.     If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
    174.     Required by:
    175.         project :launcher > project :unityLibrary
    176.   > Could not find com.ironsource.sdk:mediationsdk:7.3.0.
    177.     Searched in the following locations:
    178.       - https://dl.google.com/dl/android/maven2/com/ironsource/sdk/mediationsdk/7.3.0/mediationsdk-7.3.0.pom
    179.       - https://repo.maven.apache.org/maven2/com/ironsource/sdk/mediationsdk/7.3.0/mediationsdk-7.3.0.pom
    180.     Required by:
    181.         project :launcher > project :unityLibrary
    182.  
    183. * Try:
    184. 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.
    185. ==============================================================================
    186.  
    187. 2: Task failed with an exception.
    188. -----------
    189. * What went wrong:
    190. Execution failed for task ':unityLibrary:generateReleaseRFile'.
    191. > Could not resolve all files for configuration ':unityLibrary:releaseCompileClasspath'.
    192.   > Could not find com.ironsource.adapters:adcolonyadapter:4.3.14.
    193.     Required by:
    194.         project :unityLibrary
    195.   > Could not find com.ironsource.adapters:admobadapter:4.3.35.
    196.     Required by:
    197.         project :unityLibrary
    198.   > Could not find com.ironsource.adapters:facebookadapter:4.3.39.
    199.     Required by:
    200.         project :unityLibrary
    201.   > Could not find com.ironsource.adapters:liftoffadapter:4.3.5.
    202.     Required by:
    203.         project :unityLibrary
    204.   > Could not find com.ironsource.adapters:unityadsadapter:4.3.26.
    205.     Required by:
    206.         project :unityLibrary
    207.   > Could not find com.ironsource.sdk:mediationsdk:7.3.0.
    208.     Required by:
    209.         project :unityLibrary
    210.  
    211. * Try:
    212. 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.
    213. ==============================================================================
    214.  
    215. * Get more help at https://help.gradle.org
    216.  
    217. BUILD FAILED in 17s
    218.  
    219. UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
    220.  
    221. CommandInvokationFailure: Gradle build failed.
    222. C:\Program Files\Unity\Hub\Editor\2022.2.11f1\Editor\Data\PlaybackEngines\AndroidPlayer\OpenJDK\bin\java.exe -classpath "C:\Program Files\Unity\Hub\Editor\2022.2.11f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-7.2.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx4096m" "bundleRelease"
    223.  
    224. Environment Variables:
    225. EFC_7732 = 0
    226. USERDOMAIN = CUTYDINA
    227. ProgramFiles = C:\Program Files
    228. TMP = C:\Users\geral\AppData\Local\Temp
    229. OneDrive = C:\Users\geral\OneDrive
    230. PROCESSOR_ARCHITECTURE = AMD64
    231. PROCESSOR_REVISION = a701
    232. OS = Windows_NT
    233. CHROME_CRASHPAD_PIPE_NAME = \\.\pipe\crashpad_4808_GMDJECDGFUXWCDBF
    234. PROCESSOR_IDENTIFIER = Intel64 Family 6 Model 167 Stepping 1, GenuineIntel
    235. ProgramW6432 = C:\Program Files
    236. GRADLE = C:\Gradle\gradle-6.9.3\bin
    237. USERPROFILE = C:\Users\geral
    238. JAVA_HOME = C:\Program Files\Unity\Hub\Editor\2022.2.11f1\Editor\Data\PlaybackEngines\AndroidPlayer\OpenJDK
    239. JD2_HOME = C:\Users\geral\AppData\Local\JDownloader 2.0
    240. DriverData = C:\Windows\System32\Drivers\DriverData
    241. ComSpec = C:\WINDOWS\system32\cmd.exe
    242. PSModulePath = C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules
    243. ANDROID_NDK_ROOT = C:\Program Files\Unity\Hub\Editor\2022.2.11f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK
    244. SystemRoot = C:\WINDOWS
    245. NUMBER_OF_PROCESSORS = 16
    246. JAVA_TOOL_OPTIONS = -Dfile.encoding=UTF-8
    247. BURST_ANDROID_MIN_API_LEVEL = 22
    248. FPS_BROWSER_APP_PROFILE_STRING = Internet Explorer
    249. TEMP = C:\Users\geral\AppData\Local\Temp
    250. Path = C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files\Common Files\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files\dotnet\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Users\geral\AppData\Local\Programs\Python\Python311\Scripts\;C:\Users\geral\AppData\Local\Programs\Python\Python311\;C:\Users\geral\AppData\Local\Microsoft\WindowsApps;
    251. PYTHON = C:\Users\geral\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Python 3.11
    252. USERNAME = geral
    253. COMPUTERNAME = CUTYDINA
    254. PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
    255. ALLUSERSPROFILE = C:\ProgramData
    256. SystemDrive = C:
    257. windir = C:\WINDOWS
    258. FPS_BROWSER_USER_PROFILE_STRING = Default
    259. HOMEPATH = \Users\geral
    260. PUBLIC = C:\Users\Public
    261. CommonProgramFiles(x86) = C:\Program Files (x86)\Common Files
    262. APPDATA = C:\Users\geral\AppData\Roaming
    263. CommonProgramFiles = C:\Program Files\Common Files
    264. PROCESSOR_LEVEL = 6
    265. CommonProgramW6432 = C:\Program Files\Common Files
    266. ProgramFiles(x86) = C:\Program Files (x86)
    267. SESSIONNAME = Console
    268. LOGONSERVER = \\CUTYDINA
    269. LOCALAPPDATA = C:\Users\geral\AppData\Local
    270. HOMEDRIVE = C:
    271. USERDOMAIN_ROAMINGPROFILE = CUTYDINA
    272. ProgramData = C:\ProgramData
    273. ORIGINAL_XDG_CURRENT_DESKTOP = undefined
    274.  
    275.  
    276. stderr[
    277. Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
    278.  
    279. FAILURE: Build completed with 2 failures.
    280.  
    281. 1: Task failed with an exception.
    282. -----------
    283. * What went wrong:
    284. Execution failed for task ':launcher:checkReleaseDuplicateClasses'.
    285. > Could not resolve all files for configuration ':launcher:releaseRuntimeClasspath'.
    286.   > Could not find com.ironsource.adapters:adcolonyadapter:4.3.14.
    287.     Searched in the following locations:
    288.       - https://dl.google.com/dl/android/maven2/com/ironsource/adapters/adcolonyadapter/4.3.14/adcolonyadapter-4.3.14.pom
    289.       - https://repo.maven.apache.org/maven2/com/ironsource/adapters/adcolonyadapter/4.3.14/adcolonyadapter-4.3.14.pom
    290.       - file:/C:/Geraldina/Mobile Games/TheSpiderAndTheSnake/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/libs/adcolonyadapter-4.3.14.jar
    291.       - file:/C:/Geraldina/Mobile Games/TheSpiderAndTheSnake/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/libs/adcolonyadapter.jar
    292.     Required by:
    293.         project :launcher > project :unityLibrary
    294.   > Could not find com.ironsource.adapters:admobadapter:4.3.35.
    295.     Searched in the following locations:
    296.       - https://dl.google.com/dl/android/maven2/com/ironsource/adapters/admobadapter/4.3.35/admobadapter-4.3.35.pom
    297.       - https://repo.maven.apache.org/maven2/com/ironsource/adapters/admobadapter/4.3.35/admobadapter-4.3.35.pom
    298.       - file:/C:/Geraldina/Mobile Games/TheSpiderAndTheSnake/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/libs/admobadapter-4.3.35.jar
    299.       - file:/C:/Geraldina/Mobile Games/TheSpiderAndTheSnake/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/libs/admobadapter.jar
    300.     Required by:
    301.         project :launcher > project :unityLibrary
    302.   > Could not find com.ironsource.adapters:facebookadapter:4.3.39.
    303.     Searched in the following locations:
    304.       - https://dl.google.com/dl/android/maven2/com/ironsource/adapters/facebookadapter/4.3.39/facebookadapter-4.3.39.pom
    305.       - https://repo.maven.apache.org/maven2/com/ironsource/adapters/facebookadapter/4.3.39/facebookadapter-4.3.39.pom
    306.       - file:/C:/Geraldina/Mobile Games/TheSpiderAndTheSnake/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/libs/facebookadapter-4.3.39.jar
    307.       - file:/C:/Geraldina/Mobile Games/TheSpiderAndTheSnake/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/libs/facebookadapter.jar
    308.     Required by:
    309.         project :launcher > project :unityLibrary
    310.   > Could not find com.ironsource.adapters:liftoffadapter:4.3.5.
    311.     Searched in the following locations:
    312.       - https://dl.google.com/dl/android/maven2/com/ironsource/adapters/liftoffadapter/4.3.5/liftoffadapter-4.3.5.pom
    313.       - https://repo.maven.apache.org/maven2/com/ironsource/adapters/liftoffadapter/4.3.5/liftoffadapter-4.3.5.pom
    314.       - file:/C:/Geraldina/Mobile Games/TheSpiderAndTheSnake/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/libs/liftoffadapter-4.3.5.jar
    315.       - file:/C:/Geraldina/Mobile Games/TheSpiderAndTheSnake/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/libs/liftoffadapter.jar
    316.     Required by:
    317.         project :launcher > project :unityLibrary
    318.   > Could not find com.ironsource.adapters:unityadsadapter:4.3.26.
    319.     Searched in the following locations:
    320.       - https://repo.maven.apache.org/maven2/com/ironsource/adapters/unityadsadapter/4.3.26/unityadsadapter-4.3.26.pom
    321.     If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
    322.     Required by:
    323.         project :launcher > project :unityLibrary
    324.   > Could not find com.ironsource.sdk:mediationsdk:7.3.0.
    325.     Searched in the following locations:
    326.       - https://dl.google.com/dl/android/maven2/com/ironsource/sdk/mediationsdk/7.3.0/mediationsdk-7.3.0.pom
    327.       - https://repo.maven.apache.org/maven2/com/ironsource/sdk/mediationsdk/7.3.0/mediationsdk-7.3.0.pom
    328.     Required by:
    329.         project :launcher > project :unityLibrary
    330.  
    331. * Try:
    332. 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.
    333. ==============================================================================
    334.  
    335. 2: Task failed with an exception.
    336. -----------
    337. * What went wrong:
    338. Execution failed for task ':unityLibrary:generateReleaseRFile'.
    339. > Could not resolve all files for configuration ':unityLibrary:releaseCompileClasspath'.
    340.   > Could not find com.ironsource.adapters:adcolonyadapter:4.3.14.
    341.     Required by:
    342.         project :unityLibrary
    343.   > Could not find com.ironsource.adapters:admobadapter:4.3.35.
    344.     Required by:
    345.         project :unityLibrary
    346.   > Could not find com.ironsource.adapters:facebookadapter:4.3.39.
    347.     Required by:
    348.         project :unityLibrary
    349.   > Could not find com.ironsource.adapters:liftoffadapter:4.3.5.
    350.     Required by:
    351.         project :unityLibrary
    352.   > Could not find com.ironsource.adapters:unityadsadapter:4.3.26.
    353.     Required by:
    354.         project :unityLibrary
    355.   > Could not find com.ironsource.sdk:mediationsdk:7.3.0.
    356.     Required by:
    357.         project :unityLibrary
    358.  
    359. * Try:
    360. 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.
    361. ==============================================================================
    362.  
    363. * Get more help at https://help.gradle.org
    364.  
    365. BUILD FAILED in 17s
    366. ]
    367. stdout[
    368. Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details
    369.  
    370. > Configure project :launcher
    371. WARNING:The option setting 'android.bundle.enableUncompressedNativeLibs=false' is deprecated.
    372. The current default is 'true'.
    373. It will be removed in version 8.0 of the Android Gradle plugin.
    374. You can add the following to your build.gradle instead:
    375. android {
    376.    packagingOptions {
    377.        jniLibs {
    378.            useLegacyPackaging = true
    379.        }
    380.    }
    381. }
    382.  
    383. > Configure project :unityLibrary
    384. Build was configured to prefer settings repositories over project repositories but repository 'maven' was added by build file 'unityLibrary\build.gradle'
    385. Build was configured to prefer settings repositories over project repositories but repository 'maven2' was added by build file 'unityLibrary\build.gradle'
    386. Build was configured to prefer settings repositories over project repositories but repository 'maven3' was added by build file 'unityLibrary\build.gradle'
    387. Build was configured to prefer settings repositories over project repositories but repository 'MavenLocal' was added by build file 'unityLibrary\build.gradle'
    388. Build was configured to prefer settings repositories over project repositories but repository 'BintrayJCenter' was added by build file 'unityLibrary\build.gradle'
    389. Build was configured to prefer settings repositories over project repositories but repository 'MavenRepo' was added by build file 'unityLibrary\build.gradle'
    390. Build was configured to prefer settings repositories over project repositories but repository 'maven' was added by build file 'unityLibrary\build.gradle'
    391. Build was configured to prefer settings repositories over project repositories but repository 'maven2' was added by build file 'unityLibrary\build.gradle'
    392. Build was configured to prefer settings repositories over project repositories but repository 'maven3' was added by build file 'unityLibrary\build.gradle'
    393. Build was configured to prefer settings repositories over project repositories but repository 'MavenLocal' was added by build file 'unityLibrary\build.gradle'
    394. Build was configured to prefer settings repositories over project repositories but repository 'BintrayJCenter' was added by build file 'unityLibrary\build.gradle'
    395. Build was configured to prefer settings repositories over project repositories but repository 'MavenRepo' was added by build file 'unityLibrary\build.gradle'
    396. Build was configured to prefer settings repositories over project repositories but repository 'maven' was added by build file 'unityLibrary\build.gradle'
    397. Build was configured to prefer settings repositories over project repositories but repository 'maven2' was added by build file 'unityLibrary\build.gradle'
    398. Build was configured to prefer settings repositories over project repositories but repository 'maven3' was added by build file 'unityLibrary\build.gradle'
    399. Build was configured to prefer settings repositories over project repositories but repository 'MavenLocal' was added by build file 'unityLibrary\build.gradle'
    400. Build was configured to prefer settings repositories over project repositories but repository 'BintrayJCenter' was added by build file 'unityLibrary\build.gradle'
    401. Build was configured to prefer settings repositories over project repositories but repository 'MavenRepo' was added by build file 'unityLibrary\build.gradle'
    402. WARNING:We recommend using a newer Android Gradle plugin to use compileSdk = 33
    403.  
    404. This Android Gradle plugin (7.1.2) was tested up to compileSdk = 32
    405.  
    406. This warning can be suppressed by adding
    407.    android.suppressUnsupportedCompileSdk=33
    408. to this project's gradle.properties
    409.  
    410. The build will continue, but you are strongly encouraged to update your project to
    411. use a newer Android Gradle Plugin that has been tested with compileSdk = 33
    412.  
    413. > Task :launcher:preBuild UP-TO-DATE
    414. > Task :unityLibrary:IronSource.plugin:preBuild UP-TO-DATE
    415. > Task :unityLibrary:preBuild UP-TO-DATE
    416. > Task :launcher:preReleaseBuild UP-TO-DATE
    417. > Task :unityLibrary:preReleaseBuild UP-TO-DATE
    418. > Task :unityLibrary:IronSource.plugin:preReleaseBuild UP-TO-DATE
    419. > Task :unityLibrary:packageReleaseRenderscript NO-SOURCE
    420. > Task :unityLibrary:IronSource.plugin:packageReleaseRenderscript NO-SOURCE
    421. > Task :unityLibrary:IronSource.plugin:compileReleaseRenderscript NO-SOURCE
    422. > Task :unityLibrary:compileReleaseRenderscript NO-SOURCE
    423. > Task :unityLibrary:generateReleaseResValues
    424. > Task :launcher:generateReleaseResValues
    425. > Task :unityLibrary:IronSource.plugin:generateReleaseResValues
    426. > Task :unityLibrary:generateReleaseResources
    427. > Task :unityLibrary:IronSource.plugin:generateReleaseResources
    428. > Task :launcher:compileReleaseRenderscript NO-SOURCE
    429. > Task :launcher:generateReleaseResources
    430. > Task :launcher:writeReleaseApplicationId
    431. > Task :launcher:analyticsRecordingRelease
    432. > Task :unityLibrary:IronSource.plugin:packageReleaseResources
    433. > Task :unityLibrary:IronSource.plugin:extractDeepLinksRelease
    434. > Task :launcher:createReleaseCompatibleScreenManifests
    435. > Task :launcher:extractDeepLinksRelease
    436. > Task :launcher:mergeReleaseShaders
    437. > Task :launcher:compileReleaseShaders NO-SOURCE
    438. > Task :launcher:generateReleaseAssets UP-TO-DATE
    439. > Task :unityLibrary:packageReleaseResources
    440. > Task :unityLibrary:extractDeepLinksRelease
    441. > Task :unityLibrary:mergeReleaseShaders
    442. > Task :unityLibrary:IronSource.plugin:mergeReleaseShaders
    443. > Task :unityLibrary:compileReleaseShaders NO-SOURCE
    444. > Task :unityLibrary:generateReleaseAssets UP-TO-DATE
    445. > Task :unityLibrary:IronSource.plugin:compileReleaseShaders NO-SOURCE
    446. > Task :unityLibrary:IronSource.plugin:generateReleaseAssets UP-TO-DATE
    447. > Task :unityLibrary:IronSource.plugin:compileReleaseLibraryResources
    448. > Task :unityLibrary:IronSource.plugin:packageReleaseAssets
    449. > Task :unityLibrary:compileReleaseLibraryResources
    450. > Task :unityLibrary:IronSource.plugin:compileReleaseAidl NO-SOURCE
    451.  
    452. > Task :unityLibrary:processReleaseManifest
    453. C:\Geraldina\Mobile Games\TheSpiderAndTheSnake\Library\Bee\Android\Prj\IL2CPP\Gradle\unityLibrary\src\main\AndroidManifest.xml:26:3-42 Warning:
    454.     uses-sdk:minSdkVersion value (19) specified in the manifest file is ignored. It is overridden by the value declared in the DSL or the variant API, or 1 if not declared/present. Current value is (22).
    455. C:\Geraldina\Mobile Games\TheSpiderAndTheSnake\Library\Bee\Android\Prj\IL2CPP\Gradle\unityLibrary\src\main\AndroidManifest.xml:3:3-93 Warning:
    456.     uses-permission#android.permission.READ_PHONE_STATE was tagged at AndroidManifest.xml:3 to remove other declarations but no other declaration present
    457.  
    458. > Task :unityLibrary:IronSource.plugin:processReleaseManifest
    459. > Task :unityLibrary:packageReleaseAssets
    460. > Task :unityLibrary:compileReleaseAidl NO-SOURCE
    461. > Task :unityLibrary:generateReleaseBuildConfig
    462. > Task :unityLibrary:IronSource.plugin:generateReleaseBuildConfig
    463. > Task :unityLibrary:javaPreCompileRelease
    464. > Task :unityLibrary:IronSource.plugin:javaPreCompileRelease
    465. > Task :unityLibrary:IronSource.plugin:processReleaseJavaRes NO-SOURCE
    466. > Task :unityLibrary:IronSource.plugin:writeReleaseAarMetadata
    467. > Task :unityLibrary:writeReleaseAarMetadata
    468. > Task :unityLibrary:IronSource.plugin:bundleLibResRelease NO-SOURCE
    469. > Task :unityLibrary:processReleaseJavaRes
    470. > Task :unityLibrary:IronSource.plugin:parseReleaseLocalResources
    471. > Task :unityLibrary:parseReleaseLocalResources
    472. > Task :unityLibrary:bundleLibResRelease
    473. > Task :unityLibrary:IronSource.plugin:mergeReleaseJniLibFolders
    474. > Task :unityLibrary:IronSource.plugin:mergeReleaseNativeLibs NO-SOURCE
    475. > Task :unityLibrary:IronSource.plugin:copyReleaseJniLibsProjectOnly
    476. > Task :unityLibrary:IronSource.plugin:prepareReleaseArtProfile
    477. > Task :unityLibrary:IronSource.plugin:generateReleaseRFile
    478. > Task :unityLibrary:mergeReleaseJniLibFolders
    479. > Task :unityLibrary:IronSource.plugin:compileReleaseJavaWithJavac
    480. > Task :unityLibrary:IronSource.plugin:mergeReleaseGeneratedProguardFiles
    481. > Task :unit<message truncated>
    482. Build completed with a result of 'Failed' in 396 seconds (395803 ms)
    483. 3 errors
    484. UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
    485.  
    486.  

    And if i remove the line of 'android.bundle.enableUncompressedNativeLibs=false' and add to android build
    this:

    Code (CSharp):
    1. android {
    2.     packagingOptions {
    3.         jniLibs {
    4.             useLegacyPackaging = true
    5.         }
    6.     }
    7. }
    it builds correctly but not show ads, and if I click on Delete resolved libraries and then Resolve it again give me same issues. What do i have to do?
     
  5. valonsoft

    valonsoft

    Joined:
    May 22, 2016
    Posts:
    28