Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Converting android ndk build files to gradle

Is there any documentation on converting a application.mk/android.mk file to a gradle based build.gradle file?

like image 608
pka Avatar asked Dec 10 '25 00:12

pka


1 Answers

good links, QArea. Thanks a lot!

At this moment NDK support in Gradle are very limited. If you need to assemble something that gradle not provides that function I do like this. I collect the old-fashioned, but to .so-patches automatically picks up the Gradle-plugin: ndk-build -j4 NDK_LIBS_OUT=src/main/jniLibs

Otherwise, you must wait for next version of gradle 0.13. Devs promise that NDK will fix integration with NDK.

like image 188
DMan Avatar answered Dec 13 '25 02:12

DMan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!