[英]Android depependency folder not found- Google glass
I have added external jars into libs folder, But they get added into android private libraries .In my build path I don't see them under android dependencies.they get added to android private libraries.Also I get an error once I close and open the properties window of my project.Please find snapshot. 我已经将外部jar添加到libs文件夹中,但是它们被添加到android私有库中。在我的构建路径中,我没有在android依赖项下看到它们。它们被添加到android私有库中。而且一旦我关闭并打开,我也会收到错误消息我项目的属性窗口。请找到快照。
I have tried cleaning my project and fixing my project properties.But that doesn't help. 我尝试清理项目并修复项目属性,但这无济于事。
Here is my project.properties 这是我的project.properties
target=Google Inc.:Glass Development Kit Preview:19
android.library.reference.1=../tess-two-master/tess-two
EDIT: This issue is specific to GDK preview.For a normal android project the below answers work perfect. 编辑:此问题特定于GDK预览。对于普通的android项目,以下答案很完美。 I am getting this issue only in Google glass projects .
我仅在Google Glass项目中遇到此问题 。
A good way to add external JARs to your Android project or any Java project is: 将外部JAR添加到您的Android项目或任何Java项目的一种好方法是:
By doing this, you will not lose your libraries that are being referenced on your hard drive whenever you transfer your project to another computer. 这样,您将项目转移到另一台计算机时,就不会丢失硬盘驱动器上正在引用的库。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.