“Cannot Resolve Symbol” Error when using android:id=“@+android:id/my_id”

后端 未结 3 760
借酒劲吻你
借酒劲吻你 2021-02-18 23:11

When I am adding android:id/background to the namespace, Lint complains that it \"Cannot Resolve Symbol\" even though I am requesting to add it rather than call it. The code wor

3条回答
  •  北荒
    北荒 (楼主)
    2021-02-18 23:27

    Try to replace @+android:id by @+id and see if it works!

提交回复
热议问题