Category Archives: Error

[Solved] Unity Error: Got null handle from IDXGIResource::GetSharedHandle

preface

Unity reports an error when playing the video: got null handle from idxgiresource:: getsharedhandle, which shows that the running program cannot play the video, but the sound can be heard. This problem is likely to be related to AMD’s unique display. If this error occurs, you can try the following solutions.

This solution takes the windows platform as an example, and other platform solutions are similar.

Solution

First of all, ensure the normal operation of the computer amd display driver, and ensure that unity automatically calls amd display. (if unity does not automatically call amd graphics card, you can add unity program at amd graphics card control panel.)

Open Edit - project settings in unity, select player , select PC platform, uncheck auto graphics APIs for windows in the options of other settings , and add Vulkan at graphics APIs for windows below the options, Delete or adjust the default direct3d11 to Vulkan , as shown in the following figure. After adjustment, you will be prompted to restart the unity editor. You can restart it. If you try to run again, you will not report an error.

How to Solve elasticsearch root user start Error

Question: Java lang.RuntimeException: can not run elasticsearch as root

Solution:

Elaticsearch cannot be started by root by default, so it will report Java.Lang.runtimeException: can not run elasticsearch as root.

There are two types of solutions:

1. Modify the elaticsearch configuration to allow the root user to start (not recommended)

#Add the parameter -Des.insecure.allow.root=true when executing elasticSearch, the complete command is as follows

./elasticsearch -Des.insecure.allow.root=true

#Or open the elasticsearch executable file with vi, and add the following command before the variable ES_JAVA_OPTS is used

ES_JAVA_OPTS="-Des.insecure.allow.root=true"

2. Create users for elaticsearch and grant corresponding permissions

adduser es

passwd es

chown -R es:es elasticsearch-6.3.2/

chmod 770 elasticsearch-6.3.2/

webpack4 Use webpack-dev-server Error [How to Solve]

Today, I reported an error with webpack dev server in the project to visually check the version problem
the webpack version used in the project is "webpack": "^ 4.28.4"
the default is "webpack dev server": "^ 4.7.3" , and the reduced version is "webpack dev server": "^ 3.1.14" . The problem is solved

Then start the error report:
check the data and find that the startup command is changed to NPX webpack server -- config webpack dev.js

[Solved] docker Commands Execute Error: Segmentation fault

If you execute any docker command, you will report an error segmentation fault. There have been no similar errors when using docker before. After troubleshooting, it was found that the available memory was only 110m. It was speculated that the memory was not enough, so the command to clean the memory was executed, but the parameters were changed to 1, 2 and 3, which could not clean the memory.

sync
echo 1 > /proc/sys/vm/drop_caches

The solution is found on GitHub. First enter

sysctl vm.overcommit_memory

The output is 0, and then change the parameters

sysctl vm.overcommit_memory=1

At this time, the application that occupies a lot of memory has been restarted automatically. If not, execute the above cleaning command.

[Solved] Tencent cloud SMS service error: FailedOperation.TemplateIncorrectOrUnapproved

1. Problem
an error occurs when sending a text message:

"Code":"FailedOperation.TemplateIncorrectOrUnapproved",
"Message":"template is not approved or request content does not match the approved template content"

2. Solution
the reason for the error is that the template content parameters are inconsistent with the set parameters. Set to consistent. As shown in the following figure, the template content has two parameters, so the templateparamset in the code should also set two parameters

    /* Template parameters: If no template parameters, set to empty */
    String[] templateParamSet = {"", "60"};
    req.setTemplateParamSet(templateParamSet);

How to Solve Echarts Error: import echarts from ‘echarts‘

The following commands are required for normal angular installation of echarts

1 npm install echarts -S
2 npm install ngx-echarts -S

However, an error prompt is found after installation, and the type is marked in red in the file reference

1. The following commands need to be executed

1 npm install echarts -S
2 npm install ngx-echarts -S
3 npm install @types/echarts -D

2. Introduce modules into modules (such as app.Module.TS):

1 import { NgxEchartsModule } from 'ngx-echarts';
2 @NgModule({
3   imports: [
4     ...,
5     NgxEchartsModule
6   ],
7 })
8 export class AppModule { }

[Solved] Kibana Error: Kibana server is not ready yet

Background


Visit kinaba in the web page http://localhost:5601 , always prompt “kibana server is not ready yet”.

Execute the following command to view kibana logs,

docker logs kibana

Tips found:

Text


It is suspected that the internal IP of each container changes after the container is restarted.

1. Therefore, execute the following command to check the internal IP of elasticsearch container and find that it is kibana The ES container IP in yaml configuration file is inconsistent with the actual es container IP.

docker inspect --format '{{ .NetworkSettings.IPAddress }}'  es container ID

// Check the id of es container
docker ps

2. Enter kibana container and update kibana.Yaml configuration file. Execute the following command to enter and edit kibana.yaml,

docker exec -it kibana container id /bin/bash
cd config
vi kibana.yml

Replace the IP address of the selected part in the figure below with the actual es container IP address, save and exit kibana.

3. Stop kibana service, delete kibana container and restart kibana.

// 3.1 Stop the kibana service
docker stop kibana container id

// 3.2 Delete the kibana container. (Not delete the kibana image! Not delete the kibana image! Not delete the kibana image!)
docker rm -f kibana container id

// 3.3 Enable running kibana
docker run --name kibana -e ELASTICSEARCH_HOST=http://es_contaner_ip:9200 -p 5601:5601 -d kibana:7.7.0


// Note: The command 'kibana:' in 3.3 above is followed by the kibana version number. To be on the safe side, it is recommended that the version of elasticsearch and kibana remain the same.

4. Browser revisit http://localhost:5601, refresh a few more times to access kibana normally.

[Solved] Android Kotlin Package release Error: Lint found fatal errors while assembling a release target.

preface

Recently, I wrote in kotlin that I was playing
and reported an exception in the packaged version of release

Lint found fatal errors while assembling a release target.
unable to read PNG signature: file does not start with PNG signature.

Solution:

 release {
            //Add
            lintOptions {
                checkReleaseBuilds false
                abortOnError false
            }
          }  


Outcome:
1.
2.

[Solved] Groovy Project Compile Error: java.lang.NoClassDefFoundError: org/apache/tools/ant/util/ReaderInputStream

1. Error Messages:

Clearing build system data...
Executing pre-compile tasks...
Loading Ant configuration...
Running Ant tasks...
Cleaning output directories...
Running 'before' tasks
Checking sources
Finished, saving caches...
gradle-resources-test:Groovy_Demo.main: java.lang.NoClassDefFoundError: org/apache/tools/ant/util/ReaderInputStream
Executing post-compile tasks...
Loading Ant configuration...
Running Ant tasks...
Synchronizing output directories...
2022/1/10 11:08 - Build completed with 1 error and 0 warnings in 1 sec, 657 ms

在这里插入图片描述

2. Solution

Right-click the project root directory, select the “Open Module Settings” option,

insert image description here

Delete the main and test options in Modules,

insert image description here

Then select the menu bar “Build / Rebuild Project” option to recompile the project;

insert image description here

The project compiles through ;

insert image description here

[Solved] RK3568-ANDROID11-BOARD_HAVE_DONGLE ERROR (3G/4G)

--- a\device\rockchip\common\BoardConfig.mk
+++ b\device\rockchip\common\BoardConfig.mk
 
 #for 3G/4G modem dongle support
-BOARD_HAVE_DONGLE := false
+BOARD_HAVE_DONGLE := true

