# Android SDK 35 & 36 are corrupted while installed using sdkmanager

**URL:** <https://discuss.bitrise.io/t/android-sdk-35-36-are-corrupted-while-installed-using-sdkmanager/25433>\
**Category:** Builds\
**Tags:** android\
**Created:** [July 30, 2025, 7:57am UTC](https://discuss.bitrise.io/t/android-sdk-35-36-are-corrupted-while-installed-using-sdkmanager/25433 "2025-07-30T07:57:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mateusz.kruk](https://avatars.discourse-cdn.com/v4/letter/m/7feea3/32.png) [@mateusz.kruk](https://discuss.bitrise.io/u/mateusz.kruk)\
**Post date:** [July 30, 2025, 7:57am UTC](https://discuss.bitrise.io/t/android-sdk-35-36-are-corrupted-while-installed-using-sdkmanager/25433/1 "2025-07-30T07:57:32Z")

</div>

# Bitrise Build Issue Report template

## Description of the issue

**Build log:**

FAILURE: Build failed with an exception. \* What went wrong: Execution failed for task ‘:app:processReleaseResources’. \> A failure occurred while executing com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$TaskAction \> Android resource linking failed aapt2 E 07-29 14:37:02 24406 24406 LoadedArsc.cpp:94] RES\_TABLE\_TYPE\_TYPE entry offsets overlap actual entry data. aapt2 E 07-29 14:37:02 24406 24406 ApkAssets.cpp:149] Failed to load resources table in APK ‘/opt/android-sdk-linux/platforms/android-35/android.jar’. error: failed to load include path /opt/android-sdk-linux/platforms/android-35/android.jar. \* 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](https://help.gradle.org) Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0. You can use ‘–warning-mode all’ to show the individual deprecation warnings and determine if they come from your own scripts or plugins. See [Command-Line Interface](https://docs.gradle.org/8.1/userguide/command_line_interface.html#sec:command_line_warnings) BUILD FAILED in 7m 2s 969 actionable tasks: 964 executed, 5 up-to-date ==\> Script finished with exit code: 1

This error also occurs for SDK 36, but not for SDK 34

I’m using “Install missing Android SDK components” since 2 years and no problems so far - until now.

I’ve tried to manually install sdk 35 through sdkmanager (using script step)

`yes | sdkmanager --sdk_root=“$LOCAL_SDK” “platforms;android-35”`

But no effect. It still does not work.

## Environment:

**Where did the issue happen?**  
Stacks:  
Ubuntu Noble 24.04 Bitrise 2025 edition & Ubuntu 22.04 for Android and Docker.

**Which build Step causes the issue and which version of the step?**

```auto
#!/usr/bin/env bash

```

```auto
# fail if any commands fails

```

```auto
set -e

```

```auto
# debug log

```

```auto
set -x

```

```auto

```

```auto
# or run a script from your repository, like:

```

```auto
bash ./scripts/bundle-android.sh

```

And script itself:

`npx react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/ && rm -rf android/app/src/main/res/drawable-* && rm -rf android/app/src/main/res/raw/* && cd android && ./gradlew assembleRelease && cd ..`

## Reproducibility

- This issue is every time if build is with SDK 35 or 36. For 34 it is Ok.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/2X/d/d901cf2aad020f2dd11918afc89ec2089bb87b35.png) [@system](https://discuss.bitrise.io/u/system)\
**Post date:** [August 29, 2025, 7:58am UTC](https://discuss.bitrise.io/t/android-sdk-35-36-are-corrupted-while-installed-using-sdkmanager/25433/2 "2025-08-29T07:58:05Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
