Hi all,
I created a project Android with Native C++ with this guilde https://developer.android.com/studio/projects/add-native-code.html#new-project
But i have a problem with the gradle fail error
* Exception is:
org.gradle.api.ProjectConfigurationException: A problem occurred configuring project ':app'.
at org.gradle.configuration.project.LifecycleProjectEvaluator.wrapException(LifecycleProjectEvaluator.java:84)
at org.gradle.configuration.project.LifecycleProjectEvaluator.addConfigurationFailure(LifecycleProjectEvaluator.java:77)
at org.gradle.configuration.project.LifecycleProjectEvaluator.access$400(LifecycleProjectEvaluator.java:55)
at org.gradle.configuration.project.LifecycleProjectEvaluator$NotifyAfterEvaluate.run(LifecycleProjectEvaluator.java:255)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
.......................
Caused by: java.lang.NullPointerException
at com.android.build.gradle.external.cmake.CmakeUtils.getVersionString(CmakeUtils.java:139)
at com.android.build.gradle.external.cmake.CmakeUtils.getVersion(CmakeUtils.java:55)
at com.android.build.gradle.internal.cxx.configure.CmakeLocatorKt.getCmakeRevisionFromExecutable(CmakeLocator.kt:238)
at
....................
Could you have any suggest for fix it ?
Thank you so much