#A build error occurs.

1 messages · Page 1 of 1 (latest)

subtle basalt
#

Hi, supporter.
First, thank you for the wonderful asset.
I'm using this asset to service my game on Android and Apple.
I recently received an email from Google about "Take Immediate Action to Protect Your Games and Apps."
I updated to Unity 2023.2.22f1, and Essential Kit V3 to 3.5.0.
I'm getting a build error.
I'll attach the error as a text file.
For information, the same error occurs even when I create an empty project and add only this asset.
I'd like to know how to resolve this.
Thank you in advance for your help.

faint musk
#

Pls share the api levels set in the player settings for android platform

subtle basalt
faint musk
#

pls set Target api level from automatic high installed to 35

subtle basalt
subtle basalt
subtle basalt
faint musk
#

@subtle basalt Can we have a quick remote session to help you out?

subtle basalt
#

How should I proceed?

faint musk
#

Not specifically issue with the plugin but looks like a conflict with other dependencies.

#

If you are available we can have a remote session in 2 hrs.

subtle basalt
#

After that, I will have lunch and then work for another 3-4 hours in the afternoon.

#

Or, if we could meet at the time you mentioned yesterday, I could delay my work hours.

subtle basalt
#

Current Status Update
I'm sharing the results of my testing after uninstalling and installing Unity version 2023.2.22f1. I created a blank project and ran an Android build test. The build succeeded with the minimum API Level (7.0)(API level 24) and target API Level (Automatic). The build failed with the minimum API Level (7.0)(API level 24) and target API Level (API Level 35). Even after creating a new blank project, the build continued to fail. So, I uninstalled and reinstalled Unity again...

subtle basalt
#

I'll be back after lunch.

subtle basalt
#

I don't know why, but it seems like there's a problem with Unity 2023.2.22f1.
Before lunch, I installed Unity 2022.3.62f2 and tested. After adding "Essential Kt V3" to an empty project, the build succeeded. Then, I added "Cross Platform Story Kit for Instagram 1.9.0" and the build failed... I'll come back after lunch to discuss this further.

#

Even adding "android.suppressUnsupportedCompileSdk=36" still causes a build error. Now I'm going to go get some real lunch and come back.

faint musk
#

@subtle basalt Are you around?

#

Please try below solution once.

Add below in main gradle template and also make sure you call EDMU force resolve after adding below line just in the dependencies block (jst make sure patch main gradle is enabled in EDMU - it's enabled by default)
// Fix Duplicate class
implementation(platform("org.jetbrains.kotlin:kotlin-bom:1.8.0"))

subtle basalt
# faint musk <@456717421680656385> Are you around?

Okay, I did as you suggested and it worked fine in my blank project. Now let's apply it to our main project. It's a shame it doesn't work in Unity 2023, but I'll try it in 2022 for now and come back later.

subtle basalt
#

Oh, I thought the build was successful, but I'm getting an error again. I'll check and get back to you.

subtle basalt
#

I've confirmed that the issue has been resolved. It's unfortunate that it doesn't work in Unity 2023, but it will work properly in the new Unity 2022 version. I'll update to Unity 2022 first. Thank you very much for your help.