For compatibility with the maximum number of Android devices, it may be desirable to specify a lower API level for certain targets. While 64-bit JNI requires a minimum API level of 21, 32-bit JNI can be used with older API levels. My team's project uses this method to get the benefits of 64-bit performance on newer devices while also supporting older 32-bit phones.
For compatibility with the maximum number of Android devices, it may be desirable to specify a lower API level for certain targets. While 64-bit JNI requires a minimum API level of 21, 32-bit JNI can be used with older API levels. My team's project uses this method to get the benefits of 64-bit performance on newer devices while also supporting older 32-bit phones.