You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.
开发环境:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.16.7, on macOS 14.1 23B2073 darwin-arm64, locale zh-Hans-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.1)
[✓] VS Code (version 1.85.1)
[✓] Connected device (4 available)
[✓] Network resources
报错信息:
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':mixin_logger:buildCMakeDebug[arm64-v8a]'.
Build command failed.
Error while executing process /Users/liuliang/Library/Android/sdk/cmake/3.18.1/bin/ninja with arguments {-C /Users/liuliang/.pub-cache/hosted/pub.flutter-io.cn/mixin_logger-0.1.1/android/.cxx/Debug/4q2k375l/arm64-v8a mixin_logger}
ninja: Entering directory /Users/liuliang/.pub-cache/hosted/pub.flutter-io.cn/mixin_logger-0.1.1/android/.cxx/Debug/4q2k375l/arm64-v8a' [1/1] Linking CXX shared library /Users/liuliang/Desktop/LearnPlace/flutter_learn_project/flutter-netease-music/build/mixin_logger/intermediates/cxx/Debug/4q2k375l/obj/arm64-v8a/libmixin_logger.so FAILED: /Users/liuliang/Desktop/LearnPlace/flutter_learn_project/flutter-netease-music/build/mixin_logger/intermediates/cxx/Debug/4q2k375l/obj/arm64-v8a/libmixin_logger.so : && /Users/liuliang/Library/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=aarch64-none-linux-android21 --gcc-toolchain=/Users/liuliang/Library/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/liuliang/Library/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -fPIC -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -O0 -fno-limit-debug-info -Wl,--exclude-libs,libgcc.a -Wl,--exclude-libs,libgcc_real.a -Wl,--exclude-libs,libatomic.a -static-libstdc++ -Wl,--build-id -Wl,--fatal-warnings -Wl,--no-undefined -Qunused-arguments -shared -Wl,-soname,libmixin_logger.so -o /Users/liuliang/Desktop/LearnPlace/flutter_learn_project/flutter-netease-music/build/mixin_logger/intermediates/cxx/Debug/4q2k375l/obj/arm64-v8a/libmixin_logger.so CMakeFiles/mixin_logger.dir/mixin_logger.cpp.o -latomic -lm && : CMakeFiles/mixin_logger.dir/mixin_logger.cpp.o: In function std::__ndk1::__fs::filesystem::exists(std::__ndk1::__fs::filesystem::path const&)':
/Users/liuliang/Library/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/c++/v1/filesystem:1615: undefined reference to std::__ndk1::__fs::filesystem::__status(std::__ndk1::__fs::filesystem::path const&, std::__ndk1::error_code*)' CMakeFiles/mixin_logger.dir/mixin_logger.cpp.o: In function std::__ndk1::__fs::filesystem::file_size(std::__ndk1::__fs::filesystem::path const&)':
/Users/liuliang/Library/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/c++/v1/filesystem:1637: undefined reference to std::__ndk1::__fs::filesystem::__file_size(std::__ndk1::__fs::filesystem::path const&, std::__ndk1::error_code*)' CMakeFiles/mixin_logger.dir/mixin_logger.cpp.o: In function std::__ndk1::__fs::filesystem::remove(std::__ndk1::__fs::filesystem::path const&)':
/Users/liuliang/Library/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/c++/v1/filesystem:1862: undefined reference to std::__ndk1::__fs::filesystem::__remove(std::__ndk1::__fs::filesystem::path const&, std::__ndk1::error_code*)' CMakeFiles/mixin_logger.dir/mixin_logger.cpp.o: In function std::__ndk1::__fs::filesystem::is_directory(std::__ndk1::__fs::filesystem::path const&)':
/Users/liuliang/Library/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/c++/v1/filesystem:1686: undefined reference to std::__ndk1::__fs::filesystem::__status(std::__ndk1::__fs::filesystem::path const&, std::__ndk1::error_code*)' CMakeFiles/mixin_logger.dir/mixin_logger.cpp.o: In function std::__ndk1::__fs::filesystem::create_directories(std::__ndk1::__fs::filesystem::path const&)':
/Users/liuliang/Library/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/c++/v1/filesystem:1546: undefined reference to std::__ndk1::__fs::filesystem::__create_directories(std::__ndk1::__fs::filesystem::path const&, std::__ndk1::error_code*)' CMakeFiles/mixin_logger.dir/mixin_logger.cpp.o: In function directory_iterator':
/Users/liuliang/Library/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/c++/v1/filesystem:2418: undefined reference to std::__ndk1::__fs::filesystem::directory_iterator::directory_iterator(std::__ndk1::__fs::filesystem::path const&, std::__ndk1::error_code*, std::__ndk1::__fs::filesystem::directory_options)' CMakeFiles/mixin_logger.dir/mixin_logger.cpp.o: In function std::__ndk1::__fs::filesystem::directory_iterator::operator*() const':
/Users/liuliang/Library/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/c++/v1/filesystem:2446: undefined reference to std::__ndk1::__fs::filesystem::directory_iterator::__dereference() const' CMakeFiles/mixin_logger.dir/mixin_logger.cpp.o: In function std::__ndk1::__fs::filesystem::path::filename() const':
/Users/liuliang/Library/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/c++/v1/filesystem:1067: undefined reference to std::__ndk1::__fs::filesystem::path::__filename() const' CMakeFiles/mixin_logger.dir/mixin_logger.cpp.o: In function std::__ndk1::__fs::filesystem::directory_iterator::operator++()':
/Users/liuliang/Library/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/c++/v1/filesystem:2451: undefined reference to std::__ndk1::__fs::filesystem::directory_iterator::__increment(std::__ndk1::error_code*)' CMakeFiles/mixin_logger.dir/mixin_logger.cpp.o: In function std::__ndk1::__fs::filesystem::directory_entry::__get_ft(std::__ndk1::error_code*) const':
/Users/liuliang/Library/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/c++/v1/filesystem:2272: undefined reference to std::__ndk1::__fs::filesystem::__status(std::__ndk1::__fs::filesystem::path const&, std::__ndk1::error_code*)' CMakeFiles/mixin_logger.dir/mixin_logger.cpp.o: In function std::__ndk1::__fs::filesystem::path::has_filename() const':
/Users/liuliang/Library/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/c++/v1/filesystem:1096: undefined reference to std::__ndk1::__fs::filesystem::path::__filename() const' CMakeFiles/mixin_logger.dir/mixin_logger.cpp.o: In function std::__ndk1::__fs::filesystem::path::has_root_directory() const':
/Users/liuliang/Library/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/c++/v1/filesystem:1084: undefined reference to `std::__ndk1::__fs::filesystem::path::__root_directory() const'
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
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.
开发环境:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.16.7, on macOS 14.1 23B2073 darwin-arm64, locale zh-Hans-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.1)
[✓] VS Code (version 1.85.1)
[✓] Connected device (4 available)
[✓] Network resources
报错信息:
FAILURE: Build failed with an exception.
Execution failed for task ':mixin_logger:buildCMakeDebug[arm64-v8a]'.
BUILD FAILED in 28s
Running Gradle task 'assembleDebug'... 29.4s
Exception: Gradle task assembleDebug failed with exit code 1
The text was updated successfully, but these errors were encountered: