Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio Can't Open Existing Projects

I cant open any of my existing projects on android studio for some reason, I can create a new project but any time i try and open an exiting one it opens the file finder i click on the project and nothing happens.

Ive tried invalidating and clearing cache, uninstalling all plugin, deleting, re-downloading and re-installing but nothing seems to be working

Im running macOS Catalina 10.15 and Android Studio 3.4.2

Image

like image 754
Bolu Avatar asked Aug 05 '19 15:08

Bolu


2 Answers

See my answer at, IntelliJ IDEA can't open projects or add SDK on macOS Catalina, I think it also works for Android studio.

Mac OS, Mojave or Catalina, Exit Android studio first,

  • Apple menu  > System Preferences, click Security & Privacy, then click Privacy.
  • Click the lock, then enter your administrator password.
  • From the list of items on the left, select Full Disk Access.
  • Add Android studio(or other whatever app having this problem) to the apps allowed full-disk access by using the add button.

Lock and try again.

I hope this will help.

Ref from apple support of other things, but I tried, it works!

like image 53
oopsmails Avatar answered Oct 13 '22 22:10

oopsmails


https://intellij-support.jetbrains.com/hc/en-us/community/posts/360004341740-IDEA-2019-2-doesn-t-open-old-projects

Adding

-Dide.mac.file.chooser.native=false

to .vmoptions helps.

like image 40
ksc91u Avatar answered Oct 13 '22 22:10

ksc91u