How to create native library for apk

hi how do i package the two libraries the armeabi-v7a 32 bits and the 64-bits arm64-v8a in a single apk. I am using version 4.15 follows link from Google the new way to send Apk.
Until August 1, 2019, all apps that use native code will need to offer a 64-bit version, in addition to the 32-bit version, to be able to publish updates.

https://developer.android.com/distribute/best-practices/develop/64-bit#does_your_app_include_64-bit_libraries

https://developer.android.com/distribute/best-practices/develop/64-bit#look_for_native_libraries_using_apk_analyzer

https://developer.android.com/distribute/best-practices/develop/64-bit#look_for_native_libraries_by_unzipping_apks

Hello there!

For your problem, you can refer this link: Link Gradle to your native library  |  Android Studio  |  Android Developers