Cannot 'trust project' or 'synic' my gradle file in my android studio

1.9k Views Asked by At

I'm a student who just starting writing my own app this semester, and this issue came out a few days ago. Those pop out message from the application is unclickable. Not just in this project, but all projects.

nothing happened after clicking "Trust project"

I can't even create new project.

it never stop loading

1

There are 1 best solutions below

1
gricn On

It may be caused by a bug.

Check trusted-paths.xml to see if you have contained the project's parent folder to the setting and set the value to the false. If the entry is set to false, it means Android Studio doesn't trust this folder and all of the children folders. It won't work even you have trust the children folder.

The file path is:

~/Library/Application Support/Google/AndroidStudio<CHANGE_IT_TO_THE_REAL_VERSION>/options/trusted-paths.xml

As for now, this bug still exists in the latest version built on July 10 (2022.2.1 Patch2).