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
Actually the issue is that Gradle is interpreting the debug output of the cmake-server as an error and fails. It happens with com.android.tools.build:gradle:3.0.0
but it works correctly starting with com.android.tools.build:gradle:3.1.0
.
If for some reason (plugin, etc) you cannot update to 3.1.0, you can replace cmake
with a python wrapper and filter the output by removing this exact output:
[== "CMake Server" ==[
{"supportedProtocolVersions":[{"isExperimental":true,"major":1,"minor":1}],"type":"hello"}
]== "CMake Server" ==]