“Cannot find symbol R” error after renaming package name

后端 未结 8 2557
深忆病人
深忆病人 2021-02-07 05:06

After renaming my project package name (with Refactor), I got this error:

Error:(7, 44) error: cannot find symbol class R

All of my R

8条回答
  •  眼角桃花
    2021-02-07 05:23

    if you rename your android manifest package you have to rename the "packages com.newname" sentence at the beginning of your class.

提交回复
热议问题