There is probably an existing solution around it, the apiLevel option only allows specifying just one api level for the builds of all the cpu architectures.
If I specify apiLevel = 17 and add arm64 to my targets, build won't succeed 'cos NDK does not have anything for arm64 on apiLevel 17. On the other hand if I switch apiLevel = 21, the app crashes on devices running api 17 due to incompatible librust.so built with it.
There is probably an existing solution around it, the
apiLevel
option only allows specifying just one api level for the builds of all the cpu architectures.If I specify
apiLevel = 17
and addarm64
to my targets, build won't succeed 'cos NDK does not have anything for arm64 on apiLevel 17. On the other hand if I switchapiLevel = 21
, the app crashes on devices running api 17 due to incompatiblelibrust.so
built with it.