Reputation: 4401
I need to make one project of 2 projects. I had copied all files from 1 to other, there was no problem. But the problem is generating R file as there a different packages.
Maybe i can some how make manifest of 2 projects that there would be both projects packages.
Please correct me if on my question as i don't know how to ask this. Basically i want to make 2 manifest in one.
Thanks.
Upvotes: 0
Views: 116
Reputation: 2425
I am not sure, maybe you have to change the package name of two projects to the same one, then clear your project and then you will get just one R.java
There are something you have to pay attention. The package name in two "AndroidManifest.xml" file also need to be change. And you maybe want to merger two "AndroidManifest.xml" file into one and just let one of activity as MAIN.
Good luck.
Upvotes: 0
Reputation: 68167
Convert one of your project into Android Library and use that library in your second project to merge it together as one single project.
For more info, refer to refer to android's TicTacToe sample project
Upvotes: 1