在android studio中使用inpaint C ++库 [英] Use inpaint C++ library in android studio
问题描述
我在android studio中使用了库,这些库在gradle中编译,并且提供了一些步骤。
但是现在我想要一个C ++库,这是一个inpaint库,我该如何使用它我的android工作室项目。
GitHub - cheind / inpaint :: pencil2:Inpaint是一个提供图像修复算法的C ++库 [ ^ ]
这是可以用android studio实现的库。
我尝试了什么:
试图了解如何实现c ++库,但不知道我是android studio中的初学者,对c ++知之甚少。
是的,Android Studio也支持本机开发和本机库。但是,为了在您自己的Java应用程序(或Kotlin)中使用本机库,您需要编写一个处理Java和C ++之间通信的本机接口。
将Gradle链接到您的本地库  |  Android开发者 [ ^
I have used libraries in android studio which gets compiled in gradle and some steps are provided with it.
But now i want a C++ library which is a inpaint library ,how do i use this with my android studio project.
GitHub - cheind/inpaint: :pencil2: Inpaint is a C++ library providing image inpainting algorithms[^]
this is the library is it possible to implement with android studio.
What I have tried:
trying to understand how library of c++ will be implemented but no clue as i am beginner in android studio and have less knowledge on c++.
Yes, Android Studio supports native development and native libraries too. However, in order to utilize the native library in your own Java application (or Kotlin), you would need to write a native interface that handles the communication between Java and C++.
Link Gradle to your native library | Android Developers[^]
这篇关于在android studio中使用inpaint C ++库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!