Android Studio + Liquid Fun

1.8k Views Asked by At

I'm trying to setup Android Studio + LiquidFun. I follow a lot of tutorials like these:

But either isn't comprehensive or isn't work. I tried all, copy directly the files (C++) to my project, tried to import using NDK, tried to fix NDK with gradle, etc. But nothing works. I appreciate it too much if anyone could help me to solve my problem or to install Liquidfun properly.

Thanks.

3

There are 3 best solutions below

0
On

try this instead

build .so, copy to AndroidStudio Project's lib dir

last year,i was compiled successfully, use Old version NDK and Android SDK.(This is very painful)

i think need It needs to be adapted to the new Android SDK

In particular, build statements in.mk files or.py files , Because you're using the old version of the command line command

0
On

If you are going to use Java, you may want to try JLiquidFun, a derivative of LiquidFun with enriched Java bindings and pre-compiled native libraries.

0
On

Did you try following the instructions from here: https://google.github.io/liquidfun/Building/html/md__building_android.html

They seem clear enough. You need the NDK on your PATH for ndk-build to actually do anything.