Skip to content

Android builds fail with Unity < 2021.3.41 #223

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
bdg-raini opened this issue Sep 19, 2024 · 0 comments
Open

Android builds fail with Unity < 2021.3.41 #223

bdg-raini opened this issue Sep 19, 2024 · 0 comments

Comments

@bdg-raini
Copy link

Describe the bug

After integrating the Branch Unity SDK Android builds fail for us with a Could not target platform: 'Java SE 11' using tool chain: 'JDK 8 (1.8)'. error. This only happened after Branch integration so either the Branch Android SDK or a dependency requires JDK 11.

Versions of Unity older than 2021.3.41 only support JDK 8 (aka. JDK 1.8), 2021.3.41 was when JDK support was updated to JDK 11. So it seems like the Branch Unity SDK effectively has a minimum required Unity version of 2021.3.41, however this isn't documented anywhere on the Unity page.

When Branch Unity SDK 2.0.0 was released the latest Unity 2021.3 LTS version (2021.3.38) only supported JDK 8 so I have to assume Android builds weren't tested with Unity 2021 at all. Is there a minimum supported Unity version that Branch supports and is properly tested with? If so, what is it? We've sunk a couple days worth of developer time into troubleshooting Android & iOS build issues caused by the Branch Unity SDK (see #222) and I'd like to know if we can expect to run into more of them.

Steps to reproduce

  1. Attempt to build for Android with Unity 2021.3.38
  2. Observe failure

Expected behavior

Build should succeed, or minimum version requirement is properly communicated via documentation.

SDK Version

2.0.0

Unity Version

2021.3.38

Make and Model

N/A

OS

Windows 11

Additional Information/Context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant