android studio3.2在导入JNI工程的时候报错 (include) CMakeLists.txt

ExternalNativeBuildIssuesBuildcommandfailed.ErrorwhileexecutingprocessC:\Users\liuxin... External Native Build IssuesBuild command failed.Error while executing process C:\Users\liuxinyong\AppData\Local\Android\Sdk\cmake\3.6.4111459\bin\cmake.exe with arguments {-HC:\Users\liuxinyong\AndroidStudioProjects\Notes\notes-android -BC:\Users\liuxinyong\AndroidStudioProjects\Notes\notes-android\.externalNativeBuild\cmake\release\armeabi -DANDROID_ABI=armeabi -DANDROID_PLATFORM=android-15 -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\liuxinyong\AndroidStudioProjects\Notes\notes-android\build\intermediates\cmake\release\obj\armeabi -DCMAKE_BUILD_TYPE=Release -DANDROID_NDK=C:\Users\liuxinyong\AppData\Local\Android\Sdk\ndk-bundle -DCMAKE_CXX_FLAGS=-D _GLIBCXX_HAS_GTHREADS -std=c++11 -frtti -fexceptions -DCMAKE_TOOLCHAIN_FILE=C:\Users\liuxinyong\AppData\Local\Android\Sdk\ndk-bundle\build\cmake\android.toolchain.cmake -DCMAKE_MAKE_PROGRAM=C:\Users\liuxinyong\AppData\Local\Android\Sdk\cmake\3.6.4111459\bin\ninja.exe -GAndroid Gradle - Ninja}CMake Error: CMAKE_C_COMPILER not set, after EnableLanguageCMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage-- Configuring incomplete, errors occurred!Build command failed.Error while executing process C:\Users\liuxinyong\AppData\Local\Android\Sdk\cmake\3.6.4111459\bin\cmake.exe with arguments {-HC:\Users\liuxinyong\AndroidStudioProjects\Notes\notes-android -BC:\Users\liuxinyong\AndroidStudioProjects\Notes\notes-android\.externalNativeBuild\cmake\debug\armeabi -DANDROID_ABI=armeabi -DANDROID_PLATFORM=android-15 -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\liuxinyong\AndroidStudioProjects\Notes\notes-android\build\intermediates\cmake\debug\obj\armeabi -DCMAKE_BUILD_TYPE=Debug -DANDROID_NDK=C:\Users\liuxinyong\AppData\Local\Android\Sdk\ndk-bundle -DCMAKE_CXX_FLAGS=-D _GLIBCXX_HAS_GTHREADS -std=c++11 -frtti -fexceptions -DCMAKE_TOOLCHAIN_FILE=C:\Users\liuxinyong\AppData\Local\Android\Sdk\ndk-bundle\build\cmake\android.toolchain.cmake -DCMAKE_MAKE_PROGRAM=C:\Users\liuxinyong\AppData\Local\Android\Sdk\cmake\3.6.4111459\bin\ninja.exe -GAndroid Gradle - Ninja}CMake Error: CMAKE_C_COMPILER not set, after EnableLanguageCMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage-- Configuring incomplete, errors occurred!C:\Users\liuxinyong\AppData\Local\Android\sdk\ndk-bundle\build\cmake\android.toolchain.cmakeError:(311, 97) (include) CMakeLists.txt <a href="openFile:C:\Users\liuxinyong\AppData\Local\Android\sdk\ndk-bundle\build\cmake\android.toolchain.cmake">Open File</a>Error:(311, 97) (include) CMakeLists.txt <a href="openFile:C:\Users\liuxinyong\AppData\Local\Android\sdk\ndk-bundle\build\cmake\android.toolchain.cmake">Open File</a>C:\Users\liuxinyong\AndroidStudioProjects\Notes\notes-android\build.gradleError:ABIs [armeabi, mips, mips64] are not supported for platform. Supported ABIs are [arm64-v8a, armeabi-v7a, x86, x86_64].Error:ABIs [armeabi, mips, mips64] are not supported for platform. Supported ABIs are [arm64-v8a, armeabi-v7a, x86, x86_64]. 展开
 我来答
gsutt
2018-03-28 · TA获得超过582个赞
知道小有建树答主
回答量:231
采纳率:77%
帮助的人:23.1万
展开全部
可能是你这个安卓镜像包出现了不可逆的损坏,换一个再试试!
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式