Skip to content

Gradle Build Failure in Mac M1 #4842

Discussion options

You must be logged in to vote

Hi @ihharsh, this typically happens if you skip the "Open using Rosetta" part of set up instructions to run bash scripts/setup.sh.

Here is how to go about it:

  1. In the Finder app in your Mac, locate the Applications folder.
  2. Right-click on your Terminal app and create a duplicate Terminal (and rename it accordingly, say Terminal Rosetta, to avoid confusion).
  3. On the newly created Terminal Rosetta, right-click and select "Get info", and check the option "Open using Rosetta".
  4. Open Terminal Rosetta and navigate to opensource/oppia-android/.
  5. Finally, run bash scripts/setup.sh in this Terminal and all the required files should be generated. (You should see the message that "Added protobuf platfor…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@adhiamboperes
Comment options

Answer selected by MohitGupta121
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants