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.

Buck does not support Android NDK r11b ("Failed to read version")

See original GitHub issue

When running a buck clean I get the message BUILD FAILED: Failed to read NDK version from followed by the actual path to the NDK. This doesn’t happen with r10e or r10d, only with r11b.

There’s also the year-old issue #306 bug that cripples Android NDK r10e too.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:18 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
flopexcommented, Apr 5, 2016

@winterDroid Actually the built in way of specifying the gcc-version is through the .buckconfig file in the project

[ndk]
    gcc_version = 4.9

The default is in https://github.com/facebook/buck/blob/master/src/com/facebook/buck/android/NdkCxxPlatforms.java#L81

2reactions
flopexcommented, Apr 3, 2016

@winterDroid I worked around that by ln -s arm-linux-androideabi-4.9 arm-linux-androideabi-4.8 as I couldn’t find where it specifies to use 4.8

Read more comments on GitHub >

github_iconTop Results From Across the Web

buck fails to include SLES/OpenSLES.h with the android-ndk ...
fatal error: SLES/OpenSLES.h: No such file or directory #include ... Buck does not support Android NDK r11b ("Failed to read version") #701.
Read more >
facebook buck & NDK issues - android - Stack Overflow
Well, wenn i try to run buck --version it already gives me this output. BUILD FAILED: Failed to read NDK version from /Users/mlostek/Library/ ......
Read more >
NDK Downloads | Android NDK - Android Developers
Select the NDK package for your development platform. ... You can download older unsupported versions of the NDK from the Unsupported NDK ......
Read more >
Common problems and solutions | Android NDK
This document is a partial list of the most commonly encountered non-bugs you might encounter when using the NDK, and their solutions (if ......
Read more >
NDK Revision History | Android NDK - Android Developers
To download the latest stable version of the NDK or any currently available beta version, ... Downloads for this release are available here....
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