# Flutter - Android SDK Folder Not Writable

**URL:** <https://community.firebasestudio.dev/t/flutter-android-sdk-folder-not-writable/8771>\
**Category:** General\
**Created:** [January 18, 2025, 10:15am UTC](https://community.firebasestudio.dev/t/flutter-android-sdk-folder-not-writable/8771 "2025-01-18T10:15:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![klassic](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/klassic/32/2005_2.png) [@klassic](https://community.firebasestudio.dev/u/klassic)\
**Post date:** [January 18, 2025, 10:15am UTC](https://community.firebasestudio.dev/t/flutter-android-sdk-folder-not-writable/8771/1 "2025-01-18T10:15:29Z")

</div>

Its like there is a problem with adriod sdk regarding to the nix store

logs`Warning: Observed package id ‘ndk;23.1.7779620’ in inconsistent location ‘/nix/store/0wqd5nfc2hlx13davkvq2zf3zcy0wr61-androidsdk/libexec/android-sdk/ndk-bundle’ (Expected ‘/nix/store/0wqd5nfc2hlx13davkvq2zf3zcy0wr61-androidsdk/libexec/android-sdk/ndk/23.1.7779620’)

2025-01-18T09:59:52Z [android] Warning: Observed package id ‘ndk;23.1.7779620’ in inconsistent location ‘/nix/store/0wqd5nfc2hlx13davkvq2zf3zcy0wr61-androidsdk/libexec/android-sdk/ndk-bundle’ (Expected ‘/nix/store/0wqd5nfc2hlx13davkvq2zf3zcy0wr61-androidsdk/libexec/android-sdk/ndk/23.1.7779620’)

2025-01-18T09:59:53Z [android] Warning: Errors during XML parse:

2025-01-18T09:59:53Z [android] Warning: Additionally, the fallback loader failed to parse the XML.

2025-01-18T09:59:53Z [android] Warning: Errors during XML parse:

2025-01-18T09:59:53Z [android] Warning: Additionally, the fallback loader failed to parse the XML.

2025-01-18T09:59:53Z [android] Checking the license for package NDK (Side by side) 25.1.8937393 in /nix/store/0wqd5nfc2hlx13davkvq2zf3zcy0wr61-androidsdk/libexec/android-sdk/licenses

2025-01-18T09:59:53Z [android] License for package NDK (Side by side) 25.1.8937393 accepted.

2025-01-18T09:59:53Z [android] Preparing “Install NDK (Side by side) 25.1.8937393 v.25.1.8937393”.

2025-01-18T09:59:53Z [android] Warning: Failed to read or create install properties file.

2025-01-18T09:59:53Z [android] Error:

2025-01-18T09:59:53Z [android] FAILURE: Build failed with an exception.

2025-01-18T09:59:53Z [android]

2025-01-18T09:59:53Z [android] \* What went wrong:

2025-01-18T09:59:53Z [android] A problem occurred configuring project ‘:orm\_flutter\_android’.

2025-01-18T09:59:53Z [android] \> com.android.builder.sdk.InstallFailedException: Failed to install the following SDK components:

2025-01-18T09:59:53Z [android] ndk;25.1.8937393 NDK (Side by side) 25.1.8937393

2025-01-18T09:59:53Z [android] The SDK directory is not writable (/nix/store/0wqd5nfc2hlx13davkvq2zf3zcy0wr61-androidsdk/libexec/android-sdk)

2025-01-18T09:59:53Z [android]

2025-01-18T09:59:53Z [android]`:

---

<div class="post-metadata">

**Author:** ![Ollie\_Estudio](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/ollie_estudio/32/750_2.png) [@Ollie\_Estudio](https://community.firebasestudio.dev/u/Ollie_Estudio)\
**Post date:** [January 21, 2025, 2:23pm UTC](https://community.firebasestudio.dev/t/flutter-android-sdk-folder-not-writable/8771/2 "2025-01-21T14:23:43Z")

</div>

Having the same issue (The SDK directory is not writable)
