Android Studio: Gradle: error: cannot find symbol variable

后端 未结 8 547
Happy的楠姐
Happy的楠姐 2020-11-27 20:07

I was working on my app and everything was normal until I tried to display image in java.

I ran the app once and it ran normally, the picture was displayed. After th

8条回答
  •  爱一瞬间的悲伤
    2020-11-27 20:21

    Another alternative to @TouchBoarder's answer above is that you may also have two layout files with the same name but for different api versions. You should delete the older my_file.xml file

    my_file.xml
    my_file.xml(v21)
    

提交回复
热议问题