English 中文(简体)
Anders NDK - “Library not found” calls System.loadLibrary [los]
原标题:Android NDK - "Library not found" calling System.loadLibrary [closed]

我成功地把使用丁克-布勒德的一家本土共享图书馆连接在一起。 为了测试国家情报和安全局的电话,我有一小小小 app,仅指图书馆的一个功能。 我使用Eclipse进行操作。

在Windows和Cygwin的一台个人电脑上,图书馆被装满,电话接连。 在位于乌班图的另一个常设仲裁法院,同一套照相机无法使用。

鉴于《常设仲裁法院规约》第一版的运行情况,两者之间唯一的差别涉及“临时工作空间”、“联络处”的搜索路径环境等。

不幸的是,在整体上我没有太多的经验,因此可能只是为共用图书馆开辟一条搜索道路。

我的图书馆当然在那里。 它在校准/阿尔梅比,在乌里什/当地/阿梅比也是如此(简而言之,它知道为什么,而且有趣的是,它在那里的规模更大),而且它出现在APK的档案中。

谁能给我一个 h? 这将是非常受欢迎的。

P.S.,我还要补充,在Windows PC(在它发挥作用的地方)上,我对Eclipse项目进行了修改,如将其转换成一个混合的Jave/C++项目,并配置该项目,从Eclipse内部建造土著图书馆。 我不知道这些项目环境是否会伤害乌兰巴托的环境;只是想补充这些信息。 不管怎样,我还是把这张照片做成安文(而不是C++)。


最初是使用HelloJNI样本进行分批处理,并运行。 我的“Eclipse”项目的设立必然存在一些根本错误。 因此,它以某种方式解决了:-

问题回答

LOCAL_LDLIBS :=-L$(SYSROOT)/usr/lib -llog 应当在Android.mk文档中缺失。 我在Android.mk的档案中尝试了这一尝试,并对我进行了罚款。





相关问题
Android - ListView fling gesture triggers context menu

I m relatively new to Android development. I m developing an app with a ListView. I ve followed the info in #1338475 and have my app recognizing the fling gesture, but after the gesture is complete, ...

AsyncTask and error handling on Android

I m converting my code from using Handler to AsyncTask. The latter is great at what it does - asynchronous updates and handling of results in the main UI thread. What s unclear to me is how to handle ...

Android intent filter for a particular file extension?

I want to be able to download a file with a particular extension from the net, and have it passed to my application to deal with it, but I haven t been able to figure out the intent filter. The ...

Android & Web: What is the equivalent style for the web?

I am quite impressed by the workflow I follow when developing Android applications: Define a layout in an xml file and then write all the code in a code-behind style. Is there an equivalent style for ...

TiledLayer equivalent in Android [duplicate]

To draw landscapes, backgrounds with patterns etc, we used TiledLayer in J2ME. Is there an android counterpart for that. Does android provide an option to set such tiled patterns in the layout XML?

Using Repo with Msysgit

When following the Android Open Source Project instructions on installing repo for use with Git, after running the repo init command, I run into this error: /c/Users/Andrew Rabon/bin/repo: line ...

Android "single top" launch mode and onNewIntent method

I read in the Android documentation that by setting my Activity s launchMode property to singleTop OR by adding the FLAG_ACTIVITY_SINGLE_TOP flag to my Intent, that calling startActivity(intent) would ...

From Web Development to Android Development

I have pretty good skills in PHP , Mysql and Javascript for a junior developer. If I wanted to try my hand as Android Development do you think I might find it tough ? Also what new languages would I ...

热门标签