由于以下异常,无法运行Flutter应用程序
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':rive_common:buildCMakeDebug[arm64-v8a]'.
> Build command failed.
Error while executing process /home/toku/Android/Sdk/cmake/3.18.1/bin/ninja with arguments {-C /home/toku/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/rive_common-0.0.1/android/.cxx/Debug/2c2j2ru1/arm64-v8a rive_text}
ninja: Entering directory `/home/toku/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/rive_common-0.0.1/android/.cxx/Debug/2c2j2ru1/arm64-v8a'
[1/63] Building CXX object CMakeFiles/rive_text.dir/home/toku/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/rive_common-0.0.1/ios/rive-cpp/src/rive_counter.cpp.o
FAILED: CMakeFiles/rive_text.dir/home/toku/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/rive_common-0.0.1/ios/rive-cpp/src/rive_counter.cpp.o
In file included from /home/toku/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/rive_common-0.0.1/ios/rive-cpp/src/rive_counter.cpp:5:
In file included from ../../../../../ios/rive-cpp/include/rive/rive_counter.hpp:8:
In file included from ../../../../../ios/rive-cpp/include/rive/rive_types.hpp:59:
/snap/flutter/current/usr/include/c++/9/memory:121:25: error: cast from pointer to smaller type 'uintptr_t' (aka 'unsigned int') loses information
const auto __intptr = reinterpret_cast<uintptr_t>(__ptr);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
我用的是Flutter 3.3.10版本,rive:^0.10.0,
我已经做了Flutter清洁Flutter酒吧缓存修复
1条答案
按热度按时间zbdgwd5y1#
用途
这是最稳定的rive包版本