conan-io / docs

conan.io reStructuredText documentation
http://docs.conan.io
MIT License
110 stars 361 forks source link

Improve Android cross-compile scenario by covering extra cases #3842

Open uilianries opened 1 month ago

uilianries commented 1 month ago

Greetings, this issue is a follow-up over #3351 and https://github.com/conan-io/conan-center-index/issues/24915

The current documentation https://docs.conan.io/2/examples/cross_build/android/ndk.html#examples-cross-build-android-ndk shows how to cross-compile to Android by using a NDK installed in the system in a very regular case using CMake. It works for the example, but when exploring other cases, like trying to build using autotools or not well prepared project, it may fail.

It would be nice updating the documentation by adding some hints, as cross-building is always a harder scenario and not always work at first try, being frustrating for users.

/cc @cjserio @neobrain

neobrain commented 1 month ago

Might be helpful to collect more packages here that don't compile with the recipe from the documentation: