Closed LiuFreedom closed 2 months ago
Could you try adding #include <array>
to ClassUtil.cpp ?
Could you try adding
#include <array>
to ClassUtil.cpp ?
add #include <array>
will be ok, Many cpp files do not add this
Do you know why make[5]: /build-tools/29.0.3/aapt2: No such file or directory
I checked that this path exists and I have configured the android_home environment variable
MacOs 12.7.6 intel autoconf: 2.72 automake: 1.17 xcode-select version 2395
libredex/ClassUtil.cpp:78:52: error: constexpr variable cannot have non-literal type 'const std::array<std::string_view, 2>' (aka 'const array<basic_string_view, 2>')
static constexpr std::array<std::string_view, 2> patterns = {
^
libredex/ClassUtil.cpp:78:52: error: implicit instantiation of undefined template 'std::array<std::string_view, 2>'
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__tuple:219:64: note: template is declared here
template <class _Tp, size_t _Size> struct _LIBCPP_TEMPLATE_VIS array;
2 errors generated. make[2]: [libredex/ClassUtil.lo] Error 1 make[1]: [all-recursive] Error 1 make: *** [all] Error 2
details in attached file.
log.txt