简体   繁体   中英

Error in Eclipse Android R.java file in appcompat

I start to learn Android Programming but i have one problem that i'm not solving. I install eclipse and SDK Manager, i install Platform, build-tol and all necessary, but when i create one project all line of code have an error, and in the project auto-generated appcompat_v7 in R.java file. I Also reinstall eclipse and the SDK and the necessary tools but i have the error too...

在此处输入图片说明

在此处输入图片说明

How cna i solve this problem? Thank you!

For R.java Errors do one of the following: 1- Right-click on the project then Refresh 2- Select Project → Clean. Eclipse will rebuild the project from scratch, which often results in an error-free build. 3- Select Window → Run Android Lint. This can often pull the pieces of your project together. 4- Delete your gen directory and when Eclipse rebuilds, it will create a new gen directory with a fully-functional R class.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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