如何在 Android NDK 中使用 Kotlin/Native 代码
我有 Kotlin/Native+C 库代码,我想将其作为 Android 和 Linux 应用程序的一部分。
我希望Kotlin/Native能够在android上轻松复用。但找不到任何方法来使用它,除了构建 .so 库并通过 JNI 调用它。 但在这种情况下,Kotlin/Native 就没用了,我可以通过 JNI 使用 C 库。 我是不是错了,错过了什么?
I have Kotlin/Native+C librarrie(s) code, that i want to as a part of Android and Linux app.
I hoped that Kotlin/Native can be easily reused on android. But couldn't find any way to use it, except build .so library and call it via JNI.
But in such case Kotlin/Native is uselless, and i can use C libraries via JNI.
Is i'm wrong and miss something?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论