Я строю проект, которому нужен код NDK, но вот эта проблема сводит меня с ума в последние несколько дней.
Это просто пустой проект, использующий NDK, который был создан по инструкции AS и ничего не изменил.
Окружающая среда:
- Android Studio 3.2.1
- Сборка # AI-181.5540.7.32.5056338, построена 9 октября 2018 года
- JRE: 1.8.0_152-release-1136-b06 amd64
- JVM: 64-разрядная виртуальная машина OpenJDK от JetBrains s.r.o
- Windows 10 10.0
- CMake версия 3.10.2.4988404 (загружено с помощью SDK Manager)
Вот подсказка:
Support for CMake 3.7 and higher is a preview feature. To report a bug, see https://developer.android.com/studio/report-bugs.html
The CompileOptions.bootClasspath property has been deprecated and is scheduled to be removed in Gradle 5.0. Please use the CompileOptions.bootstrapClasspath property instead.
Support for CMake 3.7 and higher is a preview feature. To report a bug, see https://developer.android.com/studio/report-bugs.html
[== "CMake Server" ==[
{"supportedProtocolVersions":[{"isExperimental":true,"major":1,"minor":1}],"type":"hello"}
]== "CMake Server" ==]
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':app'.
> Error occurred while communicating with CMake server. Check log C:\Users\xxx\Desktop\MyApplication\app\.externalNativeBuild\cmake\debug\armeabi-v7a\cmake_server_log.txt for additional information.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
CONFIGURE FAILED in 7s
Error occurred while communicating with CMake server. Check log C:\Users\xxx\Desktop\MyApplication\app\.externalNativeBuild\cmake\debug\armeabi-v7a\cmake_server_log.txt for additional information.
Я уже проверил все сообщения на этом и многих других сайтах. Попытался переустановить AS / SDK / NDK / gradle / tools ... Ни один из этих ответов не работает.