30

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.

Pratik Butani
  • 60,504
  • 58
  • 273
  • 437
Alberto Alegria
  • 1,023
  • 10
  • 26
  • 2
    A comprehensive answer and/or link to such answer is needed. – Krupal Shah Aug 30 '16 at 15:48
  • 2
    Could you elaborate your question detail. ? Did you follow the tutorial [here](https://google.github.io/liquidfun/Building/html/md__building_android.html) for building ? If you are getting stuck at someplace providing the stacktrace or log would be great. – Ashik Vetrivelu Aug 31 '16 at 06:25

3 Answers3

1

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.

EntangledLoops
  • 1,951
  • 1
  • 23
  • 36
1

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.

Marco
  • 479
  • 4
  • 10
1

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

Franklin
  • 29
  • 1