Reputation: 143
I am new to Mac OS and hence struggling to install git in android studio. Firstly i tried clicking download and install on the popup shown in android studio
After i do this error shows up
Failed to start Git process: Cannot run program "/usr/local/bin/git" (in directory "."): error=86, Bad CPU type in executable
And terminal , when i checked git --version . it shows up version and which git command gives this location of git
/usr/local/bin/git
but i cant see the git folder anywhere in finder. Now , in android studio settings when i test git giving this path it shows the same error.
i tried to install homebrew . But it gives me error too after 28 seconds - Operation timed out.
What is the solution for this?
Upvotes: -1
Views: 301
Reputation: 143
The issue was happening due to incompatability of apps within intel and M2 .Installing rosetta solved the issues.
Upvotes: 0