Just started on this new existing project.
When i tried to add a new activity, or add new dependency, the whole project seems to loose all the dependencies. When i tried to run it says i need to select Android SDK.

I have tried everything, Sync project with gradle files, invalidate caches, even reinstalling AS. Deleted .gradle dir, deleted android sdk, everything related the AS has been removed and reinstalled and still got the problem.

[Image](https://i.stack.imgur.com/TXT1o.png)