build shared-mime-info for Android

step1、install build tools Android NDKversion >= r19) and ndk-pkg

step2、update ndk-pkg-formula-repository

ndk-pkg update

step3、build and install shared-mime-info

ndk-pkg install shared-mime-info
additional steps

view the preset formula of shared-mime-info⤵︎

ndk-pkg formula view shared-mime-info
{{ formula }}

if the preset formula of shared-mime-info dosn't meet your needs, you can edit the preset formula of shared-mime-info, then build it ⤵︎

ndk-pkg formula edit shared-mime-info