After update android Studio and gradle to 3.5 I have this error:
NDK Resolution Outcome: Project settings: Gradle model version=5.4.1, NDK version is UNKNOWN
I changed gradle version from build-gradle to 3.4.2 but it's doesn't useful
After update android Studio and gradle to 3.5 I have this error:
NDK Resolution Outcome: Project settings: Gradle model version=5.4.1, NDK version is UNKNOWN
I changed gradle version from build-gradle to 3.4.2 but it's doesn't useful
I migrate to AndroidX and the problem was fixed |:
Refactor - migrate to AndroidX
I was having same issue after upgrading my android studio. You just need to open local.properties & change ndk.dir path to your NDK path.
Code:
ndk.dir=D:\Android\SDK\ndk-bundle
sdk.dir=D:\Android\SDK
You can download NDK from File>Project Structur>Choosing SDK location from left panel and pressing Download from NDK location part.