If you used public.xml and ids.xml, you may need these tools.
After study, i found these two file can be generate from R.java. so i decide use perl to generate these two file. you must generate ids.xml first.
There is same key points whitch you need take care of.
1.the @+id must be replace with @id
2.style name should not contain "." ;
the tool you can download from the attachment by yourself.
I hope it can be help for you.
about the perl excute problem you should google it by yourself. can look info from here: perl relate