# Error while build with android target SDK 35

**URL:** <https://discussions.unity.com/t/error-while-build-with-android-target-sdk-35/1670856>\
**Category:** Mobile\
**Tags:** Android, 2022.3-lts, Question\
**Created:** [July 25, 2025, 6:29am UTC](https://discussions.unity.com/t/error-while-build-with-android-target-sdk-35/1670856 "2025-07-25T06:29:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![edwinabc](https://avatars.discourse-cdn.com/v4/letter/e/9dc877/32.png) [@edwinabc](https://discussions.unity.com/u/edwinabc)\
**Post date:** [July 25, 2025, 6:29am UTC](https://discussions.unity.com/t/error-while-build-with-android-target-sdk-35/1670856/1 "2025-07-25T06:29:53Z")

</div>

Please Help  
Error while build with android target SDK 35

```auto
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
ERROR:D:\Unity\2022.3.23f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platforms\android-35\android.jar: D8: java.lang.NullPointerException
ERROR:D:\Unity\2022.3.23f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platforms\android-35\android.jar: D8: java.lang.NullPointerException

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':launcher:desugarReleaseFileDependencies'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.DexFileDependenciesTask$DexFileDependenciesWorkerAction
   > Error while dexing.

* Try:
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.

* Get more help at https://help.gradle.org

BUILD FAILED in 11s

UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

```

---

<div class="post-metadata">

**Author:** ![IGuscin](https://avatars.discourse-cdn.com/v4/letter/i/77aa72/32.png) [@IGuscin](https://discussions.unity.com/u/IGuscin)\
**Post date:** [July 25, 2025, 6:44am UTC](https://discussions.unity.com/t/error-while-build-with-android-target-sdk-35/1670856/2 "2025-07-25T06:44:53Z")

</div>

Please, update your project to any of the following versions to be able to build with those SDK versions:

- SDK `35` support was added in **`2022.3.44f1`**
- SDK `36` support was added in **`2022.3.62f1`**

---

<div class="post-metadata">

**Author:** ![sohailmemon996](https://avatars.discourse-cdn.com/v4/letter/s/94ad74/32.png) [@sohailmemon996](https://discussions.unity.com/u/sohailmemon996)\
**Post date:** [September 17, 2025, 1:21pm UTC](https://discussions.unity.com/t/error-while-build-with-android-target-sdk-35/1670856/3 "2025-09-17T13:21:23Z")

</div>

what about 2021.3.45f1?
