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.

[android_ndk_installer] android_ndk_installer: Invalid configuration: only libc++ standard library is supported

See original GitHub issue

Package and Environment Details (include every applicable attribute)

  • Package Name/Version: android_ndk_installer
  • Operating System+version: ubuntu 18
  • Compiler+version: gcc
  • Conan version: conan 1.22.2
  • Python version: Python 3.7

Conan profile (output of conan profile show default or conan profile show <profile> if custom profile is in use)

include(default)

[settings]
os=Android
os.api_level=21
compiler=clang
compiler.version=8
arch=armv7

[build_requires]
android_ndk_installer/r20@bincrafters/stable

Steps to reproduce (Include if Applicable)

git clone https://github.com/ezored/ezored.git
cd ezored
python make.py target android_aar conan
python make.py target android_aar build
python make.py target android_aar package

Logs (Include/Attach if Applicable)

Full log is here: https://github.com/ezored/ezored/runs/471493458?check_suite_focus=true

Click to expand log
Downloading conanmanifest.txt
Downloading conanfile.py
Downloading conan_export.tgz
android_ndk_installer/r20@bincrafters/stable: Downloaded recipe revision 0
ERROR: android_ndk_installer/r20@bincrafters/stable: Invalid configuration: only libc++ standard library is supported
COMMAND: conan install /home/runner/work/ezored/ezored/files/targets/android_aar/conan/recipe/conanfile.py --profile ezored_android_aar_profile -s arch=armv7 -s os.api_level=16 -s build_type=Debug --build=missing --update
WORKING DIR: /home/runner/work/ezored/ezored/build/android_aar/Debug/armv7/conan
[ERROR] Command execution has failed
##[error]Process completed with exit code 10.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
ericLemanissiercommented, Feb 27, 2020

Once again, this is not the good repo for issues on bincrafters recipes.Please close this issue, and report this on https://github.com/bincrafters/community/issues/ Regarding your problem, you need to set conan setting compiler.libcxx to libc++

0reactions
paulocoutinhoxcommented, Feb 27, 2020

But you solution works. Only to know. Thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

C++ library support - NDK - Android Developers
LLVM's libc++ is the C++ standard library that has been used by the Android OS since Lollipop, and as of NDK r18 is...
Read more >
Using - “libc++” C++ Standard Library - LLVM
This page contains information about configuration knobs that can be used by users when they know libc++ is used by their toolchain, and...
Read more >
Support gnustl for Android · Issue #1252 - GitHub
The only officially supported libraries from now on are libc++_shared.so and libc++_static.a . Per default the standalone android compiler ...
Read more >
Configuring and compiling (The GNU C Library)
This option tells configure where you want the GNU C Library installed. This defaults to /usr/local , but the normal setting to install...
Read more >
C Standard Library · The Julia Language - MIT
See warning in the documentation for free regarding only using this on memory originally obtained from malloc . source. Base.Libc.free — Function. free(addr:: ......
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