-
Notifications
You must be signed in to change notification settings - Fork 527
Frequent Errors and Solutions
- Dagger Unresolved reference
- Crashing layout tags in tablet
- Push failed
- Facing error while debugging code
Error: Unresolved reference DaggerXXTest_TestApplicationComponent
Solution: Don't worry this is not an error. Just run the test file and it will solve the error. For running tests, you can see Oppia Android Testing document.
Error: java.lang.IllegalArgumentException: The tag for topic_lessons_title is invalid. Received: layout-sw600dp-port/topic_lessons_title_0 Solutions: This error occurs when we remove any xml file which is related to tablet devices To solve this
- Uninstall the app from tablet
- Rebuild the app.
- Run the app again.
Error: Failed to push some refs to [email protected]:<your_user_name>/oppia-android.git
Solution: If you are using Android Studio or another UI-based git to push and got the above error, this might not provide many details. Try to push using the command line. Also, we suggest using the command line, as all our scripts, project building, APK building are done using the command line as we are moving towards the Bazel build system and removing the Gradle build system.
If there is an error with any of the lint failures it will be detailed in the command line itself.
If you are running into an error that you cannot debug, follow the guidelines outlined on this wiki page.
Have an idea for how to improve the wiki? Please help make our documentation better by following our instructions for contributing to the wiki.
Core documentation
Developing Oppia
- Contributing to Oppia Android
- Bazel
- Key Workflows
- Testing
- Developing Skills
- Frequent Errors and Solutions
- RTL Guidelines
- Working on UI
- Writing Design Docs
Developer Reference
- Code style
- Background Processing
- Dark mode
- Buf Guide
- Firebase Console Guide
- Platform Parameters & Feature Flags
- Work Manager
- Dependency Injection with Dagger
- Revert & regression policy
- Upgrading target SDK version
- Spotlight Guide
- Triaging Process
- Bazel
- Internationalization
- Terminology in Oppia
- Past Events