I changed the package name in my manifest file. It automatically changed the target package for the generated files.
Now Eclipse doesn't create the R file.
What could be the problem?
EDIT: I am wondering if this could hacve anything to do with the fact that there also a library project invovled. Originally this project and the library project shared the same package name. In that case everything worked perfectly. Now that I changed the package name in the non-library project it stops working and no R file is built.
Edit 2: BLAH.
Finally discovered what the problem was. It was my custom elements in the library that were causing the problems. Up to now the package name of the application in the library and the one in the application were the same so it had no problem. Once I changed the one in the application it could no longer recognise the namespaces. I now have to replace them all with res-auto: Help with a custom View attributes inside a Android Library Project
The most annoying thing si that when you build a new layout inside a library it will tell you that you must use res-auto. However, when you convert a previously existing application into a library it doesn't.
I now have A LOT of work ahead of me.