如何将一个.so lib目录中的IntelliJ IDEA的Android项目? [英] How to include a .so lib in Intellij IDEA for Android project?
问题描述
我有一个Android项目加载自定义的.so库。我有麻烦瓦特/ IntelliJ IDEA的,包括这个。所以作为构建的一部分。
I have an Android project that loads a custom .so lib. I'm having trouble w/ IntelliJ IDEA to include this .so as part of the build.
有谁知道在哪里可以配置的项目设置包括这个.so文件?
Does anyone know where to config the project settings to include this .so file?
感谢
更新:发现
在项目结构 - >模块 - > Android的 - >本机库目录
In Project Structure -> Modules -> Android -> Native libs directory.
我的项目是从另一个项目指的是一个。所以,这就是为什么路径需要在这里更新找到.so文件
My project is referring to a .so from another project, that's why the path needs to be updated here to find the .so file
推荐答案
解决方法:
在项目结构 - >模块 - > Android的 - >本机库目录
In Project Structure -> Modules -> Android -> Native libs directory.
我的项目是从另一个项目指的是一个。所以,这就是为什么路径需要在这里更新找到.so文件
My project is referring to a .so from another project, that's why the path needs to be updated here to find the .so file
这篇关于如何将一个.so lib目录中的IntelliJ IDEA的Android项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!