Error:Error occurred while communicating with CMake server

前端 未结 3 1011
悲&欢浪女
悲&欢浪女 2021-02-05 10:20

I\'m trying to build a simple native app from Android Studio 3.0 on Windows 10. When I will try to build the app, I get the following error:

\"Error:Error

3条回答
  •  感情败类
    2021-02-05 10:46

    I got exact same error, even with the solution from kevvex, android studio reported same error.

    I compared with another working windows 10 machine and found three differences:

    1. CMake is 3.10xxx is not working on my machine, CMake 3.6.4111459 is on working machine

    2. OpenCV-android-sdk version 2.4.7.2 is not working on my machine, OpenCV-android-sdk version 3.2.0 is on working machine

    3. android-ndk/ndk-bundle 14.1.3816874 is not working on my machine, android-ndk/ndk-bundle r15c is on working machine (This one maybe optional)

    Replaced these three items, the project is built successfully on my machine.

提交回复
热议问题