2

I am getting above mentioned error while building my android project in android studio version 4.0 and gradle version 4.0.0.

2 Answers2

1

I have same issue, Solved by set ndk.dir path in local.properties

enter image description here

nikli
  • 2,281
  • 2
  • 24
  • 38
LekPKD
  • 11
  • 2
0

For me, the error resolved on setting the correct ndk version in build.gradle file.

Example configuration:

android {
  compileSdkVersion 29
  ndkVersion "18.1.5063045"
  defaultConfig {
  ........

You can click on the first line in Build Output to get full information about the error: enter image description here

JiTHiN
  • 6,548
  • 5
  • 43
  • 69