简体   繁体   English

“ gdx”库位于哪里?

[英]Where is the “gdx” library located?

I am trying to figure out where is this gdx.so file's location (it is native code, so I guess it should end with .so, but I am not sure). 我试图弄清楚这个gdx.so文件的位置在哪里(它是本机代码,所以我想它应该以.so结尾,但我不确定)。

1个

As you can see from the screenshot, there is a libgdx.so file, but I don't understand how does System.loadLibrary("gdx"); 从屏幕快照中可以看到,有一个libgdx.so文件,但我不了解System.loadLibrary("gdx"); work. 工作。 I can't find any file with that name. 我找不到具有该名称的任何文件。

So, my question is, where is that gdx located ? 因此,我的问题是,该gdx位于哪里? or how does this line work ? 或这条线是如何工作的?

I found that when calling System.loadLibrary("mylib"); 我发现在调用System.loadLibrary("mylib"); the string mylib is automatically converted into libmylib.so . 字符串mylib将自动转换为libmylib.so So this is how it actually works. 这就是它实际的工作方式。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM