将AppCompat v7导入Eclipse后,无法获取R.java文件生成 [英] Cannot get an R.java file to generate after importing AppCompat v7 into Eclipse

查看:236
本文介绍了将AppCompat v7导入Eclipse后,无法获取R.java文件生成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经磨了几个小时了。我似乎根据谷歌和其他答案做同样的问题,但我仍然没有在我的项目中的R.java文件。我似乎没有任何资源的任何错误。




< img src =https://i.stack.imgur.com/h92w6.pngalt =appcompat五视图>



一旦我删除库在我的项目中引用,R文件再次生成。项目中的错误只是由于缺少R.java文件。

解决方案

我能够解决这个问题更新我的构建工具...........


I have been grinding at this for hours on end. I seem to do everything right according to google and other answers to this same question, yet I still get no R.java file in my project. I appear to not have any errors in any of my resources.

as soon as I remove the library reference in my project, the R file is generated again. The errors in the project are simply due to the lack of an R.java file.

解决方案

I was able to fix this by updating my build-tools...........

这篇关于将AppCompat v7导入Eclipse后,无法获取R.java文件生成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