Compile Error:

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=11
TARGET_PRODUCT=rk3568_r
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a55
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-2a
TARGET_2ND_CPU_VARIANT=cortex-a55
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.4.0-91-generic-x86_64-Ubuntu-18.04.6-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=RQ3A.210705.001
OUT_DIR=out
============================================
[ 30% 283/935] target  C++: usb_dongle <= external/usb_modeswitch/usb_dongle/Misc.cpp
FAILED: out/target/product/rk3568_r/obj/EXECUTABLES/usb_dongle_intermediates/Misc.o
/bin/bash -c "(prebuilts/clang/host/linux-x86/clang-r383902b1/bin/clang-tidy -warnings-as-errors=clang-analyzer-security*,cert-* -quiet -extra-arg-before=-fno-caret-diagnostics -extra-arg-before=-D__clang_analyzer__ -extra-arg-before=-Xclang -extra-arg-before=-analyzer-config -extra-arg-before=-Xclang -extra-arg-before=c++-temp-dtor-inlining=false -checks=-*,clang-diagnostic-unused-command-line-argument,google*,-google-build-using-namespace,-google-default-arguments,-google-explicit-constructor,-google-readability*,-google-runtime-int,-google-runtime-references,-*,clang-analyzer-security*,cert-*,-cert-err34-c,-cert-err58-cpp,-cert-env33-c external/usb_modeswitch/usb_dongle/Misc.cpp -- -I external/usb_modeswitch/usb_dongle -I out/target/product/rk3568_r/obj/EXECUTABLES/usb_dongle_intermediates -I out/target/product/rk3568_r/gen/EXECUTABLES/usb_dongle_intermediates  -Isystem/core/libsysutils/include -Isystem/core/libsysutils/include -Iframeworks/native/libs/binder/include -Isystem/core/base/include -Isystem/core/libcutils/include_vndk -Isystem/core/libutils/include -Isystem/core/libbacktrace/include -Isystem/core/liblog/include_vndk -Isystem/core/libsystem/include -Isystem/core/libprocessgroup/include -Iout/soong/.intermediates/frameworks/native/libs/binder/libbinder/android_vendor.30_arm64_armv8-a_cortex-a55_shared/gen/aidl -Isystem/core/libcutils/include_vndk -Isystem/core/libprocessgroup/include -Isystem/core/libcutils/include -Isystem/core/liblog/include_vndk -Iexternal/selinux/libselinux/include -Isystem/core/libutils/include -Isystem/core/libbacktrace/include -Isystem/core/liblog/include_vndk -Isystem/core/libsystem/include -Isystem/core/libcutils/include_vndk -Isystem/core/libprocessgroup/include -Isystem/core/base/include -Iexternal/fmtlib/include -Isystem/libhwbinder/include -Isystem/libhwbinder/include -Iexternal/libcxx/include -Iexternal/libcxxabi/include -isystem out/soong/.intermediates/bionic/libc/libc.llndk/android_vendor.30_arm64_armv8-a_cortex-a55_shared/gen/include -isystem bionic/libc/kernel/android/scsi -isystem bionic/libc/kernel/android/uapi -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/uapi/asm-arm64   -Iexternal/libcxxabi/include    -isystem out/target/product/rk3568_r/obj/include -c  -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 -Werror=date-time -Werror=pragma-pack -Werror=pragma-pack-suspicious-include -fdebug-prefix-map=/proc/self/cwd= -D__compiler_offsetof=__builtin_offsetof -faddrsig -Werror=int-conversion -fexperimental-new-pass-manager -Wno-reserved-id-macro -Wno-unused-command-line-argument -fcolor-diagnostics -Wno-sign-compare -Wno-defaulted-function-deleted -Wno-inconsistent-missing-override -Wno-c99-designator -ftrivial-auto-var-init=zero -enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang -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=format-security -nostdlibinc -march=armv8-a -mcpu=cortex-a55 -Bprebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin  -Wsign-promo -Wimplicit-fallthrough -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS -Wno-gnu-include-next -fvisibility-inlines-hidden  -std=gnu++17   -fno-rtti -Werror -Wall -Wno-missing-field-initializers -Wno-unused-variable -Wno-unused-parameter -Werror=format -DUSE_USB_MODE_SWITCH -D__ANDROID_VNDK__ -fPIE -Wno-enum-compare -Wno-enum-compare-switch -Wno-null-pointer-arithmetic -Wno-null-dereference -Wno-pointer-compare -Wno-xor-used-as-pow -Wno-final-dtor-non-final-class -target aarch64-linux-android30   -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=fortify-source -Werror=address-of-temporary -Werror=return-type -Wno-tautological-constant-compare -Wno-tautological-type-limit-compare -Wno-reorder-init-list -Wno-implicit-int-float-conversion -Wno-int-in-bool-context -Wno-sizeof-array-div -Wno-tautological-overlap-compare -Wno-deprecated-copy -Wno-range-loop-construct -Wno-misleading-indentation -Wno-zero-as-null-pointer-constant -Wno-deprecated-anon-enum-enum-conversion -Wno-deprecated-enum-enum-conversion -Wno-string-compare -Wno-enum-enum-conversion -Wno-enum-float-conversion -Wno-pessimizing-move ) && (PWD=/proc/self/cwd  prebuilts/clang/host/linux-x86/clang-r383902b1/bin/clang++ -I external/usb_modeswitch/usb_dongle -I out/target/product/rk3568_r/obj/EXECUTABLES/usb_dongle_intermediates -I out/target/product/rk3568_r/gen/EXECUTABLES/usb_dongle_intermediates  -Isystem/core/libsysutils/include -Isystem/core/libsysutils/include -Iframeworks/native/libs/binder/include -Isystem/core/base/include -Isystem/core/libcutils/include_vndk -Isystem/core/libutils/include -Isystem/core/libbacktrace/include -Isystem/core/liblog/include_vndk -Isystem/core/libsystem/include -Isystem/core/libprocessgroup/include -Iout/soong/.intermediates/frameworks/native/libs/binder/libbinder/android_vendor.30_arm64_armv8-a_cortex-a55_shared/gen/aidl -Isystem/core/libcutils/include_vndk -Isystem/core/libprocessgroup/include -Isystem/core/libcutils/include -Isystem/core/liblog/include_vndk -Iexternal/selinux/libselinux/include -Isystem/core/libutils/include -Isystem/core/libbacktrace/include -Isystem/core/liblog/include_vndk -Isystem/core/libsystem/include -Isystem/core/libcutils/include_vndk -Isystem/core/libprocessgroup/include -Isystem/core/base/include -Iexternal/fmtlib/include -Isystem/libhwbinder/include -Isystem/libhwbinder/include -Iexternal/libcxx/include -Iexternal/libcxxabi/include -isystem out/soong/.intermediates/bionic/libc/libc.llndk/android_vendor.30_arm64_armv8-a_cortex-a55_shared/gen/include -isystem bionic/libc/kernel/android/scsi -isystem bionic/libc/kernel/android/uapi -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/uapi/asm-arm64   -Iexternal/libcxxabi/include    -isystem out/target/product/rk3568_r/obj/include -c  -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 -Werror=date-time -Werror=pragma-pack -Werror=pragma-pack-suspicious-include -fdebug-prefix-map=/proc/self/cwd= -D__compiler_offsetof=__builtin_offsetof -faddrsig -Werror=int-conversion -fexperimental-new-pass-manager -Wno-reserved-id-macro -Wno-unused-command-line-argument -fcolor-diagnostics -Wno-sign-compare -Wno-defaulted-function-deleted -Wno-inconsistent-missing-override -Wno-c99-designator -ftrivial-auto-var-init=zero -enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang -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=format-security -nostdlibinc -march=armv8-a -mcpu=cortex-a55 -Bprebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin  -Wsign-promo -Wimplicit-fallthrough -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS -Wno-gnu-include-next -fvisibility-inlines-hidden  -std=gnu++17   -fno-rtti -Werror -Wall -Wno-missing-field-initializers -Wno-unused-variable -Wno-unused-parameter -Werror=format -DUSE_USB_MODE_SWITCH -D__ANDROID_VNDK__ -fPIE -Wno-enum-compare -Wno-enum-compare-switch -Wno-null-pointer-arithmetic -Wno-null-dereference -Wno-pointer-compare -Wno-xor-used-as-pow -Wno-final-dtor-non-final-class -target aarch64-linux-android30   -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=fortify-source -Werror=address-of-temporary -Werror=return-type -Wno-tautological-constant-compare -Wno-tautological-type-limit-compare -Wno-reorder-init-list -Wno-implicit-int-float-conversion -Wno-int-in-bool-context -Wno-sizeof-array-div -Wno-tautological-overlap-compare -Wno-deprecated-copy -Wno-range-loop-construct -Wno-misleading-indentation -Wno-zero-as-null-pointer-constant -Wno-deprecated-anon-enum-enum-conversion -Wno-deprecated-enum-enum-conversion -Wno-string-compare -Wno-enum-enum-conversion -Wno-enum-float-conversion -Wno-pessimizing-move  -MD -MF out/target/product/rk3568_r/obj/EXECUTABLES/usb_dongle_intermediates/Misc.d -o out/target/product/rk3568_r/obj/EXECUTABLES/usb_dongle_intermediates/Misc.o external/usb_modeswitch/usb_dongle/Misc.cpp )"
error: declaration uses identifier '_FORTIFY_SOURCE', which is a reserved identifier [cert-dcl37-c,-warnings-as-errors]
error: declaration uses identifier '_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS', which is a reserved identifier [cert-dcl37-c,-warnings-as-errors]
note: this fix will not be applied because it overlaps with another fix
error: declaration uses identifier '__ANDROID_VNDK__', which is a reserved identifier [cert-dcl37-c,-warnings-as-errors]
note: this fix will not be applied because it overlaps with another fix
error: declaration uses identifier '__clang_analyzer__', which is a reserved identifier [cert-dcl37-c,-warnings-as-errors]
note: this fix will not be applied because it overlaps with another fix
error: declaration uses identifier '__compiler_offsetof', which is a reserved identifier [cert-dcl37-c,-warnings-as-errors]
note: this fix will not be applied because it overlaps with another fix
error: declaration uses identifier '_FORTIFY_SOURCE', which is a reserved identifier [cert-dcl51-cpp,-warnings-as-errors]
error: declaration uses identifier '_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS', which is a reserved identifier [cert-dcl51-cpp,-warnings-as-errors]
note: this fix will not be applied because it overlaps with another fix
error: declaration uses identifier '__ANDROID_VNDK__', which is a reserved identifier [cert-dcl51-cpp,-warnings-as-errors]
note: this fix will not be applied because it overlaps with another fix
error: declaration uses identifier '__clang_analyzer__', which is a reserved identifier [cert-dcl51-cpp,-warnings-as-errors]
note: this fix will not be applied because it overlaps with another fix
error: declaration uses identifier '__compiler_offsetof', which is a reserved identifier [cert-dcl51-cpp,-warnings-as-errors]
note: this fix will not be applied because it overlaps with another fix
 
