androidmacosandroid-studio

Android Studio Installation Error on MacBook M1 Pro: java.nio.file.AccessDeniedException


I am trying to install Android Studio on my MacBook M1 Pro. I downloaded the 'Giraffe' version of Android Studio and successfully executed the .dmg file to place it in the Applications folder. However, when I try to launch Android Studio from the Applications folder, I encounter the following error:enter image description here

Has anyone experienced this issue or know how to resolve it? Detailed explanations would be greatly appreciated. Thank you!


Solution

  • I ran into the same issue when i first installed it, try typing this into the terminal

    sudo /Applications/Android\ Studio.app/Contents/MacOS/studio

    It worked when I ran the progam as a super user.