Recently, when editing a project using Android Studio, an error message “error: cause: executing external native build for cmake” appears. Therefore, open Gradle-wrapper.properties and find the following figure: because the as version of is 3.5.2
Open build.gradle
Solution:
I open file -> Project structure, change the plug-in version from 3.5.2. To 3.4.0, and then synchronize again.
Read More:
- Flutter android studio runs gradle build error: Could not resolve all artifacts for configuration’:classpath’.
- [Solved] Android Studio Change Project Error: Error while executing: am start
- [Solved] Android Studio Run Error: Error while executing: am start -n
- [Solved] Android Studio Compile Error: Could not determine java version from ‘11.0.8‘.
- Android Studio compile error: build tools is corrupt [Solved]
- Android studio version 3.0 import version 2.2.2 error Error:This Gradle plugin requires Studio 3.0 minimum
- [Solved] Android Studio 4.1 get manifestOutputDirectory error
- [Solved] Android Studio Start Error: Missing essential plugin: org.jetbrains.android Please reinstall Android
- [Solved] CMake Error: Could not create named generator Visual Studio 16 2019 -A Win64
- [Solved] CMake Error: Could not create named generator Visual Studio 16 2019
- Android Studio Error: String index out of range 0 [How to Solve]
- [Solved] Failed to apply plugin appears when Android studio imports a project
- Android Studio: Gradle project sync failed [How to Solve]
- React-native Error: Make sure you have the Android development environment set up [Solved]
- [Solved] Xcode13.1 Upgrade Error: CocoaPods installed but not working Failed to build gem native extension
- Android Error:Internal error:org.gradle.tooling.BuildException: Could not execute build…
- [Solved] Visual studio 2022 error LNK2019: unable to resolve external symbol for
- [Solved] Windows Android Studio Cannot Start Error: Internal error. Please refer to https://code.google.com/p/android/issue
- How to Solve Error “Could not find com.android.tools.build:gradle:3.0.1”
- Android studio Error:Execution failed for task ‘: app:transformResourcesWithMergeJavaResForDebug ‘