用到so庫,同時編譯多個so庫,順便做個記錄,主要目錄結構
1.CMake文件
2.CMake子目錄
3.build.gradle相關NDK配置
針對問題:
Error:Execution failed for task ':app:transformNativeLibsWithMergeJniLibsForDebug'.
->More than one file was found with OS independent path 'lib/x86/libnative-three.so'
解決方式,build.gradle配置: