how to make 2 package in the same project and each package has R.java thx to help me
If you are using eclipse IDE for android and creates new package, It will generate the R.java file automatically in that package in gen folder. But if you are not using eclipse then you can create R.java file as you have created previously for that package.