Issue in importing Oppia as a bazel project #5991
-
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 9 replies
-
|
Hi @ShankhanilSaha, I think this could be an issue with compatibility between Narwhal and the Bazel plugin. You can visit this page, and it will show you on the top right if they are compatible. I use |
Beta Was this translation helpful? Give feedback.
-
|
Hi @theMr17, are you farmiliar with this issue, or have any suggestions for a workaround? @ShankhanilSaha, I am tagging @theMr17 since he most recently set up the project on Windows. |
Beta Was this translation helpful? Give feedback.
-
|
Hi @adhiamboperes, i have successfully completed all setup processes both on my windows and linux installations. I observed a few things which were causing errors during the bazel build.
None of these seem like device specific except maybe the proxy one. |
Beta Was this translation helpful? Give feedback.
-
|
I am also having difficulty building the project, Could you please guide me on the correct toolchain configuration for building Oppia Android on Apple Silicon (M4)? also getting these, |
Beta Was this translation helpful? Give feedback.


Hi @ShankhanilSaha, it looks like you're trying to use the Bazel plugin in Android Studio running directly on Windows. However, as mentioned here, the Bazel plugin isn't supported on Windows.
To proceed, you'll need to set up Windows Subsystem for Linux (WSL) by following the instructions here.
Once WSL is installed, install Android Studio inside WSL using the steps outlined here.
After setting up Android Studio, follow these steps to install and configure Bazel within WSL.
Once everything is set up, you'll be able to import and work with the Bazel project in Android Studio just like before.
Please feel free to reach out here if you encounter any other issues!