Unable to run Oppia Android locally due to Bazel build setup issues #6240
-
|
Hello Oppia Android Team, I am a new contributor currently working on PR #6204 I am writing to seek guidance regarding a runtime issue Current Status of My Setup:
Issue Being Faced:
Environment Details:
My Queries:
I would greatly appreciate any guidance or Thank you for your time and support. Best regards, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
|
Hi @akkicodes-dev. As explained in https://github.com/oppia/oppia-android/wiki/Installing-Oppia-Android and https://github.com/oppia/oppia-android/wiki/Bazel-User-Guide, the target that should be used is either Where did you find instructions for trying to install As for the app starting, I'm not actually sure how you'd be starting the app if you aren't installing the correct top-level target. A video would be helpful along with logcat error logs, otherwise we'd probably just be guessing at what's going wrong. |
Beta Was this translation helpful? Give feedback.
-
|
Hi @BenHenning, Thank you for the clarification! I found the I will now try using Thanks again for pointing me in the right direction! |
Beta Was this translation helpful? Give feedback.
-
|
Hi @BenHenning and @adhiamboperes, Thank you for the guidance! I followed the official wiki and used the correct targets:
]The app is now successfully installed and launching on my device. The issue is now resolved. The earlier confusion was due to incorrect instructions from a third-party blog post. I will strictly follow the official wiki going forward. Thank you both for your time and support! Best regards, |
Beta Was this translation helpful? Give feedback.
Hi @akkicodes-dev.
As explained in https://github.com/oppia/oppia-android/wiki/Installing-Oppia-Android and https://github.com/oppia/oppia-android/wiki/Bazel-User-Guide, the target that should be used is either
//:oppia_devor//:oppia_dev_binarydepending on your device's SDK version.//app:appis anandroid_librarytarget, not a binary.Where did you find instructions for trying to install
//app:app? We definitely shouldn't have any documentation indicating that is an installable binary target since it isn't (and I think never has been).As for the app starting, I'm not actually sure how you'd be starting the app if you aren't installing the correct top-level target. A video would be he…