Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio + Liquid Fun

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

  • http://www.shaneenishry.com/blog/2014/08/17/ndk-with-android-studio/
  • http://tools.android.com/tech-docs/android-ndk-preview

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.

like image 283
Alberto Alegria Avatar asked Dec 23 '15 07:12

Alberto Alegria


3 Answers

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.

like image 175
EntangledLoops Avatar answered Oct 20 '22 18:10

EntangledLoops


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.

like image 1
Marco Avatar answered Oct 20 '22 16:10

Marco


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

like image 1
Franklin Avatar answered Oct 20 '22 17:10

Franklin