1

I am getting this error messages after i update the studio and modify the design gradle version 28.0.0.

I don't know what is wrong. enter image description here

Help will be appreciated. Thanks

4
  • 1
    Try File->Invalidate caches and Restart to restart android studio Commented Sep 27, 2018 at 6:47
  • I tried but failed. Any other suggestions? Commented Sep 27, 2018 at 6:49
  • 2
    delete .gradle folder , build folder and resync project Commented Sep 27, 2018 at 6:49
  • You can also try to remove these @string references then sync gradle Commented Sep 27, 2018 at 6:51

3 Answers 3

3

This is a issue that occurs time to time. Here's how you fix it:-

  1. Clean Project (Build->Clean Project)
  2. Invalidate and restart (File-> Invalidate Caches / Restart)
  3. After restarting sync the project manually by clicking on the sync buttonThird button from the left

Third button from the left

Sign up to request clarification or add additional context in comments.

2 Comments

I tried every step you mention.And also delete the .idea folder and make the project and rebuild it. but nothing is helping me out.
Now rebuild the project. It that doesn't work then try restrating
0

First of all check your XML is there any error resolve that.

then

1.Build-> Clean Project. 2.Build-> Rebuild Project. 3. After that go to file menu -> Invalidate Caches/Restart. 4. File -> Sync Project with Gradle files.

Comments

0

Resolve the errors then try:

  • Build-Rebuild Project
  • Build-Clean Project
  • File-Sync Project with Gradle files (sync over the internet).

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.