在mac系统上都可以正常跑,在window上运行不了 可以编译通过,AS和jdk和gradle的版本都一样,求解决 上错误日志
Error:FAILURE: Build failed with an exception.
- What went wrong: Execution failed for task ':app:externalNativeBuildDebug'. > Build command failed. Error while executing process D:\androidStudio\SDK\ndk-bundle\ndk-build.cmd with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=D:\chatcat\vchat_android\app\src\main\Android.mk NDK_APPLICATION_MK=D:\chatcat\vchat_android\app\src\main\Application.mk APP_ABI=armeabi-v7a NDK_ALL_ABIS=armeabi-v7a NDK_DEBUG=1 APP_PLATFORM=android-16 NDK_OUT=D:/chatcat/vchat_android/app/build/intermediates/ndkBuild/debug/obj NDK_LIBS_OUT=D:\chatcat\vchat_android\app\build\intermediates\ndkBuild\debug\lib NDK_APPLICATION_MK:=src/main/Application.mk D:/chatcat/vchat_android/app/build/intermediates/ndkBuild/debug/obj/local/armeabi-v7a/libapm-plugin-video-preprocessing.so} [armeabi-v7a] "Compile++ thumb": "apm-plugin-video-preprocessing <= video_preprocessing_plugin_jni.cpp" process_begin: CreateProcess(NULL, D:/androidStudio/SDK/ndk-bundle/build//../toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe -MMD -MP -MF D:/chatcat/vchat_android/app/build/intermediates/ndkBuild/debug/obj/local/armeabi-v7a/objs/apm-plugin-video-preprocessing/video_preprocessing_plugin_jni.o.d -gcc-toolchain D:/androidStudio/SDK/ndk-bundle/build//../toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64 -fpic -ffunction-sections -funwind-tables -fstack-protector-strong -Wno-invalid-command-line-argument -Wno-unused-command-line-argument -no-canonical-prefixes -fno-integrated-as -g -target armv7-none-linux-androideabi16 -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -fno-exceptions -fno-rtti -mthumb -Os -DNDEBUG -ID:/androidStudio/SDK/ndk-bundle/build//../sources/cxx-stl/stlport/stlport -ID:/androidStudio/SDK/ndk-bundle/build//../sources/cxx-stl//gabi++/include -ID:/chatcat/vchat_android/app/src/main -std=c++11 -DANDROID -D__ANDROID_API__=16 -Wa,--noexecstack -Wformat -Werror=format-security -frtti --sysroot D:/androidStudio/SDK/ndk-bundle/build//../sysroot -isystem D:/androidStudio/SDK/ndk-bundle/build