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].
展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询