..............
 
 
error: declaration uses identifier '_FORTIFY_SOURCE', which is a reserved identifier [cert-dcl37-c,-warnings-as-errors]
error: declaration uses identifier '_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS', which is a reserved identifier [cert-dcl37-c,-warnings-as-errors]
note: this fix will not be applied because it overlaps with another fix
error: declaration uses identifier '__ANDROID_VNDK__', which is a reserved identifier [cert-dcl37-c,-warnings-as-errors]
note: this fix will not be applied because it overlaps with another fix
error: declaration uses identifier '__clang_analyzer__', which is a reserved identifier [cert-dcl37-c,-warnings-as-errors]
note: this fix will not be applied because it overlaps with another fix
error: declaration uses identifier '__compiler_offsetof', which is a reserved identifier [cert-dcl37-c,-warnings-as-errors]
note: this fix will not be applied because it overlaps with another fix
error: declaration uses identifier '_FORTIFY_SOURCE', which is a reserved identifier [cert-dcl51-cpp,-warnings-as-errors]
error: declaration uses identifier '_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS', which is a reserved identifier [cert-dcl51-cpp,-warnings-as-errors]
note: this fix will not be applied because it overlaps with another fix
error: declaration uses identifier '__ANDROID_VNDK__', which is a reserved identifier [cert-dcl51-cpp,-warnings-as-errors]
note: this fix will not be applied because it overlaps with another fix
error: declaration uses identifier '__clang_analyzer__', which is a reserved identifier [cert-dcl51-cpp,-warnings-as-errors]
note: this fix will not be applied because it overlaps with another fix
error: declaration uses identifier '__compiler_offsetof', which is a reserved identifier [cert-dcl51-cpp,-warnings-as-errors]
note: this fix will not be applied because it overlaps with another fix
15:58:06 ninja failed with: exit status 1
 
