简体   繁体   English

Eclipse LogCat不可读 - OpenCV / Android NDK

[英]Eclipse LogCat unreadable - OpenCV / Android NDK

I'm pretty new to Eclipse and Android dev and only recently installed NDK and OpenCV and ever since I've been battling. 我是Eclipse和Android开发人员的新手,最近刚刚安装了NDK和OpenCV,自从我一直在努力。 Win8/Eclipse Juno/NDK R8D/OpenCV 2.4.4 Win8 / Eclipse Juno / NDK R8D / OpenCV 2.4.4

Project folder has this red exclamation mark but no files within are showing any errors. 项目文件夹有此红色感叹号,但其中没有文件显示任何错误。 CDT builds the app just fine! CDT构建应用程序就好了! Here's what LogCat gives me: 这是LogCat给我的东西:

Any clue? 任何线索? Cheers 干杯

EDIT: after I followed your advise I ended up with the following: 编辑:在我按照你的建议后,我最终得到以下内容:

Description Resource    Path    Location    Type
Project 'OpenCV Library - 2.4.4' is missing required library: 'C:\Program Files (x86)\Android\android-sdk\platforms\android-17\android.jar' OpenCV Library - 2.4.4      Build path  Build Path Problem
The container 'Android Dependencies' references non existing library 'C:\Android\android-opencv-2-4-4\sdk\java\bin\opencv library - 2.4.4.jar'  Test1       Build path  Build Path Problem

If the project folder is showing a red exclamation mark, try going to window > show view > problems and there may be a better description there of any problems. 如果项目文件夹显示红色感叹号,请尝试转到窗口>显示视图>问题,可能有更好的描述有任何问题。

The log above looks like a general log from your device. 上面的日志看起来像是设备的常规日志。 If you want to log from a specific running application, run the app on a device from eclipse and type app:com.yourpackagename in the text field above the LogCat output. 如果要从特定的正在运行的应用程序进行登录,请在eclipse上的设备上运行应用程序,并在LogCat输出上方的文本字段中键入app:com.yourpackagename。

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

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