[英]error in libs folder - android
I was working on my app, editing and coding some xml and layouts when suddenly I got an error on my libs folder. 我正在开发我的应用程序时,突然在libs文件夹中出现错误时,编辑和编码了一些xml和布局。 It's very weird because I haven't actually modified or changed any base classes or something.
这很奇怪,因为我实际上没有修改或更改任何基类或其他东西。 Moreover, I just noticed I lost also my R.java file and all of the references are gone.
而且,我只是注意到我也丢失了R.java文件,所有引用都消失了。
What possibly can be the problem? 可能是什么问题? I tried to clean+build the project but it didn't work.
我试图清理+建立该项目,但没有成功。 Here is a screenshot of my eclipse: http://i.gyazo.com/959040321d1fd6d00ee0b9a90133aa9c.png
这是我的日食的屏幕截图: http : //i.gyazo.com/959040321d1fd6d00ee0b9a90133aa9c.png
Place the jar in the root folder of your project. 将jar放在项目的根文件夹中。 Then you can add it to your classpath .
然后,您可以将其添加到您的classpath中。 (you cannot place a jar and access it using android.R) You can add the jars to your build path by right clicking on your project->properties and going to Build Path.
(您不能放置一个jar并使用android.R访问它)您可以通过右键单击project-> properties并转到Build Path来将jar添加到构建路径。 Then you can add an external jar
然后您可以添加一个外部罐子
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.