错误日志:
> Configure project :app
Support for CMake 3.7 and higher is a preview feature. To report a bug, see https://developer.android.com/studio/report-bugs.html
Support for CMake 3.7 and higher is a preview feature. To report a bug, see https://developer.android.com/studio/report-bugs.html
External native generate JSON debug: building json with force flag false
External native generate JSON debug: starting JSON generation
External native generate JSON debug: using platform version 24 for ABI ARMEABI_V7A and min SDK version 24
External native generate JSON debug: rebuilding JSON H:\git.code\dn\ndk\ndk_pusher\app\.externalNativeBuild\cmake\debug\armeabi-v7a\android_gradle_build.json due to:
External native generate JSON debug: - command changed from previous, will remove stale json folder
External native generate JSON debug: removing stale contents from 'H:\git.code\dn\ndk\ndk_pusher\app\.externalNativeBuild\cmake\debug\armeabi-v7a'
External native generate JSON debug: created folder 'H:\git.code\dn\ndk\ndk_pusher\app\.externalNativeBuild\cmake\debug\armeabi-v7a'
External native generate JSON debug: executing cmake Executable : G:\Android_sdk_windows\cmake\3.10.2.4988404\bin\cmake.exe
arguments :
-HH:\git.code\dn\ndk\ndk_pusher\app
-BH:\git.code\dn\ndk\ndk_pusher\app\.externalNativeBuild\cmake\debug\armeabi-v7a
-DANDROID_ABI=armeabi-v7a
-DANDROID_PLATFORM=android-24
-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=H:\git.code\dn\ndk\ndk_pusher\app\build\intermediates\cmake\debug\obj\armeabi-v7a
-DCMAKE_BUILD_TYPE=Debug
-DANDROID_NDK=G:\Android_sdk_windows\ndk-bundle
-DCMAKE_CXX_FLAGS=
-DCMAKE_SYSTEM_NAME=Android
-DCMAKE_ANDROID_ARCH_ABI=armeabi-v7a
-DCMAKE_SYSTEM_VERSION=24
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON
-DCMAKE_ANDROID_NDK=G:\Android_sdk_windows\ndk-bundle
-DCMAKE_TOOLCHAIN_FILE=G:\Android_sdk_windows\ndk-bundle\build\cmake\android.toolchain.cmake
-G Ninja
jvmArgs :
[== "CMake Server" ==[
{"supportedProtocolVersions":[{"isExperimental":true,"major":1,"minor":1}],"type":"hello"}
]== "CMake Server" ==]
[== "CMake Server" ==[
{
"type": "handshake",
"cookie": "gradle-cmake-cookie",
"protocolVersion": {
"isExperimental": true,
"major": 1,
"minor": 1
},
"sourceDirectory": "H:/git.code/dn/ndk/ndk_pusher/app",
"buildDirectory": "H:/git.code/dn/ndk/ndk_pusher/app/.externalNativeBuild/cmake/debug/armeabi-v7a",
"generator"