Android packages are ignored when using manifest mode #24247
-
I was trying to install android libraries using vcpkg manifest, but they are simply skipped for some reason. I am lost, pls tell me what I am doing wrong. This is my manifest:
I am running this command: This is the output: These are the resulting folders: It works if I do What am I missing? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You have to specify the target triplet, the default one is You don't need |
Beta Was this translation helpful? Give feedback.
You have to specify the target triplet, the default one is
x86-windows
. So you have to runvcpkg\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.