Skip to content

Android packages are ignored when using manifest mode #24247

Answered by autoantwort
ASPushkin80lvl asked this question in Q&A
Discussion options

You must be logged in to vote

You have to specify the target triplet, the default one is x86-windows. So you have to run
vcpkg\vcpkg.exe install --triplet=x86-android "--clean-after-build" "--x-install-root=.\vcpkg\installed" "--binarysource=clear;interactive;nuget,VCPkg"

You don't need "platform": "(x86 & android) | (x86 & windows)". It means "I only depend on this library if I build for (x86 & android) | (x86 & windows)". So if you select x64-windows as your target triplet, it won't be installed.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ASPushkin80lvl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants