skip to Main Content

I have read and tried many solutions offered :
Clean, rebuild, invalidate cache and restart android studio, downgrading Gradle from 8.0 to 7.2

I have checked that I properly import the R import com.example.klinikkitadokter.R; but the R is red
enter image description here

and after Downgrading gradle to 7.2 and try to clean rebuild again, it does not work. just does not works

There is a bottom windows that pops up like this
enter image description here
and that’s it, nothing working after that window popups

Checking xml is now very hard since design editor is not working anymore before I successfully sync the project, which I if I try to sync the same bottom windows from above just popups and nothing.

Desgin Editor not working

nothing works for me. is there any other solution for this?

2

Answers


  1. Looks like compatibility issue with Gradle version and Java version you are using.

    Did you tried to change Java version you use inside Android Studio.

    You provided very limited info but this is my first thought.

    Login or Signup to reply.
  2. Check the app package name in java files, app package name in the manifest, the names of the folders in the folder tree, the applicationId and the namespace in the gradle.build of the app. USUALLY all of these must be the same.
    EDIT 1: check that the folder layout is not Excluded

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search