Hello i am using tutorial downloaded from here . The problem is R.java is given com.example.android.merge
package instead of gen folder and there is error on R. I have tried to put in gen folder but still ther开发者_如何学运维e is error .How can i remove it . Thanks
Delete the R.java that you have and then clean and rebuild it again... so that you will be able to generate the R.java again in the gen folder... Hope this could solve your problem...
Remove both the non-generated and generated R classes. Make sure you select a project build target in the android window of project properties. Fix project properties by right-clicking the project and selecting "Fix Project Properties" in "Android Tools". Finally, Clean the project by selecting "Clean..." from the "Project" menu.
精彩评论