A problem occurred configuring project ':CordovaLib'. in ionic cordova

My SDK is updated but i seems again and again showing this error. When i run the ionic cordova build android it seems giving me this error. I have also added the screenshot.

Also update the my NDK android-sdk->ndk-bundle->toolchains

In android studio error

org.gradle.api.ProjectConfigurationException: A problem occurred configuring project ':CordovaLib'.
1 Like

are you tried to remove platform android and adding it again?

tried many times to remove the platform and add the platform. Format the PC. Again showing me this error. I Stuck in this