I've got a strange problem with R Classes in Java Eclipse (There are two R Classes, one in com.nameProject e one in android.support-v7). Well, when I add an ImageButton to my project, apperently everything is alrigt, my project doesn't take over any errors. But when I export my project (I create APK), R Classes disappear from my project ON THEIR OWN! So, the exporting fails and my project hasn't got anymore R Classes and it is incorrect...How can I resolve this problem?
Asked
Active
Viewed 25 times
0
-
Exit eclipse ide and start it again. Then do clean and rebuild the project. – Ready Android Nov 23 '16 at 12:56
-
try to clean and rebuild the project, this should get the R classes regenerated. btw, ADT was announced dead by Google, consider switching to Android Studio – Basil Nov 23 '16 at 13:04
-
But why do R Classes disappear when I export my project after adding ImageButton? – Tosch Nov 23 '16 at 13:11
-
Because there is some error in some of your resource files. Either being a wrong syntax in an xml file or an invalid character in a file name. – Phantômaxx Nov 23 '16 at 15:15
-
Why doesn't my project show me these errors? – Tosch Nov 23 '16 at 19:55