Search Unity

Question SDK ironSource build error

Discussion in 'Editor & General Support' started by GadOleg, Oct 27, 2021.

  1. GadOleg

    GadOleg

    Joined:
    Nov 13, 2019
    Posts:
    58
    Hello! I tried to integrate the ironSource SDK into my project. As a result, the project stopped being assembled. The main error, as far as I have seen, is the excess of the number of methods. The project itself is small, it is not a game, but a calculation application.

    Code (CSharp):
    1. D8: Cannot fit requested classes in a single dex file (# methods: 76157 > 65536)
    2. com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives:
    3. The number of method references in a .dex file cannot exceed 64K.
    4. Learn how to resolve this issue at https://developer.android.com/tools/building/multidex.html
    5.     at com.android.builder.dexing.D8DexArchiveMerger.getExceptionToRethrow(D8DexArchiveMerger.java:132)
    6. .....
     

    Attached Files: