Android: Including multiple Java Packages to Manifest

前端 未结 5 970
执笔经年
执笔经年 2020-12-05 04:22

The app I am developing has many activities organized into seven java packages. Originally I wrote all the coding and stuff for each group of activities in a java package as

5条回答
  •  佛祖请我去吃肉
    2020-12-05 05:16

    Check that the layout -> main.xml file is correct and includes the android:id="@+id/whateverIdHasCausedYouTheError"

    The R.java file will then be updated to include the id.. and bam, your error should disappear.

提交回复
热议问题