FacePlusPlus / MegviiFacepp-Android-SDK

An android wrapper of MegviiFacepp SDK (the mobile SDK).
Apache License 2.0
234 stars 75 forks source link

最后出现如下报错,不知道怎么解决了 #33

Closed imaginefish closed 6 years ago

imaginefish commented 7 years ago

Error:Execution failed for task ':sdk:transformNativeLibsWithMergeJniLibsForDebug'.

More than one file was found with OS independent path 'lib/armeabi-v7a/libMegviiFacepp-jni-0.4.7.so'

jionkang commented 7 years ago

应该是ndk版本的问题,升级下版本试下

jionkang commented 6 years ago

When I update to android studio 3.0.I meet this problem,first delete the jni.so ,then modify cmake, to hide this line #set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${jnilibs}/${ANDROID_ABI}). That will be OK!