my first test build android 9 Pie for meizu m6 note(bicot, named for it *-*) , almost clone/fork edit from xiaomi mi a1. I just recognized i cant, android v9 need kernel 4.4.107 or higher(wrong) :(. So i will try to build lower ver - 14.1. Hope everything be okeyyy. Have a nice dayyy
frameworks/base/libs/hwui/SkiaCanvas.cpp:216:41: error: no member named 'SaveBehind' in 'SkAndroidFrameworkUtils'
return SkAndroidFrameworkUtils::SaveBehind(mCanvas, &bounds);
~~~~~~~~~~~~~~~~~~~~~~~~~^
2 errors generated.
FAILED: /home/thanhdatppro/android/out/soong/.intermediates/frameworks/base/libs/hwui/libhwui/android_arm64_armv8-a_core_static/obj/frameworks/base/libs/hwui/SkiaCanvas.o PWD=/proc/self/cwd /usr/bin/ccache prebuilts/clang/host/linux-x86/clang-4691093/bin/clang++ -c -Iframeworks/base/libs/hwui -Iframeworks/native/opengl/libs/GLES2 -Iframeworks/native/opengl/libs/GLES2 -Iexternal/skia/include/private -Iexternal/skia/src/core -Iexternal/skia/src/effects -Iexternal/skia/src/image -Iexternal/skia/src/utils -Iexternal/skia/src/gpu -Iexternal/skia/src/shaders -Iframeworks/base/libs/hwui -Werror=implicit-function-declaration -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -no-canonical-prefixes -DNDEBUG -UDEBUG -fno-exceptions -Wno-multichar -O2 -g -fno-strict-aliasing -fdebug-prefix-map=/proc/self/cwd= -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -Wno-expansion-to-defined -Wno-zero-as-null-pointer-constant -fdebug-prefix-map=$PWD/= -ffunction-sections -fdata-sections -fno-short-enums -funwind-tables -fstack-protector-strong -Wa,--noexecstack -D_FORTIFY_SOURCE=2 -Wstrict-aliasing=2 -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -Werror=format-security -nostdlibinc -march=armv8-a -I/home/thanhdatppro/android/out/soong/.intermediates/frameworks/base/libs/hwui/libhwui/android_arm64_armv8-a_core_static/gen/proto/frameworks/base/libs/hwui -I/home/thanhdatppro/android/out/soong/.intermediates/frameworks/base/libs/hwui/libhwui/android_arm64_armv8-a_core_static/gen/proto -Iexternal/skia/include/android -Iexternal/skia/include/atlastext -Iexternal/skia/include/c -Iexternal/skia/include/codec -Iexternal/skia/include/config -Iexternal/skia/include/core -Iexternal/skia/include/effects -Iexternal/skia/include/encode -Iexternal/skia/include/gpu -Iexternal/skia/include/gpu/gl -Iexternal/skia/include/gpu/vk -Iexternal/skia/include/pathops -Iexternal/skia/include/ports -Iexternal/skia/include/svg -Iexternal/skia/include/utils -Iexternal/skia/include/utils/mac -Iexternal/skia/platform_tools/android/vulkan -Iframeworks/native/libs/arect/include -Iexternal/sfntly/cpp/src -Iexternal/webp/include -Iframeworks/native/opengl/libs/EGL -Iframeworks/native/opengl/include -Iexternal/libcxx/include -Iexternal/libcxxabi/include -Iexternal/dng_sdk/source -Iexternal/expat/lib -Iframeworks/av/media/libheif/include -Iexternal/icu/icu4c/source/i18n -Iexternal/icu/icu4c/source/common -Iexternal/libjpeg-turbo -Iexternal/piex -Iexternal/libpng -Iexternal/zlib -Iframeworks/native/libs/nativewindow/include -Iframeworks/native/libs/nativewindow/include-private -Iframeworks/native/libs/nativebase/include -Isystem/core/liblog/include -Isystem/core/libcutils/include -Isystem/core/libutils/include -Isystem/core/libbacktrace/include -Isystem/core/libsystem/include -Iframeworks/native/opengl/libs/EGL/include -Iframeworks/native/vulkan/include -Ihardware/libhardware/include -Isystem/media/audio/include -Isystem/bt/types -Isystem/core/base/include -Iframeworks/native/libs/ui/include -Iframeworks/native/libs/math/include -Isystem/libhidl/base/include -Isystem/libhidl/transport/include -I/home/thanhdatppro/android/out/soong/.intermediates/system/libhidl/transport/manager/1.0/android.hidl.manager@1.0_genc++_headers/gen -I/home/thanhdatppro/android/out/soong/.intermediates/system/libhidl/transport/manager/1.1/android.hidl.manager@1.1_genc++_headers/gen -I/home/thanhdatppro/android/out/soong/.intermediates/system/libhidl/transport/base/1.0/android.hidl.base@1.0_genc++_headers/gen -Isystem/libhwbinder/include -I/home/thanhdatppro/android/out/soong/.intermediates/hardware/interfaces/graphics/common/1.0/android.hardware.graphics.common@1.0_genc++_headers/gen -I/home/thanhdatppro/android/out/soong/.intermediates/hardware/interfaces/graphics/common/1.1/android.hardware.graphics.common@1.1_genc++_headers/gen -Iframeworks/native/libs/gui/include -I/home/thanhdatppro/android/out/soong/.intermediates/frameworks/native/libs/binder/libbinder/android_arm64_armv8-a_core_static/gen/aidl -Iframeworks/native/libs/binder/include -Isystem/libhidl/transport/token/1.0/utils/include -I/home/thanhdatppro/android/out/soong/.intermediates/hardware/interfaces/media/1.0/android.hardware.media@1.0_genc++_headers/gen -I/home/thanhdatppro/android/out/soong/.intermediates/hardware/interfaces/graphics/bufferqueue/1.0/android.hardware.graphics.bufferqueue@1.0_genc++_headers/gen -Iexternal/protobuf/src -Iexternal/harfbuzz_ng/src -Iexternal/freetype/include -Iframeworks/minikin/include -Iexternal/googletest/googletest/include -Iframeworks/base/libs/androidfw/include -Iframeworks/rs/cpp -Iframeworks/rs -Isystem/core/include -Isystem/media/audio/include -Ihardware/libhardware/include -Ihardware/libhardware_legacy/include -Ihardware/ril/include -Ilibnativehelper/include -Iframeworks/native/include -Iframeworks/native/opengl/include -Iframeworks/av/include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/uapi/asm-arm64 -isystem bionic/libc/kernel/android/scsi -isystem bionic/libc/kernel/android/uapi -Ilibnativehelper/include_jni -include debug/wrap_gles.h -DDEBUG_OPENGL=3 -DEGL_EGLEXT_PROTOTYPES -DGL_GLEXT_PROTOTYPES -DATRACE_TAG=ATRACE_TAG_VIEW '-DLOG_TAG="OpenGLRenderer"' -Wall -Wno-unused-parameter -Wunreachable-code -Werror -fvisibility=hidden -Wno-missing-braces -DUSE_HWC2 -target aarch64-linux-android -Bprebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin -DANDROID_STRICT -DGOOGLE_PROTOBUF_NO_RTTI -fPIC -D_USING_LIBCXX -flto=thin -fprofile-use=toolchain/pgo-profiles/hwui/hwui.profdata.2018-03-20 -Wno-backend-plugin -std=c++1z -Wsign-promo -Wno-inconsistent-missing-override -Wno-null-dereference -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS -Wno-thread-safety-negative -Wno-gnu-include-next -fvisibility-inlines-hidden -fno-rtti -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=return-type -Wno-tautological-constant-compare -Wno-null-pointer-arithmetic -Wno-enum-compare -Wno-enum-compare-switch -MD -MF /home/thanhdatppro/android/out/soong/.intermediates/frameworks/base/libs/hwui/libhwui/android_arm64_armv8-a_core_static/obj/frameworks/base/libs/hwui/SkiaCanvas.o.d -o /home/thanhdatppro/android/out/soong/.intermediates/frameworks/base/libs/hwui/libhwui/android_arm64_armv8-a_core_static/obj/frameworks/base/libs/hwui/SkiaCanvas.o frameworks/base/libs/hwui/SkiaCanvas.cpp frameworks/base/libs/hwui/SkiaCanvas.cpp:196:23: error: no member named 'DrawBehind' in 'SkCanvasPriv' SkCanvasPriv::DrawBehind(mCanvas, paint);