#### failed to build some targets (01:38 (mm:ss)) ####

Solution:

Modify \external\usb_modeswitch\usb_dongle\Android.mk

LOCAL_PATH:= $(call my-dir)
 
common_src_files := \
	NetlinkManager.cpp \
	NetlinkHandler.cpp \
	MiscManager.cpp \
	Misc.cpp \
	G3Dev.cpp
 
common_shared_libraries := \
	libsysutils \
	libbinder \
	libcutils \
	liblog \
	libselinux \
	libutils \
	libbase \
	libhwbinder
 
common_cflags := -Werror -Wall -Wno-missing-field-initializers -Wno-unused-variable -Wno-unused-parameter
 
- common_local_tidy_flags := -warnings-as-errors=clang-analyzer-security*,cert-*
+ #common_local_tidy_flags := -warnings-as-errors=clang-analyzer-security*,cert-*
 
common_local_tidy_checks := -*,clang-analyzer-security*,cert-*,-cert-err34-c,-cert-err58-cpp
common_local_tidy_checks += ,-cert-env33-c
 
include $(CLEAR_VARS)
 
LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
LOCAL_MODULE := usb_dongle
LOCAL_PROPRIETARY_MODULE := true
LOCAL_CLANG := true
LOCAL_TIDY := true
LOCAL_TIDY_FLAGS := $(common_local_tidy_flags)
LOCAL_TIDY_CHECKS := $(common_local_tidy_checks)
LOCAL_SRC_FILES := \
	main.cpp \
	$(common_src_files)
 
LOCAL_INIT_RC := usb_dongle.rc
 
LOCAL_CFLAGS := $(common_cflags)
LOCAL_CFLAGS += -Werror=format
LOCAL_CFLAGS += -DUSE_USB_MODE_SWITCH
 
LOCAL_SHARED_LIBRARIES := $(common_shared_libraries)
 
include $(BUILD_EXECUTABLE)

Comment out common_local_tidy_flags. It will be OK!