Can anyone tell me why I am receiving this error? I have downloaded a series of projects from GitHub for a Udacity course. Since there are about 50 or 60 projects (Exercises and Solutions) in the repo, I presume it has to do with the fact that each is an individual project on its own. I do not have a problem usually when I fork a repo and clone it locally.
I have read other posts about uninstalling and reinstalling ndk in the sdk. But I really want to know why this is happening and how I can fix without blindly uninstalling and re-installing. Any help is appreciated. Thanks.
After looking around, the solution was to remove the NDK designation from my preferences.
Android Studio → Preferences → System Settings → Android SDK → SDK Tools → Unselect NDK → Apply button.
Project and Gradle compiled fine after that and I was able to move on with my project work.
As far as why this is happening, I do not know but for more info on NDK check out: https://developer.android.com/ndk/
I will go back and enable these libraries but for now.
If you are using NDK >= 18 you have to update your android gradle plugin to >=3.1.x
See the Known Issues section:
https://android.googlesource.com/platform/ndk/+/ndk-release-r18/CHANGELOG.md
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With