简体   繁体   中英

package R does not exist…or does it?

These errors are displayed in random order:

error: package com.*.* does not exist

error: package R does not exist

These errors will not always be displayed, but will occasionally be displayed and should be to run again to be fixed.

  • option 1: You just clean and rebuild project
  • option 2: File -> invalidate catches and restart

If those things does not work, just check your log errors carefully, You did a simple mistake in your layout designs or java classes or somewhere else.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM