Код: Выделить всё
sdk gphone64 x86 64Код: Выделить всё
Error 1 retrieving device properties for sdk gphone64 x86 64: error: closed
Launching lib\main.dart on sdk gphone64 x86 64 in debug mode...
Running Gradle task 'assembleDebug'...
FAILURE: Build failed with an exception.
* Where:
Build file 'D:\Projects\untitled1\android\build.gradle.kts' line: 16
* What went wrong:
A problem occurred configuring project ':app'.
> [CXX1101] NDK at C:\Users\alKushari\AppData\Local\Android\sdk\ndk\26.3.11579264 did not have a source.properties file
BUILD FAILED in 1s
Error: Gradle task assembleDebug failed with exit code 1
< /code>
✅ Что я пробовал: < /h3>
[*] подтвердил, что NDK существует на указанном пути. < /li>
Revending NDK с использованием Android Studio Manager. build.gradle.kts Проверьте, что Source.properties является из папки NDK. />🛠 System Info:
OS: Windows 10 (22H2)
Flutter version: 3.32.4 (stable)
Dart version: 3.8.1
NDK version: 26.3.11579264
Android Studio: < /strong> 2024.3.21
java version: < /strong> openjdk 21.0.6 (Bundled with Android Studio)
эмулятор: < /strong> sdk gphone64 x86 64 (and rid a and rid a and rid a and ridul 30)
Вот выход Flutter Doct -v :
[√] Flutter (Channel stable, 3.32.4, on Microsoft Windows [Version 10.0.19045.5371], locale en-US)
[546ms]
• Flutter version 3.32.4 on channel stable at C:\flutter\src\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 6fba2447e9 (11 days ago), 2025-06-12 19:03:56 -0700
• Engine revision 8cd19e509d
• Dart version 3.8.1
• DevTools version 2.45.1
[√] Windows Version (Windows 10, 22H2, 2009) [921ms]
[√] Android toolchain - develop for Android devices (Android SDK version 35.0.1) [5.1s]
• Android SDK at C:\Users\alKushari\AppData\Local\Android\sdk
• Platform android-35, build-tools 35.0.1
• Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
This is the JDK bundled with the latest Android Studio installation on this machine.
To manually set the JDK path, use: `flutter config --jdk-dir="path/to/jdk"`.
• Java version OpenJDK Runtime Environment (build 21.0.6+-13368085-b895.109)
• All Android licenses accepted.
[√] Chrome - develop for the web [117ms]
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.12.3) [115ms]
• Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
• Visual Studio Community 2022 version 17.12.35527.113
• Windows 10 SDK version 10.0.22621.0
[√] Android Studio (version 2024.3.2) [44ms]
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 21.0.6+-13368085-b895.109)
[√] VS Code (version 1.101.1) [42ms]
• VS Code at C:\Users\alKushari\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.112.0
[√] Connected device (4 available) [282ms]
• sdk gphone x86 64 (mobile) • emulator-5554 • android-x64 • Android 11 (API 30) (emulator)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version
10.0.19045.5371]
• Chrome (web) • chrome • web-javascript • Google Chrome 137.0.7151.120
• Edge (web) • edge • web-javascript • Microsoft Edge 133.0.3065.82
[√] Network resources [1,708ms]
• All expected network resources are available.
• No issues found!
< /code>
Как я могу исправить [cxx1101] ndk, не имел исходного файла.>
Подробнее здесь: https://stackoverflow.com/questions/796 ... ies-file-w
Мобильная версия