android_stidio在官方测试cpp-test的Gradle sync出现疑似Gradle JDK兼容错误,修改JDK到1.8没用
主要错误:
cvc-complex-type.2.4.a: 发现了以元素 ‘base-extension’ 开头的无效内容。应以 ‘{layoutlib}’ 之一开头。
错误信息头如下:
‘’’
A problem occurred configuring project ‘:CppTests’.
> java.lang.NullPointerException (no error message)
* Try:
Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Exception is:
org.gradle.api.ProjectConfigurationException: A problem occurred configuring project ':CppTests'.
at
...
Caused by: java.lang.NullPointerException
'''
Gradle JDK相关设置
SDK platform
SDK tools
NDK版本:25.0.8775105
请求大佬指点,感激不尽



