Произошла ошибка при подготовке пакета SDK NDK (бок о бок) 29.0.14206865: не в формате GZIP. Пытаясь протестировать свое приложение на телефоне Android во Flutter, я столкнулся с этой ошибкой:
FAILURE: Build failed with an exception.
* Where:
Build file '/Users/mustafaozkaya/projects/word_bank/android/build.gradle.kts' line: 19
* What went wrong:
A problem occurred configuring project ':app'.
> [CXX1101] NDK at /Users/mustafaozkaya/Library/Android/sdk/ndk/28.2.13676358 did not have a source.properties file
* 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 1s
┌─ Flutter Fix ───────────────────────────────────────────────────────────────┐
│ [!] This is likely due to a malformed download of the NDK. │
│ This can be fixed by deleting the local NDK copy at: │
│ /Users/mustafaozkaya/Library/Android/sdk/ndk/28.2.13676358 │
│ and allowing the Android Gradle Plugin to automatically re-download it. │
│ │
└─────────────────────────────────────────────────────────────────────────────┘
Error: Gradle task assembleDebug failed with exit code 1
и я хотел перейти в Android Studio и переустановить NDK<
Произошла ошибка при подготовке пакета SDK NDK (бок о бок) 29.0.14206865: не в формате GZIP. Пытаясь протестировать свое приложение на телефоне Android во Flutter, я столкнулся с этой ошибкой: [code]FAILURE: Build failed with an exception.
* What went wrong: A problem occurred configuring project ':app'. > [CXX1101] NDK at /Users/mustafaozkaya/Library/Android/sdk/ndk/28.2.13676358 did not have a source.properties file
* 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 1s
┌─ Flutter Fix ───────────────────────────────────────────────────────────────┐ │ [!] This is likely due to a malformed download of the NDK. │ │ This can be fixed by deleting the local NDK copy at: │ │ /Users/mustafaozkaya/Library/Android/sdk/ndk/28.2.13676358 │ │ and allowing the Android Gradle Plugin to automatically re-download it. │ │ │ └─────────────────────────────────────────────────────────────────────────────┘ Error: Gradle task assembleDebug failed with exit code 1 [/code] и я хотел перейти в Android Studio и переустановить NDK<