question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

the dreaded NDK version is UNKNOWN

See original GitHub issue

Hi,

Apologies if this is too generic and/or ignorant, but both my clones in the latest OSX and Windows Android Studio would fail at syncing with the

NDK Resolution Outcome: Project settings: Gradle model version=5.6.2, NDK version is UNKNOWN

This failure persisted after setting the NDK path under Project Structure, in Windows there is a “Download” button to get the NDK, in MacOS I pointed to a manually unpacked NDK.

The “sync” and eventually the build completed successfully after closing the projects on both platforms and clicking Import Project, which revealed that the UKNOWN message is still in the log, but somehow not the showstopper that it was before the import, no clue what is happening there. I am also confused why Android Studio does not automagically fetch and configure an NDK when required in a project, is it possible that KaMPKit is using an antipattern here, or hitting a Google bug (I saw there is an open issue in Google’s Issue Tracker)?

Thanks!

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
CodeWithDinocommented, Feb 14, 2020

Could you please explain clearly, Iam getting same issue here. Tell me where i need to modify the code…

In the android studio, while you import the project, try to use “Import project” option instead of “Open an existing project”.

0reactions
samhill303commented, Mar 10, 2020

Glad you got it working. We also ended up removing the idea folder from the sample forcing it to create a new one. A little heavy handed but hopefully people shouldn’t see this in the future

Read more comments on GitHub >

github_iconTop Results From Across the Web

NDK Resolution Outcome: Project settings: Gradle model ...
NDK Resolution Outcome: Project settings: Gradle model version=5.4.1, NDK version is UNKNOWN error · What version is your NDK? How was it ...
Read more >
Install and configure the NDK and CMake - Android Developers
Configure a specific version of CMake. Install a specific version of the NDK; Configure specific versions of the NDK in your project. Default...
Read more >
Project settings: Gradle model version=5.4.1, NDK version is ...
Hi i have problem with android studio project, until yesterday was worked. But i think when i execute gradle update make this issue....
Read more >
Notes on steps I took to successfully get a 64-bit APK ...
It will ask you for NDK location, either put the path in local.properties or click Project Structure and select the NDK location. i.e....
Read more >
Project settings: Gradle model version=5.4.1, NDK version is ...
NDK Resolution Outcome: Project settings: Gradle model version=5.4.1, NDK version is UNKNOWN. 49
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found